subject

An office building has two floors. A computer program is used to control an elevator that travels between the two floors. Physical sensors are used to set the following Boolean variables.

The figure shows a table with 2 columns and 5 rows. The top row contains the column labels, from left to right; column 1, Variable; column 2, Description. From top to bottom, the data is as follows: Row 2; Variable, onFloor1, Description, set to true if the elevator is stopped on floor 1; otherwise set to false. Row 3; Variable, onFloor2, Description, set to true if the elevator is stopped on floor 2; otherwise set to false. Row 4; Variable, callTo1, Description, set to true if the elevator is called on floor 1; otherwise set to false. Row 5; Variable, callTo2, Description, set to true if the elevator is called on floor 2; otherwise set to false.

The elevator moves when the door is closed and the elevator is called to the floor that it is not currently on. Which of the following Boolean expressions can be used in a selection statement to cause the elevator to move

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Which requirement is an appropriate reason for a business to use it tools
Answers: 3
question
Computers and Technology, 22.06.2019 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 23.06.2019 18:20
What is wi-fi infrastructure? a metropolitan area network that uses radio signals to transmit and receive data a communications technology aimed at providing high-speed wireless data over metropolitan area networks a means by which portable devices can connect wirelessly to a local area network, using access points that send and receive data via radio waves includes the inner workings of a wi-fi service or utility, including the signal transmitters, towers, or poles and additional equipment required to send out a wi-fi signal
Answers: 2
You know the right answer?
An office building has two floors. A computer program is used to control an elevator that travels be...
Questions