**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

2 | |

1 | |

x + y | |

0 |

**Show Answer**

## CAT Quant Questions with Video Solutions

CAT Quant Questions Set 01CAT Quant Questions Set 02

CAT Quant Questions Set 03

CAT Quant Questions Set 04

CAT Quant Questions Set 05

CAT Quant Questions Set 06

Back to Main Page

#### CAT Quant Online Course

- 1000+ Practice Problems
- Detailed Theory of Every Topics
- Online Live Sessions for Doubt Clearing
- All Problems with Video Solutions