We mentioned that the LOOK algorithm is like the algorithm followed by elevators in buildings. In what ways is this an appropriate analogy?

What will be an ideal response?


Elevators indeed use this kind of back-and-forth, pendulumlike motion.As in LOOK,
an elevator keeps going in the same direction until it services the furthest floor in that direction
for someone needing to either exit or enter the elevator. As in LOOK, an elevator
doesn’t reverse direction immediately if a button is pressed for a floor it has just passed.

Computer Science & Information Technology

You might also like to view...

When using Windows 8, Charms appear _____ of your screen.

A. on the right B. on the left C. on the top D. on the bottom

Computer Science & Information Technology

A(n) ________ is a device that directs traffic based on a logical address and picks an optimum path to transfer data

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following is an advantage of using an integrated development environment?

A. Syntax errors do not occur. B. Syntax errors are visually highlighted. C. The program can run with syntax errors. D. Logical errors do not occur.

Computer Science & Information Technology

Shared workbooks cannot be marked as final

Indicate whether the statement is true or false

Computer Science & Information Technology