Bird
0
0

Which of the following is a correct way to assign an elevator to a new request in a multiple elevator system?

easy📝 Architecture Q12 of 15
LLD - Design — Elevator System
Which of the following is a correct way to assign an elevator to a new request in a multiple elevator system?
AAlways assign the elevator on the ground floor
BAssign the elevator farthest from the request floor regardless of direction
CAssign the elevator closest to the request floor moving in the same direction
DAssign elevators randomly to balance usage
Step-by-Step Solution
Solution:
  1. Step 1: Understand assignment criteria

    Elevators should be assigned based on proximity and direction to minimize wait time.
  2. Step 2: Analyze options

    Assign the elevator closest to the request floor moving in the same direction matches this logic. Options A, B, and C ignore direction or proximity, causing inefficiency.
  3. Final Answer:

    Assign the elevator closest to the request floor moving in the same direction -> Option C
  4. Quick Check:

    Closest elevator + direction match = correct assignment [OK]
Quick Trick: Match elevator direction and proximity for assignment [OK]
Common Mistakes:
MISTAKES
  • Ignoring elevator direction when assigning
  • Choosing elevators randomly
  • Always picking ground floor elevator

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More LLD Quizzes