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

Sunny ate 100 apples in five days, each day eating 6 more than the previous day. How many apples did he eat on the first day?

0 Answers   3i Infotech,


5 tables and 10 chairs were sold for 20000.15%gain for table,10%loss on chair.overall profit rs 750.the cp of table is

5 Answers   Caterpillar,


A is sister of B. C is brother of D. D is sister of A. How is B related to D? (a) Brother (b) Brother or Sister (c) Sister (d) Data inadequate (e) None of these

9 Answers   Brother,


linux was introdse to

1 Answers  


What is the real aim of the life.

3 Answers  






(Words not repeated exactlybut question is this) Digit sliding means if there is a number 1627, after digit sliding it will be 7162. Say a lowest positive integer with unit digit as z, after digit sliding a new number is acquired which four times the original number before digit sliding. How many digits do the original number have?

1 Answers  


Complete the series: 5, 20, 24, 6, 2, 8, ?

0 Answers   Infosys,


2 12 30 56............. series?

9 Answers   Royal Mail,


"what category of job are you looking for and why"asked from an mep engineer.

0 Answers   Grocon Construction Australia,


There are two trees in a lawn. One grows at a rate 3/5 of the other in 4 years. If the total growth of trees is 8 ft. What is the height of the smaller tree after 2 years

0 Answers  


what is the difference between sports and games?

3 Answers   IBM,


a farmer has a rectangular plot.he wants to do fencing along one of the side wiyh the help of the posts.two posts being on two corners.he brings 5 post less than what he has initially plan because of which the distance between two consecutive post became 8m instead of 6m.what is the length of the side and number of post

1 Answers   TCS,


Categories