You are writing an algorithm and want to tell the computer what to do if the
user does not perform an action. Which type of statement should you include
in your algorithm?
A. Return
B. When-if
C. If-else
D. And-or

Answers

Answer 1

Answer:

you are writing an algorithm and went to tell computer what to do If the return

Answer 2

The type of statement, i.e., if-else should be include in your algorithm. The correct option is C.

What is if-else statement?

An "if-else" statement is a conditional statement that determines whether a particular condition is true or false and then executes different code based on the outcome of that evaluation.

An "if-else" statement could be used in the context of a user action to check whether the user has performed a specific action and then execute different code depending on whether the user has performed that action or not.

To exit a function and return a value to the calling code, use a "return" statement. A "when-if" statement and a "and-or" statement are not standard programming constructs and are rarely used in code.

Thus, the correct option is C.

For more details regarding algorithm, visit:

https://brainly.com/question/22984934

#SPJ7


Related Questions

difine the term pigment​

Answers

Explanation:

pigment is material which give color to skin

Answer:

a substance occurring in plant or animal tissue and producing a characteristic colour, such as chlorophyll in green plants and haemoglobin in red blood. any substance used to impart colour.

Explanation:

Sean wants to create a backup of the information on his computer. He wants to create this backup in a media that is portable, has high transfer speed, a life span of at least 10 years, and is not sensitive to magnets. Which storage media should he use?
A. hard disk
B. CD
C. Blu-ray
D. USB drive

Answers

Honestly a CD might work. It’s not attracted to magnets.

What are some options available on the Table Tools Design tab? Check all that apply.

applying themes
identifying formula errors
adding header or footer page numbers
selecting a printer
exporting and refreshing data
looking for duplicate data

Answers

Answer:

a,e,f

Explanation:

got it right on edge

A(n) _____ is an organization's management support system that combines many databases to improve management decision making.

Answers

An organization's management support system that combines many databases to improve management decision making is; Data warehouse

What is Data Warehouse?

A data warehouse is defined as a management support system that combines many databases across a whole company into one central database that supports management decision-making.

Using a data warehouse system, managers can easily access and share data across the enterprise to get a broad overview rather than just isolated segments of information.

Read more about Data Warehouse at; https://brainly.com/question/25885448

You have two users who work on the same floor and belong to the same department. The organization has strict rules implemented for printer access. One of the users is unable to access the printer but has access to the Internet. What should you check on your switch

Answers

The thing that one should you check on your switch is the networking model.

What is a networking model?

The networking model is a term that tells one about the structure, parts, and design that are known to be used to set up a communication between a source and their destination.

Note that when you  check on your switch, the networking model, one can be able to know if it allows two users or not.

Learn more about printer from

https://brainly.com/question/14879865

#SJ1

Define an array to be a Mercurial array if a 3 does not occur between any two 1s. Write a function named isMercurial that returns 1 if its array argument is a Mercurial array, otherwise it returns 0

Answers

The Mercurial array program is an illustration of arrays, loops and conditional statements

How to write the program?

The program written in Python, where comments are used to explain each action is as follows:

#This defines the function

def checkMercurialarray(myarr):

   #This checks if the array contains 3

   if myarr.count(3) > 0:

       #If yes, this checks if the elements before and after 3 is 1

       if myarr[myarr.index(3)- 1] == 1 and myarr[myarr.index(3)+ 1] == 1:

           #This returns 1 if true

           return "1"

   #This returns 0

   return "0"

Read more about Python programs at:

https://brainly.com/question/26497128

#SPJ1

Information technology student Roberta has been assigned a project on how to detect unwanted outgoing attacks. Which step is part of the process

Answers

The attacks from the malware and the viruses to the system are considered as the unwanted attacks. These attacks detection can be performed by ensuring whether the system responds to port 443 by initiating Apache.

What is the function of port 443?

The port 443 in the computer system is the virtual port that functions with the diversion of the network. The presence of the unwanted attack blocks the response of the port 443.

Therefore, to detect the attack, the response of the system to port 443 with the starting of Apache must be checked.

Learn more about port 443, here:

https://brainly.com/question/13140343

#SPJ1

How to unlock your iphone when you forgot the password?.

Answers

Answer:

go to customer service

Explanation:

When creating a server on a port that is already in use, ________. Group of answer choices the server is blocked until the port is available the server encounters a fatal error and must be terminated java.net.BindException occurs the server is created with no problems

Answers

Answer:

33.2 When creating a client on a server port that is already in use, _____. A. the client can connect to the server regardless of whether the port is in use

Explanation:

B. java.net.BindException occurs

How do we distinguish between remote and local information sources? Give an example of each source?
I'll give brainliest if answered right

Answers

Answer:

If you are referring to a Local Server, this means that you have a server setup on your current machine. When the server is Remote, this just means that it is on another computer.

