CAT DILR Questions | CAT Logical Reasoning questions

Comprehension

Directions for Questions : A robot moves on a co-ordinate plane as per the following instructions :

CAT/1999

Question . 147

If use of GOTO instruction is not allowed & the robot is currently at (x ,y) such that x ≠ 0, y ≠ 0, then what is the minimum number of instructions required to bring the robot to origin?

View Answer

Explanatory Answer

Method of solving this CAT DILR Question from Logical Reasoning question

(b) Clearly we use two instructions to reach the origin. One condition for Xa-axis and one condition for Y-axis.