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?
Answer Posted / 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 View All Answers
City B is 5 miles east of City A. City C is 10 miles southeast of City B. Which of the following is the closest to the distance from City A to City C?
a father is 30 times more than his son however he will be only thrice as old as the son what is father's present age ?
An array was given and we were required to write a function : int CalculateThirdHighest(int a[ ]) : which calculates the third highest number in the array. While coding in C remember to calculate the length of array using formulae length of array=sizeof(a)/sizeof(int). Because the number of elements of array were not passed as argument. i want a solution in C/C++ language
If a square is formed by the diagonal of the square as an edge, what is the ratio between the area?
If Ever + Since = Darwin then D + a + r + w + i + n is ?
The diameter of a wheel is 1.26m. If this wheel rotates 500 rotations, how long it can travel?
Mary's father's brother is Andrews Andrews daughter's son is Sunil Brothers name is Sam Who is Sam to Sunil?
A bus started from bustand at 8.00a m and after 30 min staying at destination, it returned back to the bustand. the destination is 27 miles from the bustand. the speed of the bus 50 percent fast speed. at what time it retur4ns to the bustand
There are three types of tickets available for a concert: orchestra , which cost $12 each; balcony, which cost$9 each: and box, which cost $25 each. There were P orchestra tickets , B balcony tickets, and R box tickets sold for the concert. Which of the following expressions gives the percentage of ticket proceeds due to the sale of orchestra tickets?
A cycled from P to Q at 10 kmph and returned at the rate of 9 kmph. B cycled both ways at 12 kmph. In the whole journey B took 10 minutes less than A. Find the distance between P and Q.
Hello sir, I am Ravindra singh from delhi & I m 25 year old, I have 5 years work experience in sales coordination and my education qualification is B Com, I want to know what should I do after B Com MBA in sales and marketing or supply chain management Or PGDCA , Please suggest me, Thanks Regards Ravindra singh
A boy scores 9 marks more than his friend in an exam and has 56% marks of the total of their marks. Calculate the marks scored by each of them.
A ship went on a voyage.After it had travelled 180 miles a plane statrted with 10 times the speed of the ship. An army 50 miles long marches at a constant rate. A courier standing at the rear moves forward and delivers the message to the first person and then turns back and reaches the rear of the army as the army completes 50 miles. Find the distance travelled by the courier.
The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ?
in pure milk if 20% replaced by water and in this again 20% is replaced by water and again 20% is replaced by water then what is the proportion of milk in that mixture