TCS Company Logical Reasoning Logical Sequences

There r 1000 lockers and 1000 students in a school. the principal asks the 1st student to go to every locker and open it. then he has the 2nd student go to every 2nd locker and close it. the 3rd goes to every 3rd locker and, if it is closed he opens it, and if it is open, he closes it. the fourth student does this to every fourth locker and so on. the process is completed with the 1000th student. How many lockers are open?

Read Solution (Total 6)

TCS Other Question

My next door neighbour lies a lot. In fact, he only tells the truth on one day a week! One day he told me, “I lie on Mondays and on Tuesdays.”The next day he said, “Today is either Thursday, Saturday or Sunday.”The next day he said, “I lie on Wednesdays and Fridays.”
On which day of the week does my neighbour tell the truth?
In a hostel there are 1000 students in 1000 rooms. One day the hostel warden asked the student living in room 1 to close all the doors of the 1000 rooms. Then he asked the person living in room 2 to go to the rooms which are multiples of his room number 2 and open them. After he ordered the 3rd student to reverse the condition of the doors which are multiples of his room number 3. If He ordered all the 1000 students like the same, Finally how many doors of those 1000 rooms are in open condition?