URBIE -Elevator Riddle-

1.each floor is equipped with both an Up Button and a Down Button, both of which serve as Call Buttons. These buttons are used to request your presence, so when someone presses either of these buttons, you are prompted to travel to the corresponding floor.

2.While on route to the floor that made the call, you are designed to stop along the way to respond to any priority calls in the same direction. These priority calls must be completed before any change in direction is considered. This means that if a priority call instructs the elevator to switch directions, it will only do so after fulfilling the existing priority call.

3.Upon arriving at the floor that initially made the call, your doors have to automatically open, and it patiently waits for a brief period before closing them. During this time, the door has a sensor that can detect any obstructions in the doorway. If the sensor detects an obstruction while the door is closing, you immediately stop and reopens the door to ensure safety.

4.After successfully reaching the requested destination floor, you proceed to the next priority response. However, if no further calls are made, it remains stationary at that floor, ready to serve when called upon. This sequence of actions ensures efficient and safe elevator operation in a multi-floor building.

This entry was posted in Riddle. Bookmark the permalink.

6 Responses to URBIE -Elevator Riddle-

  1. davidbdale's avatar davidbdale says:

    Interesting, Urbie. I like the concept of Priority Calls, but your instructions don’t clearly identify what they are, how they’re triggered, and how the elevator should react in every case to accommodate them.

  2. davidbdale's avatar davidbdale says:

    I probably won’t identify all the possible revisions for this post, Urbie, but let’s cover a few at least.

    —I like the idea of having NAMES for things like the Call Buttons to simplify instructions.
    —I’m not sure there’s any need to distinguish between the Up and Down buttons for most instructions, so maybe just use Call Button unless more specificity is absolutely needed.
    —Examples are useful for the HUMAN READER you’re trying to help understand, but they DO NO GOOD for the elevator.
    —Be sure that in any instruction where you want to say “in the same direction” you’ve already clarified which direction the elevator is traveling. I believe in most cases you won’t have to (unless you’re writing an example, which I would not advise).
    —There appears to be little or no need for the elevator to know when anybody enters, occupies, or departs the elevator. Think about that for awhile. They respond to button presses, not occupancy, right?
    —The elevator doesn’t have or need a sense of caution. It merely needs to open the door in response to a break in the “light-sensor circuit” or whatever you call the circuit established by the light beam across the threshold.

    Now permit ME to write an example. You say this:

    After you drop the passenger on the destination floor, go to the next priority response or in case no one call you stay at your place waiting.

    What if you said this instead:

    —At the destination floor, OPEN the door, then CLOSE the door after 15 seconds.
    —If the Threshold Circuit is broken while the door is closing, OPEN the door, then CLOSE the door after 15 seconds.
    —When the door is closed, RESPOND to the next call on the Priority List.

    What do you think?
    Is it worth the effort?
    This tiny assignment has the same grade value as your Stone Money essay.

  3. davidbdale's avatar davidbdale says:

    You’re doing a better job than most of writing general rules instead of relying on Examples, Urbie. I don’t think the elevator knows what qualifies as a priority call, though, and most of your navigation instructions involve deciding on what has priority. I think I get the idea you’re going for in Instruction 5, but the language makes the meaning unclear.

    Provisionally graded. Grade may not appear immediately.
    Revisions, further feedback, additional revisions, and regrading are all possible. Always put your work back into Feedback Please and leave a Reply if you want any of the above.

Leave a reply to davidbdale Cancel reply