This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 2 years, 5 months ago.

  • Author
    Posts
  • #454126 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    Directions: The steps of a staircase leading from floor 1 to floor 2 are numbered as 0, 1,……, M. 0 is on level with floor  1 below and M is on level with floor 2. A robot is positioned at step 0. There are 4 instructions which the robot obeys.
    1.         FORWARD, n     :  Climb up by n steps from current one. If M is reached, stop at M.
    2.         BACKWARD, n   :  Climb down by n steps from current one. If 0 is reached, stop at 0.
    3.         HOP UP, n          :   Climb up n times, taking alternate steps. If M is reached, stop at M.
    4.         HOP DOWN, n   :   Climb down n times, taking alternate steps. If 0 is reached stop at 0. If I is reached, stop at 0.
    Let step number, before operation = x1, after operation = x2

    HOP UP, 3
    BOCKWARD, 6

    Which of the following is true?

    Options :-

    1. x1 < x2 if x1 > 3
    2. x2 = x1 if M < x1 + 2
    3. x1 > x2 if x1 > M - 6
    4. x1 > x2 if M > 6
    5. None of these
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: Directions: The steps of a staircase leading from floor 1 to floor 2 are numbered as 0, 1,……, M…..
Your information:




Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account