A person is asked to put in a basket one apple when ordered 'one', one guava when ordered 'two', one orange whe ordered 'three' and is asked to take out from the basket one apple and one guava both when ordered 'four'. The ordered sequence executed by the person is as follows : 1 2 3 3 2 1 4 2 3 1 4 2 2 3 3 1 4 1 1 3 2 3 4 1. How many apples will be there in the basket at the end of the above order sequence ? (a) 4 (b) 3 (c) 2 (d) 1 2. How many fruits will be there in the basket at the end of the above order sequence ? (a) 13 (b) 17 (c) 9 (d) 11
Answers
Answered by
4
answer1Each time we order 1, one apple is added to the basket but each time when 4 is ordered, one apple is removed from it.
Required number of apples = number of 1's - number of 4's = 6 - 4 = 2
answer 2.Each time we order 1, 2 or 3, one fruit is added to the basket but when ever we order 4, two fruits are removed from it.
Required number = Number of 1's + Number of 2's + Number of 3's - 2 x (Number of 4's)
= 6 + 6 + 7 - (2x4)
= 19 - 8
= 11.
I hope this will help you
if not then comment me
Required number of apples = number of 1's - number of 4's = 6 - 4 = 2
answer 2.Each time we order 1, 2 or 3, one fruit is added to the basket but when ever we order 4, two fruits are removed from it.
Required number = Number of 1's + Number of 2's + Number of 3's - 2 x (Number of 4's)
= 6 + 6 + 7 - (2x4)
= 19 - 8
= 11.
I hope this will help you
if not then comment me
Answered by
5
A person is asked to put in a basket one apple when ordered 'one', one guava when ordered 'two', one orange whe ordered 'three' and is asked to take out from the basket one apple and one guava both when ordered 'four'. The ordered sequence executed by the person is as follows : 1 2 3 3 2 1 4 2 3 1 4 2 2 3 3 1 4 1 1 3 2 3 4 1. How many apples will be there in the basket at the end of the above order sequence ? (a) 4 (b) 3 (c) 2 (d) 1 2. How many fruits will be there in the basket at the end of the above order sequence ? (a) 13 (b) 17 (c) 9 (d) 11
≈≈≈≈≈≈≈≈
ŦΉΛПKŞ
≈≈≈≈≈≈≈≈
Similar questions