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

If m-4 is 7 more than n then m+9 is how much more than n+2

0 Answers   Changepond,


If two dies are thrown simultaneously what is the prob. of one of the dice getting face 6 ? a. 11/36 b. 1/3 c. 12/35 d. 1/36

3 Answers   Hughes,


there are 2 guards Bal and Pal walking on the side of a wall of a wearhouse(12m X 11m) in opposite directions. They meet at a point and Bal says to Pal " See you again in the other side". After a few moments of walking Bal decides to go back for a smoke but he changes his direction again to his previous one after 10 minutes of walking in the other(opposite) direction remembering that Pal will be waiting for to meet.If Bal and Pal walk 8 and 11 feet respectively, how much distance they would have travelled before meeting again.

1 Answers   Infosys,


+ means * and * means / and / means % what is the value of these question 2+3*5/7 it was two question of these type.

0 Answers   Accenture,


Plz, send me last five years all questions with answers of sbi clerkship exam

0 Answers   State Bank Of India SBI,






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,


Replace each letter by a digit. Each letter must be represented by the same digit and no beginning letter of a word can be 0. O N E O N E O N E O N E ------- T E N

1 Answers   Infosys,


.Both A and B Alice and Bob play the following chip-off-the-table game. Given a pile of 58 chips, Alice first picks at least one chip but not all the chips. In subsequent turns, a player picks at least one chip but no more than the number picked on the previous turn by the opponent. The player to pick the last chip wins. Which of the following is true?

0 Answers   TCS,


please send me model questions for clerk exam of bank

0 Answers  


Sir, I'm sonjoy bhadra, plz send me previous 10 years solved question papers for sbi clarical exam and also send one model paper pattern for this year

0 Answers  


What should come in place of the question mark (?) in the following letter AC FH KM PR ? (a) VW (b) UX (c) UW (d) TV (e) None of these

11 Answers  


what is the pattern for MAQ Software company

1 Answers   MAQ, MAQ Software,


Categories