Logical Reasoning :: Flow Chart - Discussion
4 / 42
Study the flow chart give below and the questions that follow.
What number is now in Box 8?
What number is now in box 11?
A11, 5
B11, 2
C8, 6
D11, 9
Show Explanation
None of the available answers is the correct:
step 1 : ins 1 : 2[Box 11] 3 = 5[Box 11]
step 2 : ins 2 : 8[Box 1] -> 8[Box 10]
step 3 : ins 3 : is 1 an odd number? YES
step 4 : ins 4 : go to instruction 6[Box 2[Box 6]]
step 5 : ins 6 : 4[Box 5] 5[Box 11] = 9[Box 11]
step 6 : ins 7 : change ins2: [Box 1 1] -> [Box 10 - 1]
step 7 : ins 8 : 9 < 8[Box 1] ? NO
step 8 : ins 9 : go to instruction 2
step 9 : ins 2 : 6[Box 2] -> 6[Box 9]
step 10 : ins 3 : is 2 an odd number? NO
step 11 : ins 6 : 4[Box 5] 9[Box 11] = 13[Box 11]
step 12 : ins 7 : change ins2: [Box 2 1] -> [Box 9 - 1]
step 13 : ins 8 : 8 < 8[Box 1] ? NO
step 14 : ins 9 : go to instruction 2
step 15 : ins 2 : 5[Box 3] -> 5[Box 8]
step 16 : ins 3 : is 3 an odd number? YES
step 17 : ins 4 : go to instruction 6[Box 2[Box 6]]
step 18 : ins 6 : 4[Box 5] 13[Box 11] = 17[Box 11]
step 19 : ins 7 : change ins2: [Box 3 1] -> [Box 8 - 1]
step 20 : ins 8 : 7 < 8[Box 1] ? YES
ANSWER: 5[Box 8] and 17[Box 11]
Asked In ::
Answer is (11,9).
Solution:
1. number in box11+3=box11;
2+3=5=box11.
2. box10=box1;
box10=8;
3. first box number mentioned in inst. 2 is 1. and it is an odd number. soy yes go to step 4.
4. box6=2.
5. change inst 2: first box is box1 .So increase the box-number(not the number inside the box) by 2. so
now inst 2 will be changed as:
put (number in box3) into box10.(It will be used for further calculation).
6. box11=box5+box11=4+5(because in step 1 it becomes 5)=9.
7. box12=1;
increase first box mentioned in inst2. by 1 and decrease last box mentioned in inst2 by 1
so Inst2 will be: put(number in box4) into box9.{Now this will be used further}.
8. Last box-number mentioned in inst. 2 is 9.
number in box1=8.
So 9 is not less than 8 so go to step 9.
So our answer is box8=11, box11=9.
Read Full Answer
Report Error
Please Login First Click Here
None of the available answers is the correct:
step 1 : ins 1 : 2[Box 11] 3 = 5[Box 11]
step 2 : ins 2 : 8[Box 1] -> 8[Box 10]
step 3 : ins 3 : is 1 an odd number? YES
step 4 : ins 4 : go to instruction 6[Box 2[Box 6]]
step 5 : ins 6 : 4[Box 5] 5[Box 11] = 9[Box 11]
step 6 : ins 7 : change ins2: [Box 1 1] -> [Box 10 - 1]
step 7 : ins 8 : 9 < 8[Box 1] ? NO
step 8 : ins 9 : go to instruction 2
step 9 : ins 2 : 6[Box 2] -> 6[Box 9]
step 10 : ins 3 : is 2 an odd number? NO
step 11 : ins 6 : 4[Box 5] 9[Box 11] = 13[Box 11]
step 12 : ins 7 : change ins2: [Box 2 1] -> [Box 9 - 1]
step 13 : ins 8 : 8 < 8[Box 1] ? NO
step 14 : ins 9 : go to instruction 2
step 15 : ins 2 : 5[Box 3] -> 5[Box 8]
step 16 : ins 3 : is 3 an odd number? YES
step 17 : ins 4 : go to instruction 6[Box 2[Box 6]]
step 18 : ins 6 : 4[Box 5] 13[Box 11] = 17[Box 11]
step 19 : ins 7 : change ins2: [Box 3 1] -> [Box 8 - 1]
step 20 : ins 8 : 7 < 8[Box 1] ? YES
ANSWER: 5[Box 8] and 17[Box 11]
Read Full Answer
Report Error
Please Login First Click Here
None of the available answers is the correct:
Read Full Answer
Report Error
Please Login First Click Here
step 3 answer is NO. because box1 is 8 (event number)
Read Full Answer
Report Error
Please Login First Click Here