Write a program to output the signal status based on the signal colour taken as input.
SIGNAL COLOR SIGNAL STATUS
RED STOP
YELLOW WAIT
GREEN GO

Answers

Answer 1

Answer:

colour = "YELLOW"

signalMap = {  

 "RED" : "STOP",

 "YELLOW" : "WAIT",  

 "GREEN" : "GO"

}

print(colour + " means " + signalMap[colour])

Explanation:

Since python doesn't have switch statements, this map is a useful alternative.

Answer 2
What subject is this

Related Questions

Which is true regarding a problem statement? It provides a vision of the unsolved problem. It is not usually necessary for a successful software development effort. It describes how to increase profits and decrease expenses. It clearly describes the issues that contribute to a problem.

Answers

Answer:

It provides a vision of the unsolved problem

Explanation:

Answer:

It clearly describes the issues that contribute to a problem.

Explanation:

A problem statement clearly describes the issues associated with a problem and the method for solving the problem.

Which file type is typically used for videos? GIF MPEG MP3 PDF

Answers

Answer:

MPEG

Explanation:

A GIF is a short repeating low-quality video clip

A MP3 file is an audio file

A PDF file is a text document

MPEG is the international standard for encoding and compressing video images

Hope this helps!

(Please mark Brainliest!)

Answer:

MPEG

Explanation:

took the test

what is an example of an innovative solution to an engineering problem?

Answers

Answer:8 of the Greatest Challenges Facing Engineering

The climate crisis. ...

Making water clean and accessible. ...

Providing enough food. ...

Personalised and relevant education. ...

Improving health care. ...

The refugee crisis. ...

Cyber security. ...

Enlisting the youth.

Explanation:This may or may not help

Which statement is most likely to be true about a computer network?

a. A network can have several servers and only none client.

b. A network has to have physical cables connecting the devices in the network.

c. A network can have several client computers and only one server.

d. A network can consist of a single computer with no other devices in communication with that computer.

Answers

Answer:

c. A network can have several client computers and only one server.

Explanation:

Computer Network is a term that describes the connection of one or multiple computers to a server such as Local Area Network, LAN, or Wide Area Network, WAN, basically for the purpose of transferring electronic files among connected computers.

Hence, the statement that is most likely to be true about a computer network is "a network can have several client computers and only one server."

Answer:

A network can have several client computers and only one server.

Explanation:

I just did the Instruction/Assignment on EDGE2022 and it's 200% correct!

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)

How long are objective tests for FBLA-PBL events? Apex

Answers

Answer:

You will have 60 minutes to complete all objective tests. Each test has 100 multiple choice questions.

Explanation:

60 minutes to complete the objective test

The CPU converts into information. The CPU is the mastermind of the computer, controlling everything that goes on through a series of . Another name for the CPU is .

Answers

Converts data into information

Mathematical sequences

Microprocessor

The CPU converts instructions and data into information. The CPU is the mastermind of the computer, controlling everything that goes on through a series of electrical signals and calculations. Another name for the CPU is brain.

The CPU, or central processing unit, is the primary component of a computer that performs most of the processing inside the computer. It is often referred to as the "brain" of the computer.

The CPU interprets and executes instructions, performs calculations, and manages the flow of data within the computer system. It is responsible for coordinating and controlling the activities of other hardware components, such as memory, storage, and input/output devices, to carry out tasks and run programs.

Therefore, the CPU converts instructions and data into information. The CPU is the mastermind of the computer, controlling everything that goes on through a series of electrical signals and calculations. Another name for the CPU is brain.

Learn more about CPU visit:

brainly.com/question/21477287

#SPJ2

Joe's computer crashed and I was looking for a replacement which of the following criteria is less important.Ram,money, color, usage ​

Answers

Answer:

color

Explanation: nobody cares what color it is how it works

Colour is the less criteria as Joe's computer crashed, and he was looking for a replacement. Hence, option C is correct.

What is meant by computer crashed?

A computer crash occurs when an operating system or program stops functioning properly. When: Hardware has had an irreparable failure.

Computer crashes are the result of hardware or operating system errors. Even though software errors are unquestionably more common, hardware errors can still be quite harmful and are more difficult to spot. A computer cannot function if certain hardware components are malfunctioning.

A crash or system crash occurs when a computer program, such as an operating system or software application, stops functioning properly and exits. A computer cannot operate without a number of hardware parts working properly.

Thus, option C is correct.

For more details about  computer crashed, click here:

https://brainly.com/question/4701800

#SPJ2

