Elevator riddle-thad711

  1. Elevator starts on the first floor and has a button on the outside to go up and on the inside are buttons for which floor you shall go to, each floor has buttons on the outside to elect for either going up more floors or down floors
  2. On its way up it will pick people up on other floors that decide to also go up more floors, if they want to go down they will wait until it drops people off on the upper levels
  3. Once the elevator drops off the people for the top floor it will proceed down the floors and pick up anyone going down to floor 1
  4. If the elevator is going up it will continue to go up to whatever floor you chose and will not stop and pick up people going down
  5. The elevator will stop in chronological order based on the buttons pressed
  6. Each destination will be reached at some point and if the elevator passes your floor while going down it will drop off the people first then go back to pick you up
  7. Every time a button is pressed from the outside the elevator must travel to the floor in which that button is pressed depending on if the person wants to hit the up button or down, if traveling up the elevator will pass people that also want to go down as it will pick up the highest floor in which the button was pressed down first then on the way down it will pick up people on the floors below to drop them down to where they desire
  8. Say the elevator is sitting on the first floor and someone from the 5th floor requests to go down, the elevator shall travel up and and ignore the others wanting to go down until it picks up the person on the top floor and while it is going down it will pick up the rest of the floors and bring them to the bottom
  9. Buttons on the inside shall be labeled with each floor in the building
This entry was posted in Riddle. Bookmark the permalink.

3 Responses to Elevator riddle-thad711

  1. davidbdale's avatar davidbdale says:

    These statements for the most part accurately describe the current situation, but they ARE NOT:
    A set of INSTRUCTIONS to an ignorant elevator that needs to be programmed to operate as desired.

    FOR EXAMPLE:
    1. When the UP BUTTON is lit on any floor above where the car is positioned, proceed immediately to that floor, not stopping at any intervening floor.

  2. davidbdale's avatar davidbdale says:

    Check out Sunflower828’s post. It’s closer to the ideal set of Instructions.

    Elevator Riddle- Sunflower828

  3. davidbdale's avatar davidbdale says:

    You revised your post one day ago, long after my feedback that what you had written were DESCRIPTIONS not INSTRUCTIONS. Following your revisions, what you have here are still DESCRIPTIONS . . . so, I won’t pester you again about the format.

    Let’s just try to make these the best set of DESCRIPTIONS they can be. 🙂

    An elevator doesn’t know what time it is, or what day, or what floor it’s on, or much of anything, so if you say the “elevator starts on the first floor” you must mean

    For the purposes of describing how the elevator functions, let’s begin our description with the case in which the elevator is on the first floor of a building with floors both above and below the first floor.

    Since the audience for DESCRIPTIONS is a human reader NOT THE ELEVATOR, you can also use EXAMPLES to help your reader understand certain situations. (You can’t do that if the elevator is your AUDIENCE. It won’t extrapolate from examples. It will only follow specific instructions.)

    So. Your first DESCRIPTION:

    Elevator starts on the first floor and has a button on the outside to go up and on the inside are buttons for which floor you shall go to, each floor has buttons on the outside to elect for either going up more floors or down floors.

    This is how complete a set of descriptions would have to be:
    —Imagine an elevator on the first floor of a building that has floors both above and below the first floor.
    —Imagine also this elevator and no other elevator serves all floors.
    —Prospective passengers summon the elevator to the floor they’re on by pressing buttons in the hallway (let’s call them Summons Buttons), an Up Button for when they want to go Up and a Down Button for when they want to go down.
    —If the elevator is on any floor other than the floor where the button is pressed (in this case, the first floor), the elevator will respond by proceeding to that floor, stopping there, and opening its doors.
    —The elevator will proceed to the floor where the button is pressed regardless of whether it will have to reverse directions to fulfill the desire of the prospective passenger to travel up or down.
    —If the elevator happens to already be on the floor where the button is pressed, the elevator will open its doors.

    There might be more, but I’m exhausted, and I imagine you don’t want to proceed down this path either.

    Alternatively, this would be a complete set of instructions for the Elevator given the situation described in your first description:
    —When a Summons Button is lit on any floor, PROCEED to that floor, STOP, and OPEN the doors.

    Out of good sportsmanship, I will lavishly reward you for the work you’ve done already, Thad. How you proceed from here is up to you. 🙂

    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