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

To tease, King Akbar told his most clever advisor Birbal to give his daughter one thing that she can eat when hungry, drink if she feels thirsty and can burn if she feels cold. King Akbar was shocked when Birbal gave Akbar's daughter one such thing that satisfies all of the above.

What did Birbal give to Akbar's daughter?

Asked by Neha on 28 Jan 2023


Out of three Friends John, Jacob and Jonny one of them is a king, one is a bureaucrat, and one is a Spy.

The king always tells the truth, the bureaucrat always lies, and the Spy can either lie or tell the truth.

John says: Jonny is a bureaucrat
Jacob says: John is a king
Jonny says: I am a Spy

Tell me, Who is the king, who is the bureaucrat, and who is the Spy?

Asked by Neha on 03 Feb 2024

A California farmer owns a beautiful pear tree. He supplies the fruit to a nearby grocery store. The store owner calls the farmer to see how much fruit is available for him to buy. The farmer knows the main trunk has 24 branches. Each branch has exactly 12 boughs and each bough has exactly 6 twigs. Since each twig bears one piece of fruit, how many plums will the farmer be able to deliver?

Asked by Neha on 24 May 2025


Railroad Crossing, look out for the cars. Can you spell that, without any R's ?

Asked by Neha on 14 May 2021

Three doctors said that Bill was their brother. Bill says he has no brothers. How many brothers does Bill actually have?

Asked by Neha on 01 Mar 2022

As shown in the picture below, we can see a boy hanging on the tree branch to save his life. There are various ways in which he can die like1. A snake hanging toward the right waiting to bite the boy.2. A roaring Lion near the tree.3. Two crocodiles are ready to attack if the boy reaches near water. The tree is chopped to some extent, so can fall as if he moves a lot. Can you give this boy an escape plan?

The Escape Plan

Asked by Neha on 06 Jul 2023


Why 1729 is a magic number? Answer Logically.

Asked by Neha on 08 Dec 2023

What can you deduce from the following BrainBat?

CRY
LMKI

Asked by Neha on 26 Aug 2024

4 fathers, 2 grand-fathers and 4 sons went to watch the movie.What is the minimum number of tickets they need to buy ?

Asked by Neha on 04 Jan 2024


Eight of us go fourth, not back, to protect our king from an attack. What are we?

Asked by Neha on 17 Apr 2022

Hot Articles

Amazing Facts

Artificial Intelligence

Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.