Why is it important to continiously conduct penetration testing for a strong security system?.

Answers

Answer:

- Because even though your implementation may not change, new vulnerabilities in frameworks and libraries may be found that affect your security.

- If your implementation does change, there could be unwanted side effects on security.

- Operating system updates that happen behind your back could introduce new vulnerabilities.

Answer pls pls pls pls pls , am i correct or wrong ​

Answers

Im sure your right with it.

While some audio recording programs are expensive, there are more user friendly,
cheaper options such as Garageband.
True
False

Answers

Answer:

True.

Explanation:

GarageBand is free or has no cost, and it does many things unlike other recording programs that are very expensive and/or aren't that friendly.

I hope it helps! Have a great day!

pan~

Install two IP security cameras in the appropriate location to record which employees access the key infrastructure. The security cameras should operate over the TCP/IP network. Install the smart card key readers in the appropriate location to control access to key infrastructure. The key card readers should be contactless and record more information than the card's ID. Install a Restricted Access sign on the networking closet door to control access to the infrastructure. Install the visitor log on the lobby desk

Answers

The alarms generated by an IPS can be classified into 4 types: A false positive occurs when an IPS generates an alarm on normal user traffic

What is the full form of VHS?
VHS stands for ______?

Answers

Answer: Video Home System

Explanation: VHS, officially called the Video Home System, is a standard for consumer-level analog video recording on tape cassettes.

vhs stands for video home system

If one of the resistors is turned off (I.e. , a light bulb goes out), what happens to the other resistors (light bulbs) in the circuit? Do they remain on? (I.e., lit)?

Answers

Answer:

No, they don't remain on because If any of bulbs in a series circuit is turned off from its socket, then it is observed that the other bulbs immediately go out. In order for the devices in a series circuit to work, each device must work. If one goes out, they all go out.

Which term is used in object-oriented programming to reference characteristics of an object?

Answers

Explanation:

Object-oriented methodology relies on three characteristics that define object-oriented languages: encapsulation, polymorphism, and inheritance.

Where are the add level and delete level buttons located? filter options list sort

Answers

The add level and delete level buttons can be  located in Sort dialog box. Check below what Sort dialogue box is about.

What is the Sort dialog box ?

The Sort dialog box is known to be often called the Excel Ribbon. It is one where a person can be able to select any given sort order.

Conclusively, This is often done from A to Z, or from the Largest to Smallest items and as such, The add level and delete level buttons can be  located in Sort dialog box.

Learn more about  levels from

https://brainly.com/question/14524571

Your browser has blocked your from your crucial secure intranet sites. What could be the problem?.

Answers

A browser is a program that allows and provides the user access to information and web pages on the internet. It blocks someone when their SSL certificate status has been voided.

What is an SSL certificate?

An SSL (Secure Sockets Layer) certificate is a digital code and certificate present on the web that authenticates and provides security for communication. It is a security protocol that allows encrypted transmission.

The firewall supervisor sets the rule to block or allow the users to connect to Crucial Secure Intranet Sites based on their SSL certificates. SSL certificate if gets revoked then does not allow users to reach the site and declares it to be a potential risk.

Therefore, the browser is not reachable when the SSL certificate gets expired.

Learn more about SSL certificates here:

https://brainly.com/question/24276018

#SPJ1

_____ is an application programming interface that allows a Java program to interact with a wide range of data sources (relational databases, tabular data sources, spreadsheets, and text files).

Answers

Answer:

Java Database Connectivity

PLEASE HELP- WILL MARK BRAINEST

Answers

Answer:

Reordering slides --> drag the slide

adding slides --> ctrl +m

removeing slides --> pressing delete on slides

The physical perimeter that surrounds a set of IT resources that are owned and governed by an organization is called the _________________________________. A. Organizational Boundary B. Cloud Carrier C. Ubiquitous Access Layer D. Resource Cluster

Answers

Answer:

A

Explanation:

tThe organizational boundary represents the physical scope of IT tools

Write a method that makes the input string of sentences ending with and
combines them into a single sentence. The result should keep the final period.
For example,
runOnSentence("A sentence. That runs on.")
returns
"A sentence that runs on."

Answers

Had to send the code through a .txt since brainly doesn't support .py

Please tell me if you have any questions or if the code doesn't function correctly.

what is excel in ibca

Answers

Answer:

Excel is mostly used for data storage. It also more or less has its own programming language within it for automation of data transfer and storage. It's used in a grid layout or what you'd see as a sheet.

I have taken IBCA (Intro to Business Computer Applications) but I'm surprised that you're taking excel in IBCA, perhaps just the basics I'm assuming. Completing IBCA should get you Microsoft certifications in Word and BCA will get you certifications in Powerpoint and Excel. If you pass of course.