________ information systems are supposed to improve care by using computers to manage charting, staff scheduling, and the integration of clinical information.

Answers

Answer:

The answer is "Nursing".

Explanation:

The term NIS stands for the "Nursing Information System". It is a computer system, that manages medical information from a wide range of medical settings.

It also provides care with a reliable and organized manner to enhance the care of the patient. It also helps to manage the administrative activities like control for workloads, maintaining personnel records, and scheduling changes.

You have been putting off writing a research paper, and now it's due in two days. You have gathered a few notes, but fear you will not complete the assignment on time. You are considering purchasing a paper from a website that produces research papers on any topic, though you are concerned the content might not be original. Should you take a chance and purchase the research paper? Is using the website's services even ethical?

Answers

Answer:

No! You should not! This is not ethical at all because you did not do the work yourself, and you are benefiting (or lowering your grade) with work that is not yours! Also not to mention, can get caught and recieve a zero!

Explanation:

Answer:

No, this is not a good idea.

Explanation:

This is not a good decision.

First of all, you should avoid procrastinating things, especially important papers.

Additionally, using a website to write your paper is unethical, dishonest, not to mention it is plagiarism. Plagiarism is when you take someone else's words or work and say it is your own.

Teachers, professors and schools have many ways to detect plagiarism. You could be caught, receive a failing grade, and in some cases, be expelled.

It is never a good choice to pay for other people to do your work. Prepare accordingly and write it yourself!

Cheri's teacher told her to write a program that prompts the user for information. Which function should she use? input() int() main() print()

Answers

Answer:

input()

EXPLANATION:

Answer:

it A

Explanation:

i't

A i pass the test

what is considered an input and output peripheral?

Answers

Answer:

An input is any device that can put information into a computer, (keyboard, mouse, microphone, etc.) An output will take information out, (monitor, printer, speaker, etc.)

Which would be a responsible use of technology used by victims of cyberbullying?
finding ways to strike back at bullies online.
O buying software that allows them to track down bullies.
O changing passwords and screen names regularly.
O pretending to be someone else to hide their identity.

Answers

Answer:

Changing password and screen names regularly.

Explanation:

The cyber attacks have been common in this age. The technological advancements have eased our lives but also create hundreds of risks. These risks can include cyber bullying. The best way to keep your self away from being victim of such threat is by changing passwords regularly. This reduces the chance of hacking passwords and cyber bullying.

Answer:

C

Explanation:

I took the quiz :)

What is output?
C = 1
sum 0
while (c < 10):
c = c + 3
sum
sum + C
print (sum)

Answers

Answer:The French and Dutch settlements differed from the Spanish colonies in that they were created mainly to trade and develop industries, while the Spanish were primarily concerned with gold and silver excavation, and then later with sugar exportation.

Explanation:The French and Dutch settlements differed from the Spanish colonies in that they were created mainly to trade and develop industries, while the Spanish were primarily concerned with gold and silver excavation, and then later with sugar exportation.

By using password-stealing software, ________ capture what is typed on a keyboard and easily obtain enough personal information. A) identity thieves B) keyloggers C) hackers D) cyberstalkers

Answers

Answer:

B) Keyloggers

Explanation:

Keyloggers are malicious softwares used by hackers to secretly record and capture keystrokes on a person's computer when they are using it. This enables the hackers steal sensitive data like passwords, bank details, address etc. Keyloggers are one of the oldest forms of cyber threats used by cybercriminals to spy on unsuspecting users. Keyloggers can be sent through links to access. computer o directly installed with access to the computer.

what are the three different type of solution?explain them.

Answers

Explanation:

Solid - A substance that can be felt and held

Liquid - can go into any shape of a container

Gas - exists in the atmosphere and very light

what is a core hardware and distribution hardware

Answers

Answer:

The term “core hardware “ is merely a reference to the minimum physical hardware requirements for a given application to run to benchmarks established by the programmers.. DISTRIBUTION HARDWARE.. Electrical Distribution Hardware for the Energy Industry

Question 2 and 3 answer

Answers

Answer:

3=if you want to highlight text, move a cursor to the start of the line,hold the shift key, and then press a down arrow

where can I watch all harry potter movies for free?
and I know this isn’t exactly the question I should be asking here but pls help me and don’t give me virus

Answers

Answer:

Ive streamed them before on DailyMotion

​ In a systems development life cycle (SDLC) model, the purpose of the _____ is to build a logical model of the new system.

Answers

Answer:

Systems analysis phase.

Explanation:

In a systems development life cycle (SDLC) model, the purpose of the systems analysis phase is to build a logical model of the new system.

