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 |
Fathers age is 5 times his son's age. 4 years back the father was 9 times older than son.Find the fathers' age.
Find the result of the following _expression if, M denotes modulus operation, R denotes round-off, T denotes truncation: M(373,5)+R(3.4)+T(7.7)+R(5.8)
types of shares
15 men take 21 days of 8 hrs. each to do a piece of work. How many days of 6 hrs. each would it take for 21 women if 3 women do as much work as 2 men?
A person has his own coach&whenever he goes to railway station he takes his coach.One day he was supposed to reach the railway station at 5 O'clock.But he finished his work early and reached at 3 O'clock. Then he rung up his residence and asked to send the coach immediately. He came to know that the coach has left just now to the railway station. He thought that the coach has left just now to the railway station.He thought that he should not waste his time and started moving towards his residence at the speed of 3mi/hr.On the way,he gets the coach and reaches home at 6 o'clock.How far is his residence from railway station.
A small town's industries have a total turnover of Rs. 25,00,000. If the town council plans to raise Rs.170,000 through octroi levy, what % levy should it charge on the industries?
There are 12 boys and 15 girls, How many different dancing groups can be formed with 2 boys and 3 girls. Which of the following fractions is less than 1/3?
Business Analytics What's the difference between logistic and linear regression? How do you avoid local minima?
If r = 5, n=3 and if first pole has 2 flags, third pole has 1 flag, how many ways can the flags be arranged?
what should be the age of father if his children was just half of the age of father when he was 30
Find the correct meaning of the following phrase: To bite the dust
There are 8 stamps, 4 Red and 4 Green. There are three logicians also. One moderator sticks thow stamps each on the forhead of each logician such that each of them can see all the stamps except those on his forhead and the two in moderator's pocket. Then the moderator asked each whether he knows the colors of the stamps he wears? Then the answeres were: A: "No" B: "No" C: "No" A: "No" B: "Yes" What were the colours of the stamps that B wears?