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

Manish and Manoj play 5 games of chess.
Both Manish and Manoj win the exact same number of games. There is no tie at all.

How?

Asked by Neha on 11 Feb 2024


A woman lives in a skyscraper thirty-six floors high and is served by several elevators which stop at each floor going up and down. Each morning she leaves her apartment and goes to one of the elevators. Whichever one she takes is three times more likely to be going up than down. Why?

Asked by Neha on 01 Nov 2024

A time long back, there lived a king who ruled the great kingdom of Trojan House. As a part of the renovation of the kingdom to meet future security needs, he asked his chief architect to lay down a new play in a manner that all of his 10 castles are connected through five straight walls and each wall must connect four castles together. He also asked the architect that at least one of his castles should be protected with walls. The architect could not come up with any solution that served all of King's choices, but he suggested the best plan that you can see in the picture below. Can you find a better solution to serve the king's demand?

Castles in a line

Asked by Neha on 18 Sep 2023


A bomb exploded in a room full of married couples and no one died. How?

Asked by Neha on 10 May 2025

500 women soldiers are arranged in an array of ten rows and fifty columns in accordance with their respective heights. Now, the tallest woman from each row is asked to move out in the front. From them, the shortest one is labelled as Alpha. They are then asked to resume their original position.

Now, the shortest woman in each column is asked to come out in front. The tallest among them is labelled as Beta.

Can you find out if Alpha will be taller or Beta?

Asked by Neha on 16 Sep 2025

What is the end of everything?

Asked by Neha on 18 Jul 2025


It spends most of its day eating white, but when it’s quick enough, it gets to eat fruit and sometimes some blue things. It’s in a dark room, where the walls are blue, it runs from a ghost that roams the halls and haunts it all the time. What is it?

Asked by Neha on 30 May 2025

If I remove one from eleven it becomes Ten and if I remove one from nine also becomes Ten. How?

Asked by Neha on 25 Oct 2023

I am first found in caves, now prolific online; I am a depiction, a drawing, a symbol, or sign. I will convey whichever mood you could wish; or for that matter, a fist, flask, or fish. What am I?

Asked by Neha on 14 Apr 2022


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

Asked by Neha on 05 May 2025

Hot Articles

Amazing Facts

Crossword

The day before the 1996 U.S. presidential election, the NYT Crossword contained the clue “Lead story in tomorrow’s newspaper,” the puzzle was built so that both electoral outcomes were correct answers, requiring 7 other clues to have dual responses.