In the systems analysis phase, the system developer examines or analyzes the information or data about the requirements of an end-user, which are then implemented to achieve the organizational set goals and objectives.

Hence, systems analysis refers to the process of gathering data or factual informations, understanding processes, problem identification and suggestions of probable solutions for an effective and efficient functioning of the system.

Nina's grades could be better. She gets about five hours of sleep every weeknight and ten hours per night on weekends. How much sleep should she get to better concentrate on schoolwork? Five to six hours every night nine to ten hours every night a total of forty hours a week a minimum of eighty hours a week

Answers

Answer:

B. Nine to ten hours every night

Explanation:

You need to have at least 8 hours of sleep and B makes the most sense cause then she gets enough sleep and enough time to study.

Answer:

9 to ten hour

Explanation:

Which term is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed to do so?

Answers

Answer:

script kiddies

Explanation:

script kiddies is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed to do so

A script kiddie is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed to do so.

What is a script kiddie?

A script kiddie, or “skiddie,” is known to be when a person is said to lacks programming knowledge and often uses existing software to bring about an attack.

Therefore, A script kiddie is used to describe individuals who want to attack computers yet lack the knowledge of computers and networks needed to do so.

Learn more about script from

https://brainly.com/question/2438409

#SPJ9

A machine used as a holding area for implements after they have been properly disinfected is called a(n):

Answers

Answer:

UV light sterilizer

Explanation:

___ are stem professionals who collect, analyze, and interpret data

Answers

Answer:

Statisticians

Explanation:

Statistics is a science, technology, engineering, and math (STEM) related degree that involves acquiring knowledge through data. A statistician sources data through administering questionnaire, taking polls and carrying out experiments. From the collected data, the statistician makes use of statistical concepts to sift through large data sets, develop data interpretation and deduce relevant information from the data and present meaningful conclusion to the relevant bodies in fields such as education, manufacturing, marketing, government and healthcare.

Answer:

statiscians

Explanation:

Keira wishes to record a song in the comfort of her home. She has a computer and a guitar. Which other device does she need to record her song?

Answers

Answer:

A microphone

Explanation:

You need a microphone to record sounds otherwise the computer will not be able to input the song.

Answer:

Microphone!

Explanation:

Just got it right

Software is glving Instructions so that text is displayed on the monitor. This software is an example of
application software
programming software
system software
programming language

Answers

Answer:

System software

Explanation:

Because it shows what you have typed into the computer

Answer:

programming software

Explanation:

because programming software well show in text what you need to do

The main advantage of a solid state drive is:
Group of answer choices

They can store more information.

They spin faster.

They are less likely to be damaged.

They are less expensive.

Answers

the answer is they can store more information

A web developer overhears an executive’s username and password, and then uses it to download the company’s secret chocolate-chip cookie recipe. He makes the cookies at home and posts the recipe on his blog.

identity theft

corporate espionage

software piracy

sale of trade secrets

Answers

Answer:Sale of trade secrets

Explanation:

Just took it

Answer:

sale of trade secrets

Explanation:

Just took it edgen 2020 is correct

A web developer overhears an executive’s username and password, and then uses it to download the company’s secret chocolate-chip cookie recipe. He makes the cookies at home and posts the recipe on his blog.

trade

/trād/

the action of buying and selling goods and services.

Bruce needs to have a drive to rerecord data on the used DVD

Answers

Answer:

DVD- RW

Explanation:

Can you get accurate
information from social
media?
A. Sometimes
B. Usually
C. Always
D. Nevali

Answers

Answer:

The answer is B.usually

Explanation:

We usually get accurate information from social media cause sometime they also tell us the fake news...

Yes, it is possible to get accurate information from social media "sometimes" (Option A)

How accurate is the information gotten from social media?

The accuracy of information obtained from social media can vary widely.

While social media platforms can be a valuable source of news, updates, and insights, the information shared is often user-generated and may not always be verified or fact-checked.

Therefore, the accuracy of information on social media is not guaranteed, and it is essential to cross-reference and verify information from reliable sources before considering it as entirely accurate.

Critical evaluation and discernment are crucial when using social media as an information source.

Thus, Option A is the right answer.

Learn more about social media at:

https://brainly.com/question/1163631

#SPJ6

The contains the computer's "brain," the central processing unit (CPU).

Answers

Answer:

Inside the computer case, on the motherboard. Hope this helps!

Explanation:

