CAT Quant Practice Problems

Question: A robot moves on a graph sheet with X and Y-axis. The robot is moved by feeding it with a sequence of instructions. The different instructions that can be used in moving it, and their meanings are:

The robot is initially at (x, y), x > 0 and y < 0. The minimum number of instructions needed to be executed to bring it to the origin (0, 0) if you are prohibited from using the GOTO instruction is

  1. 2
  2. 1
  3. x + y
  4. 0

Correct Option:1

CAT 2019 Online Course

CAT Quant Questions with Video Solutions

CAT Quant Practice Problems
4.6 (92%) 15 votes