Sara wants to set up her lights to turn on when she arrives home. She has heard that she might be able to do this using IoT. What should Sara be concerned about when setting up her IoT lights

Answers

Sara should be concerned about security when setting up her loT lights.

What are loT lights?

loT light are otherwise called parking lot lights are outdoor lights that are placed on poles which are located on parking lots, pathways and driveways.

The loT light are used to provide bright light to the individuals so as to safely perform their various duties.

Therefore, Sara should be concerned about security when setting up her loT lights.

Learn more about security here:

https://brainly.com/question/25720881

The aspect that Sara should be concerned about when setting up her IoT lights is Security.

What is Security in IoT?

This is known to be the process of keeping Internet devices and the networks that a person is connected from any form of threats or data breaches. This is often done by protecting the devices from any security risks.

Note that aspect that Sara should be concerned about when setting up her IoT lights is Security and if it is secured, her mind will be at peace from any kind of malware attack.

Learn more IoT from

https://brainly.com/question/19995128

These statements are run in Python, after the program has run what would be the value of transport? * cars = 16 lorries = 8 transport = cars + lorries transport = 4 cars = 16 lorries = 8 transport = cars + lorries transport = 4​

Answers

transport = 4

Even though the previous line says
transport = cars + lorries

We are changing the value stored in transport to 4

How technology is going to help to keep ecosystem stable provided by essential support such as water, oxygen etc.?

Answers

Technology is also being harnessed to help prevent food waste, working to keep food out of landfills by keeping better track of it at all levels, from the farm to the table. With up to a third of the world's food resources thrown out, data collection technology has the potential to greatly reduce that figure.

Common names for computer-based information systems are transaction processing, management information, ________, and executive support systems.

Answers

The Common names for computer-based information systems are management information, , decision support, and executive support systems.

What are computer based information system?

The Computer Based Information Systems (CBIS) is known to be way where there is processing of data system into a kind of good or better quality information.

Note that  they help in decision-making, coordination etc., and as such it is made up of  Common names such as management information, , decision support, and executive support systems.

Learn more about information systems from

https://brainly.com/question/14688347

The _____ standard spells out measures and security procedures to safeguard the card issuer, the cardholder, and the merchant.

Answers

Payment Card Industry (PCI) is a standard spells out measures and security procedures to safeguard the card issuer.

Why is payment card industry PCI so vital?

The main aim of the PCI is to lower the risk associated with the use of debit and credit card data loss.

Note that it gives some suggestions or opinions as to  how issues like this  could be stopped, detected, and how one can react if there is data breaches. It is said to give some form of protection for both merchants and cardholders.

Learn more about Payment Card Industry (PCI) from

https://brainly.com/question/26220899

Significant design efforts, during deliberate planning at combatant commands, produce results as those commands _____. (Select all that apply.)

Answers

Answer:

All of above

Explanation:

im not sure pls tell me if im wrong

Other Questions
An oak tree provides food for many animals. The oak tree is found at which level of the energy pyramid?A) 2B) 4C) 1D) 3 I did an exam I think 3 months ago and I got F Yesterday I did the same exam I did 3 months ago and got C+ is that good or bad? what is the solution of y=-2x+4 Which of the following is happening when a lending institution gains money from an individual's paycheck to cover outstanding debts?A. PrincipalB. GarnishmentC. APRD. Harassment When you places the primase and DNA polymerase on the bottom strand, what type of fragments were they connecting?OkazakiRandomLigaseRNA Are they correct? Why or why not? answer correctly thank you 10 points. What is the volume of the rectangular prism?Will mark brainlyest! What material did the Romans invent that helped their structures last?OA. asphaltOB. volcanic rock0 C. limeOD. cement Ms. Johnson adds 2 cubes of suger to a 6 ounce cup of tea. Ms. Hung adds 3 cubes of sugar to a 9 ounce cup of tea. which statement is true? I just need the answer and EXPLANATION for (b) A purse contains $7.60 in quarters and dimes. In all, there are 40 coins. How many of each kind are there?I NEED 2 EQUATIONS!!!!!!! why was the house of burgess significant A gas collected from a reaction has a mass of 1.211 g and occupies a volume of 0.677 L. The temperature in the laboratory is 296 K, and the air pressure is 0.987 atm. Calculate the molar mass of the gas. 23.7 g/mol 44.0 g/mol 58.5 g/mol 82.3 g/mol What was the purpose of segregation 2. What assumption is this calculator making? need help will give brainlist What slope would make the linesperpendicular?y = -1/3x +5y = [?]x+2 Please any math experts can help me convert this thank you so much 2x+(4x-2)+2(x+7)I'll give one-hundred points If a user wants to change one small section of the formatting of a document and leave the rest the same, whichprocess should be completed? importing a style overriding a style a modifying a styleexporting a style