English, asked by rameshsonar45, 2 days ago

The following is the list of instructions to be followed
Step1: x=0 A=2 B=3
Step2: If X<5 then do Steps 3-6 otherwise Step7
Step3: Y=A+B replace A by B replace B by Y
Step4: Type Y
Step5: Increase X by 2
Steph: Goto Step2
Step7: Exit
13. When X=4 what value of Y is typed?
1] 12 2] 8 3] 13
4] 5
14. Suppose Step5 is replace by 'Increase X by 5' then what would be the last value of Y typed?
. 1] 5 2] 4 3] 6
4] 9
15. After the set of instructions is over at Step 7 what is the value of x
© 1] 5
2] 4
3] 3
4] 7​

Answers

Answered by annkritijaiswal
0

Answer:

please retype your questions your questions is not right

Answered by deepusboonbts227
0

Answer:

Q13: 3

Q14: 1

Q15: 2

Explanation:

Q13: while X=0, Y=5, A=3, B=5

while X=2, Y=8, A=5, B=8

while X=4, Y=13, A=8, B=13

Q14: While X=0, Y=5, A=3, B=5

If X is increased by 5 further values of Y will not be calculated.

Q15: The last value of X is 4

Similar questions