There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. The first student opens every locker and the second students closes every other locker starting with the second (2,4,6...etc..) . The 3rd student changes the state of the lockers numbered (3,6,9.. etc.). The fourth student changes the state of the lockers numbered (4,8,12.. etc..).. This continues until all the 100 students passes along the lockers.. when all the 100 student is done which locker is closed and which locker is in open condition?
Answers were Sorted based on User's Feedback
Answer / dhinesh
The perfect squares' lockers are open => 1,4,9,16,25,36,49,64,81,100. and others are closed...
| Is This Answer Correct ? | 77 Yes | 2 No |
Answer / sangavi
1,4,9,16,25,36,49,64,81,100. these lockers only be opened
| Is This Answer Correct ? | 14 Yes | 0 No |
Answer / meenakshi chidambaram
all the prime numbers will be locked. and all other numbers will be open
| Is This Answer Correct ? | 0 Yes | 7 No |
Answer / kiruthika.s
All the odd number lockers are opened,all the even number lockers are closed
| Is This Answer Correct ? | 2 Yes | 13 No |
Eulers formula ?
if on a salary of rs."S" per month,one has to pay one tax of x rs. And a second type of tax of y rs then % of salary taken home is?
A secret can be told only 2 persons in 5 minutes .the same person tells to 2 more persons and so on . How long will take to tell it to 768 persons ?
20 Answers Cognizant, CTS, DCE,
A Father is willing his estates like this. If a boy is born, wife has 1/3 part and remaining for boy. If a girl is born, Wife has 2/3 and remaining for the girl. But twins (Boy + Girl) are born. What is the share that the daughter would get?
A person travels 12 km in the southward direction and then travels 5km to the right and then travels 15km toward the right and finally travels 5km towards the east, how far is he from his starting place?
The least number which is divided by 2,16,24,36 leave a reminder 7 in each case please provide answer with explanation
Find the missing number : 0, 6, 29, 63,124?
3 Answers Godrej, Godrej and Boyce, HCL, Infosys, TCS,
Find the hypotaneous of a right angle isoceles tringle whose area is 50.
2. The following list shows the preference of 102 people at a wine-tasting party: 99 like Spanada ,94 like Ripple and Boone’s 96 like Ripple,96 like Spanasa and Boone’s 99 like Boone’s Farm Apple Wine ,93 like all three 95 like Spanada and Ripple How many people prefer: a) none of the three? ______________ b) Spanada, but not Ripple? ______________ c) anything but Boone’s Farm? ______________ d) exactly two kinds of wine? ______________
. Which of the following is not a VSAM dataset. a. KSDS b. RRDS c. LSDS d. ESDS
A thief steals half the total no of loaves of bread plus 1/2 loaf from a bakery. A second thief steals half the reaming no of loaves plus 1/2 loaf and so on. After the 5th thief has stolen there are no more loaves left in the bakery. What was the total no of loaves did the bakery have at the beginning.
If a clock takes 7seconds to strike 7, how long will the same clock take to strike 10?