Capgemini Company Numerical Ability Co-ordinate geometry

A robot moves on a graph sheet with x­y axes. 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: Instruction Meaning GOTO(x,y) move to pt with co­ord (x,y) no matter where you are currently WALKX (P) move parallel to x ­axis through a distance of p, in the +ve direction if p is +ve and in –ve if p is –ve WALKY(P) move parallel to y axis through a distance of p, in the +ve direction if p is +ve and in –ve if p is –ve
Question: The robot reaches point (5,6) when a sequence of 3 instr. is executed, the first of which is GOTO(x,y) , WALKY(2), WALKY(4). What are the values of x and y?
A) 2,4 B) 0,0 C) 3,2 D) 2,3

Read Solution (Total 0)

Capgemini Other Question

If 65% of a number is subtracted from itself, it reduces to 630. What is five-ninth of that number?
A)1200 B)1000 C)1080 D)880
A rainy day occurs once in every 10 days. Half of the rainy days produce rainbows. What percent of all the days do not produce rainbow?
A)95% B)10% C)50% D)5%