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

A boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50." The boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less. In the end the boy ended up paying the man $50. How did the man win the bet?

Asked by Neha on 25 Mar 2022


Why do you find that most of the buildings are deprived of the 13th floor?

Asked by Neha on 11 Jan 2025

Lifeless eyes on my smiling face and watch your child's sleeping place. In their dreams they hold me tight. What am I?

Asked by Neha on 17 Oct 2021


The following four words might seem abrupt to you. But you can make them meaningful by just adding vowels.
RDSH
GGPLNT
TMT
NN

Hint: All of them are vegetables.

Asked by Neha on 13 Nov 2025

A man is found dead with a knife in his back When the investigation is done. A chair lays beside him and the forensic team finds moisture around the body.

If he committed suicide, how did he do it?

Asked by Neha on 29 Nov 2025

What has many teeth, but cannot bite?

Asked by Neha on 15 Jul 2025


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

I got a bee but no honey.
got an eye but am still blind.
got a sea but no water.
got a tea but no coffee.
got a why but no answer.

What Am I?

Asked by Neha on 20 Mar 2024

In a classic wine shop, the list of three most popular wines are:
- The cost of 1 French wine bottle: 500$
- The cost of 1 German wine bottle: 100$
- The cost of 20 Dutch wine bottles: 100$

John entered the wine shop and he needs to buy
- All three types of wine bottles.
- Needs to buy Dutch wine bottles in multiples of 20.
- Need to buy 100 wine bottles in total.

John has only 10000$. How many wine bottles of each type, John must buy?

Asked by Neha on 19 Aug 2023


Create a number using only the digits 4,4,3,3,2,2,1 and 1. So i can only be eight digits. You have to make sure the ones are separated by one digit, the twos are separated by two digits the threes are separated with three digits and the fours are separated by four digits

Asked by Neha on 16 Sep 2021

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.