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



There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

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

There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

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

There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

Answer / serverx

locker 1

Is This Answer Correct ?    28 Yes 17 No

There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

Answer / preethy

all the perfect squares

Is This Answer Correct ?    3 Yes 0 No

There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

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

There is a school with 100 students and correspondingly 100 lockers, all of which start off closed. ..

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

Post New Answer

More General Aptitude Interview Questions

A father age is 30 years older than his son and he has thrice of his son age after 5 years.Find father's age?

9 Answers   Tesco,


00000=120 It is possible,how

9 Answers   ADITI, College School Exams Tests, Infosys, TNPSC Tamil Nadu Public Service Commission, Welco Garment Machinery, Windows,


Find the hypotaneous of a right angle isoceles triangle whose area is 50.

0 Answers   Wipro,


2 men at same tym start walking towards each other from A n B 72 kms apart. sp of A is 4kmph.Sp of B is 2 kmph in 1st hr,2.5 in 2nd, 3 in rd. n so on…when will they meet i in 7 hrs ii at 35 kms from A iii in 10 hrs iv midway

7 Answers   Cap Gemini,


Next number in the series 1, 1/2, 1/4, 1/8 ?

0 Answers   BPCL Bharat Petroleum, Sonata,






A beats B by 10 meters and B beats C by 15 metres the A beats C by

0 Answers   Accenture,


In how many ways can 5 girls and 3 boys be seated in a row so that no two boys are together?

11 Answers   FHJ, TCL,


1,40,00,000 pencils are put up straight. all the pencils are of length range 3 to 6 inches. 80% of the pencils have average of five inches. so the find out the total length spanned by the penciles.

0 Answers   Wipro,


f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, Value of f(16)+f(15)-480

0 Answers   CTS,


5. A person, who decided to go to weekened trip should not exceed 8 hours driving in a day. Average speed of forward journey is 40 m/h. Due to traffic in sundays, the return journey average speed is 30 m/h. How far he can select a picnic spot?

4 Answers  


How many four digit numbers can be formed using the digits 1, 2, 3, 4, 5 (but with repetition) that are divisible by 4? Can you help Alok find the answer? a) 100 b) 125 c) 75 d) 85

3 Answers   TCS,


Two cars travel in the same direction at 40km/hr at a regular distance. A car comes in the opposite direction at 60km/hr. It meets each car in a gap of 8 seconds. What is the distance between the two cars?

4 Answers   Bhel,


Categories