Ques:- Speak on your unforgettable or memorable day for two minutes?
Ques:- A rich man died. In his will, he has divided his gold coins among his 5 sons, 5 daughters and a manager. According to his will: First give one coin to manager. 1/5th of the remaining to the elder son.Now give one coin to the manager and 1/5th of the remaining to second son and so on….. After giving coins to 5th son, divided the remaining coins among five daughters equally.All should get full coins. Find the minimum number of coins he has?
Recent Answer : Added by Biplab Nath On 2021-07-31 16:35:53:
Answer: 3121 gold coins
Let total no of coins be M
Let the disbursement D to each son:
D1 = 1 + (M – 1)/5 = (M + 4)/5
D2 = 1 + ( M – D1 -1)/5 = (D1) * 4/5
D3= (D2) * 4/5
D4= (D3) * 4/5
D5= (D4) * 4/5
Total disbursements to sons=
= ∑D= (M+4)*1/5[ 1+4/5+(4/5)(4/5)+ (4/5)(4/5)(4/5)+(4/5)(4/5)(4/5)(4/5) ]
= (2101/3125)*(M+4)
Thus balance left for daughters =M-{(2101/3125)*(M+4)}
=(1024M-8404)/3125
This balance should be a positive integer ( assuming M and all disbursements are full coins )
Thus 1024M-8404 should be a multiple of 3125….so….
1024M – 8404 = N*3125 where N is an integer
Using Python code:
n=int(input(“Enter num n: “))
X=int()
a=int()
a=0
X=’ ‘
for a in range(0,n+1):
a=a+1
X= (3125*a + 8404)/1024
if (3125*a + 8404)% 1024== 0:
print(X,a)
Enter num n: 10000
3121.0 1020
6246.0 2044
9371.0 3068
12496.0 4092
15621.0 5116
18746.0 6140
21871.0 7164
24996.0 8188
28121.0 9212
We get minimum value of N = 1021 and M = 3121 gold coins
Ques:- There is a 50m long army platoon marching ahead. The last person in the platoon wants to give a letter to the first person leading the platoon. So while the platoon is marching he runs ahead, reaches the first person and hands over the letter to him and without stopping he runs and comes back to his original position. In the mean time the whole platoon has moved ahead by 50m. The question is how much distance did the last person cover in that time. Assuming that he ran the whole distance with uniform speed.
Recent Answer : Added by Admin On 2020-05-17 12:00:37:
The last person covered 120.71 meters.
It is given that the platoon and the last person moved with
uniform speed. Also, they both moved for the identical
amount of time. Hence, the ratio of the distance they
covered – while person moving forward and backword – are
equal.
Let’s assume that when the last person reached the first
person, the platoon moved X meters forward.
Thus, while moving forward the last person moved (50+X)
meters whereas the platoon moved X meters.
Similarly, while moving back the last person moved [50-(50-
X)] X meters whereas the platoon moved (50-X) meters.
Now, as the ratios are equal,
(50+X)/X = X/(50-X)
(50+X)*(50-X) = X*X
Solving, X=35.355 meters
Thus, total distance covered by the last person
= (50+X) + X
= 2*X + 50
= 2*(35.355) + 50
= 120.71 meters
Note that at first glance, one might think that the total
distance covered by the last person is 100 meters, as he
ran the total lenght of the platoon (50 meters) twice.
TRUE, but that’s the relative distance covered by the last
person i.e. assuming that the platoon is stationary.
Ques:- Program in C for factorial of a given number
Ques:- The following question asked at Infosys campus recruitment held at Pragathi. If 1>= y > x and xy=z.which of the following is not true? i)z>0 ii)x=z iii)y=z iv)z>y
Recent Answer : Added by Admin On 2020-05-17 12:01:07:
1>=y>x => y belongs to (-infinity,1]
x belongs to (-infinity,y)
if both x and y are negitive z can be greater than zero and
can be greater than y(1 and 4 are true)
if y equals 1 then x can be equal to z(2 is true)
therefore y=z is not true for any value of x and y
Ques:- Why you going to join in this company?
Ques:- When your team encounters a problem, such as irritation with another co-worker, how do you reach a good resolution?
Ques:- Plc automation
Ques:- Roles and responsibility and salary
Ques:- In 60 reems of paper 40 reems were utilised then what percent will remain?
Recent Answer : Added by Admin On 2020-05-17 11:59:18:
Total=60reems
Utilized=40reems
Un utilized= 60-40=20
Percentage of remainder 20/60=.3333
0.33333*100=33.333%
Ques:- Any member in ICICI
Ques:- 3 cubes of metal whose edges are 9, 12 and 15 cm respectively, are melted and one new cube is made. Find the edge of the new cube?
Recent Answer : Added by Anna On 2021-10-22 09:13:17:
let a = 9 * 9 * 9;
let b = 12 * 12 * 12;
let c = 15 * 15 * 15;
sum = a + b + c;
edge = Math.cbrt(sum);
console.log(edge);
Ques:- A,H,A,L,?,H,E
Recent Answer : Added by Admin On 2020-05-17 12:04:28:
the answer is E
Ques:- To permit operations of private life insurance companies in India, Government of India revised the Insurance Regulatory and Development Authority (IRDA) Act in the year 1992 1983 2004 2001?
Ques:- Why do you want to work at our company?
Ques:- The least number should be added to 2497 so that the sum is exactly divisible by 5, 6, 4 and 3 is
A. 3
B. 13
C. 23
D. 33
Recent Answer : Added by Shahram Hakimi On 2022-08-14 18:02:57:
23
Ques:- The houses are numbered 1,2,3,? and reach the end of the street and backtracks toward s the starting point. The house numbered 10 is opposite to 23. there are even no of houses. Find the total no of houses.
Recent Answer : Added by Pritam Das On 2022-03-09 16:33:24:
32
Ques:- For what reasons you want to join this organization?
Ques:- A new apartment complex purchased 60 toilets and 20 shower heads. If the price of a toilet is three times the price of a shower head, what percent of the total cost was the cost of all the shower heads?
Recent Answer : Added by Abhishek Chabri On 2022-10-08 07:25:39:
10%
Ques:- Wat do u mean by success?
Ques:- A train speeds past a pole in 15 seconds and a platform 100 m long in 25 seconds.What is Its length ?
Recent Answer : Added by Satwick On 2021-10-28 16:06:12:
Let’s say, length of train = x metres
Speed at pole = Speed at platform
x/15 = 100+x / 25
5x = 300 + 3x
2x = 300
x = 150m
So, train is 150 metres long.
Ques:- The H.C.F. of 0.54, 1.8 and 7.2 is
A. 0.18
B. 0.018
C. 1.8
D. 18
Recent Answer : Added by vishakha yadav On 2022-05-17 08:54:24:
0.18
Ques:- What are three words you would use to describe yourself?
Ques:- Why Switched to MBA after BCA?
Ques:- List out the difference between the largest and the smallest number written with 7, 7, 0, 7?
Recent Answer : Added by vinita On 2022-08-14 16:33:13:
7770-7077=693
Ques:- A train covered x km at 40 kmph and another 2x km at 20 kmph. Find the average speed of the train in covering the entire 3x km.
Recent Answer : Added by Rakesh Keshri On 2021-09-07 17:39:41:
Answer: 3121 gold coins
Let total no of coins be M
Let the disbursement D to each son:
D1 = 1 + (M – 1)/5 = (M + 4)/5
D2 = 1 + ( M – D1 -1)/5 = (D1) * 4/5
D3= (D2) * 4/5
D4= (D3) * 4/5
D5= (D4) * 4/5
Total disbursements to sons=
= ∑D= (M+4)*1/5[ 1+4/5+(4/5)(4/5)+ (4/5)(4/5)(4/5)+(4/5)(4/5)(4/5)(4/5) ]
= (2101/3125)*(M+4)
Thus balance left for daughters =M-{(2101/3125)*(M+4)}
=(1024M-8404)/3125
This balance should be a positive integer ( assuming M and all disbursements are full coins )
Thus 1024M-8404 should be a multiple of 3125….so….
1024M – 8404 = N*3125 where N is an integer
Using Python code:
n=int(input(“Enter num n: “))
X=int()
a=int()
a=0
X=’ ‘
for a in range(0,n+1):
a=a+1
X= (3125*a + 8404)/1024
if (3125*a + 8404)% 1024== 0:
print(X,a)
Enter num n: 10000
3121.0 1020
6246.0 2044
9371.0 3068
12496.0 4092
15621.0 5116
18746.0 6140
21871.0 7164
24996.0 8188
28121.0 9212
We get minimum value of N = 1021 and M = 3121 gold coins