Principal in the School

A high school has a strange principal. On the first day, he has his students perform an odd opening day ceremony:

There are one thousand lockers and one thousand students in the school. The principal asks the first student to go to every locker and open it. Then he has the second student go to every second locker and close it. The third goes to every third 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. After the process is completed with the thousandth student, how many lockers are open?

Principal in the School




Similar Riddles

Two boys wish to cross a river. The only way to get to the other side is by boat, but that boat can only take one boy at a time. The boat cannot return on its own, there are no ropes or similar tricks, yet both boys manage to cross using the boat.

How?

Asked by Neha on 14 Oct 2025


There are a number of books on a shelf. If one book is the 4th from the left and 6th from the right, how many books are on the shelf?

Asked by Neha on 28 Sep 2021

There is a place where if I stand up straight, I will still be considered sideways.

Asked by Neha on 05 May 2025


Replace the letters of words with a number so that the below equation holds true

BASE +
BALL
---------
GAMES
----------

Asked by Neha on 10 Oct 2023

If I put in one bird per cage, I have one bird too many. If I put in two bird per cage, I have one cage too many. How many cages and birds do I have?

Asked by Neha on 25 Apr 2024

When it is alive we sing, when it is dead we clap our hands. What is it?

Asked by Neha on 22 Aug 2025


There was a blind man. He had four socks in his drawer either black or white. He opened it and took out two socks. Now the probability that it was a pair of white socks is 1/2.

Can you find out the probability that he had taken out a pair of black socks ?

Asked by Neha on 19 Mar 2023

Can you find a pattern and the missing number in the series given below?

100, 155, 258,? , 584, 819.

Asked by Neha on 23 Sep 2024

At a party, there are five people and a whole round cake lying at the centre of the table. Only four people will make a cut and take their piece and the last one will get the remaining piece on the table. How can they make sure that everyone gets a 1/5th of the piece?

Asked by Neha on 20 Sep 2024


A train full of passengers goes through a tunnel. When the train comes out from the other end, there is no single person on the train.

How did it happen?

Asked by Neha on 26 Dec 2025

Hot Articles

Amazing Facts

Jigsaw puzzles

Jigsaw puzzles soared in popularity during the great depression, as they provided a cheap, long-lasting, recyclable form of entertainment.