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 / meenakshi chidambaram
all the prime numbers will be locked. and all other numbers will be open
| Is This Answer Correct ? | 0 Yes | 7 No |
Post New Answer View All Answers
ram singh goes to his office in the city, every day from his suburbun house. his driver mangaram drops him at the railway station in the morning and picks him up in the evening. Every evening ram singh reaches the station at 5 o'clock. mangaram also reaches at the same time. one day ramsingh started early from his office and came to the station at 4 o'clock. not wanting to wait for the car he starts walking home. Mangaram starts at normal time, picks him up on the way and takes him back house, half an hour early. how much time did ram singh walk.
Find the next letter in the series Q,W,E,R,T,--
hai friends i have finished my B.E CSE in 2009.now i have to get a interview opportunity from HP software ,chennai.please any one can send me the last year(2009) interview questions with answers for freshers.i want a full details about HP's interview question with answers,procedures also.such these one year i had try to get my job but still i have not get.so plese send me that what i said....by vijay,chennai
1) 1)difference between ip and non ip protocol.
three students appear in a test but no one write there name on answer sheet .and they submitted their sheet to teacher . when teacher distributed their answer sheet . what is probability that no one get their own answer sheet.
Two persons start at the same point, walk in opposite directions with 5km/hr and 5.5km/hr respectively. What is the distance separated after 2 and half hrs?
i want questions asked in interview
A car travels 12 kms with a 4/5th filled tank.How far will the car travel with 1/3 filled tank?
Girish invested a certain amount at the rate of 8% p.a. for 6 year to obtain an amount of Rs. 28046.How much amount did Girish obtain as simple interest?
cgl2010 tier 2 ki merit kya rhgi
In a certain college, 20% of the boys and 40% of the girls attended the annual college outing. If 35% of all the students are boys, what percent of all the employees went to the outing?
on an item a company gave 25% discount then they get 25% profit if it gives 10% discount then what is the profit.
a train covers the distance D between two cities in hours arriving 2 hours late.what rate would permit to train to arrive on schedule?
if length of a rectangle is increased by 20% and width is decreased by 20% the area will be
In an exam, a girl scores 85% in one subject and 88 % in another subject. What percentage does she score in the third subject to get an average of 88% marks?