Other Questions
What is the final answer of 100-8(12+8)+10 Please help me ASAP! Precalc for college. 54:23Which equation shows the variable terms isolated on one side and the constant terms isolated on the other side for theequation 3x-3-2x+10?O x = 505 = X-15 = -5x-5x = 15 summary of Trans-Saharan Gold-Salt Trade in Early Times The ________ is a substage lens that concentrates light on the specimen. please help me; A geographer that focuses on human systems will focus on the study of __________. A. locations and spatial relationships B. the Earths natural systems C. the cultures people create D. natural environments Please select the best answer from the choices provided A B C D Given the function f(x) = 8x3 3x2 5x + 8, what part of the function indicates that the left and right ends point in opposite directions? Incomplete manufacturing costs, expenses, and selling data for two different cases are as follows.(a) Indicate the missing amount. Case 1 2Direct materials used $9,700 $Direct labor 5,100 8,100Manufacturing overhead 8,400 4,100Total manufacturing costs 16,100Beginning work in process inventory 1,100 Ending work in process inventory 3,100Sales revenue 25,000 Sales discounts 2,600 1,500Cost of goods manufactured 17,100 22,100Beginning finished goods inventory 3,400Goods available for sale 22,100 Cost of goods sold Ending finished goods inventory 3,500 2,600Gross profit 7,100Operating expenses 2,800 Net income 5,100 What's the meaning of life. A class is 47 min how many seconds is this ? A plaintiff in a high profile legal suit was offered the following out of court settlement: We the defendent will pay the lump sum of $200 to the plaintiff in exactly 11 years. Or alternatively, we will negotiate a lump sum payment today. According to time value of money, what lump sum amount today will have the same present value as the offered settlement if the interest rate of 4.2%?$______ Place your answer in dollars and cents. Do not include a dollar sign or a comma. Work your analysis out with at least 4 decimal places of accuracy. The following transactions were incurred by Stoncius Fabricators during January, the first month of its fiscal year. i (Click the icon to view the transactions) Requirements 1. Record the proper journal entry for each transaction 2. By the end of January, was manufacturing overhead overallocated or underallocated? By how much? a. $170,.000 of materials was purchased on account. Record the entry (Record debits first, then credits. Exclude explanations from any journal entries.) Journal Entry Date Accounts Credit a. Raw Materials Inventory Accounts Payable 170000 170000 b. $162,000 of materials was used in production, of this amount, $143,000 were used on speciffe obs. Record the entry. ournal Entry Date Accounts Debit Credit b. Work in Process Invento Manufacturing Overhead Raw Materials Inventory 143000 19000 162000 c. Manufacturing labor and salaries for the month totaled $220,000. A total of $200,000 of manufacturing labor and salaries was traced to specific jobs, and Journal Entry Date Accounts Debit Credit A play tells the story of a determined lawyer who breaks the law to win acase. In the end, he gets caught and is sent to jail. Is this play more likely acomedy or a tragedy?1.comedy, because the plot is very amusing to audiences2. tragedy, because the plot is not very humorous3.comedy, because the character experiences many mishaps4.tragedy, because the lawyer's ambition leads to his downfall Which chemistry is used to create energy? *Nuclear ChemistryOrganic ChemistryAnalytical ChemistryBiochemistry In the character of one of the pilgrims who survived the first year in New England my ones digit is 2 more than my thousand digit. the sum of my ones and thousand is my hundreds digit. 3 less that my hundreds digit is my tens digit. my Hundreds thousand and ten thousand are the same. guess what number I can be. This week at HEB, pork chops cost $1.60 per pound. Steve bought 2 1/4 pounds of pork chops. If he paid with a $10 bill, how much change did he receive? Three high school football teams each played four games. The Wildcats scored 18, 10, 14, and 18 points. The Knights scored 13, 17, 28, and 7 points. The Eagles scored 17, 28, 9, and 21 points. Which team had the highest mean points per game? When performing a cranking sound diagnosis, Technician A says that all engines may be prevented from starting by holding the throttle wide open while cranking. Technician B says that an engine may be disabled by removing the fuel pump fuse or relay (if equipped). Who is correct? A box is pushed down at an angle of 32 degrees on a rough surface. The box moves to the right.A picture of a woman pushing downward at an angle of 32 degrees with the horizontal on a box. There is a dot in the center of the box and a force pointing southeast away from it labeled F Subscript p.What equation should be used to find the net force in the y-direction?F subscript net, y = F subscript N minus F subscript g.F subscript net, y = F subscript p minus F subscript f.F subscript net, y = F subscript N minus F subscript g minus F subscript p cos(32).F subscript net, y = F subscript N minus F subscript g minus F subscript p sin(32).