Elevator riddle-Rebelpilot 64

  1. The elevator senses that a button is pushed on the first floor to go up
  2. The elevator opens up and the passenger pushes the button to the floor that they want to go to
  3. The elevator goes up to the floor that is pressed but stops to pick up other passengers.
  4. The elevator keeps rising to the top and continuing to scan for button presses.
  5. The elevator finally reaches the top and starts the cycle all over again but now going down.

Edited version

  1. The elevator has sensed that the call button on the first floor has been pressed and goes down to the first floor
  2. The elevator opens up, the passengers load up in the elevator and scans what floor buttons are being pressed.
  3. The elevator moves up to the closest floor which is floor two that someone pushed and opens its door up and lets off some passengers and some new ones come on the elevator.
  4. The elevator goes up to the next closest floor, which is floor four, but stops at floor three along the way because someone pressed the call button on that floor.
  5. The passenger on floor three goes on and after a few seconds of waiting, the door closes but then, the open-door button gets pressed because someone is running towards the elevator and wants to get in there.
  6. The elevator continues to go up the floors and the down button is pressed.
  7. The elevator does not go down yet because it still has to pick drop off passengers
  8. The elevator reaches the sixth floor and now it will start the cycle all over again but going down this time.
This entry was posted in Riddle. Bookmark the permalink.

2 Responses to Elevator riddle-Rebelpilot 64

  1. rebelpilot64's avatar rebelpilot64 says:

    I accidentally posted this in the wrong spot.

  2. davidbdale's avatar davidbdale says:

    RebelPilot, this is a thrilling floor-by-floor DESCRIPTION of the escapades of one elevator on a given day. However . . .

    It would not serve as a list of INSTRUCTIONS to an elevator that didn’t understand the priority order in which it was supposed to serve Call requests or Destination requests or even requests to Open the Doors (or Stop Closing, then Opening the doors).

    You get good credit for contributing to the collaborative exercise we’re conducting to write one good set of instructions, and you’re welcome to revise.

    Regraded.
    Further revisions are always encouraged, and regrades are always available following substantial improvements.
    Should you revise, your Beloved Professor will not automatically notice.
    So, if you desire a Regrade, put your post back into Feedback Please and let me know you’ve earned fresh consideration.
    I’ll decide whether the improvements are substantial.
    (Try not to make things worse. 🙂 )

Leave a comment