Fruits Collection in a Sequential Order


What was that order?

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.

The question asks the final count of apple in the basket.

One apple is placed in the basket on order of ONE and one apple is removed when ordered FOUR.

So,

the number of apples placed in basket = Number of 1's in order sequence.

and

the number of apples taken out of basket = Number of 4's in order sequence.

Then,

the number of apples remaining in the basket = Number of 1's in order sequence - Number of 4's in order sequence = 6 - 4 = 2.




----------------------------------------------------------------------- 

Q.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.


ANSWER - (C) 2

----------------------------------------------------------------------- 

Each time 1, 2 or 3 ordered, one fruit is added to the basket but when ever 4 is ordered, two fruits are removed from it.

Total number of fruits = 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.


----------------------------------------------------------------------- 

Q.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

ANSWER - (d) 11

----------------------------------------------------------------------- 

Fruits Collection in a Sequential Order
 
 
 

Comments

Follow me on Blogarama