InterviewSolution
| 1. |
Atif has 4630 chocolates 2364 fruits he wants to distribute them among 23 children. At least how many more chocolates and fruits he need to divide equal number of chocolates and fruit to each child and still left with 2 chocolates and 1 fruit for him?1). 17 chocolates and 5 fruits2). 18 chocolates and 6 fruits3). 5 chocolates and 18 fruits4). 6 chocolates and 17 fruits |
|
Answer» Let us ASSUME he needs X chocolate and y fruits more to distribute equal number of chocolate and fruits Then total chocolate = 4630 + x And total fruits = 2364 + y Number of chocolate left after saving two chocolates for himself = 4630 + x – 2 = 4628 + x Number of chocolate left after saving one fruit for himself = 2364 + y – 1 = 2363 + y As we have already took away 2 chocolates and 1 fruit for Atif now after distributing remaining things among 23 children no chocolate or fruit should left, i.e. ⇒ REMAINDER of (4628 + x)/23 = 0 And remainder of (2363 + y)/23 = 0 We KNOW that, If N = A+ B + C…, then the remainder when N is divided by X is equal to the sum of the remainders when A, B, C ... are divided by X. ⇒ Remainder of (N/X)= Remainder of (A/X) + Remainder of (B/X) + Remainder of (C/X)…… ∴Remainder of (4628 + x)/23 = remainder of 4628/23 + remainder of x/23 = 0 ⇒ 5 + remainder of x/23 = 0 ⇒ Remainder of x/23 = –5 Here negative remainder indicates that x is 5 shorter than 23 and minimum value of such x is 23 – 5 = 18 Similarly, ∴Remainder of (2363 + y)/23 = remainder of 2363/23 + remainder of y/23 = 0 ⇒ 17 + remainder of y/23 = 0 ⇒ Remainder of y/23 = – 17 Here negative remainder indicates that y is 17 shorter than 23 and minimum value of such y is 23 – 17 = 6 So Atif needs 18 more chocolates and 6 more fruits |
|