Question

# FORWARD, 10; FORWARD, 10. Which of the following statements about the above instructions is true?n1−n1=20 only if n1=0n2−n1=20 if M>20 and n1=1n2−n1=10 if M = 21 and n1=0n2>n1 if M > 0

Solution

## The correct option is B n2−n1=20 if M>20 and n1=1FORWARD, 10; FORWARD, 10 would effectively mean a FORWARD 20 i.e., n2−n1=20, (if M−n1≥20) or n2=M (if M−n1<20). The option that satisfies this condition is (b), as if M > 20 and n−1=1, then M−n1>20, and hence n2−n1=20.

Suggest corrections