Last week, the local Primary school was visited by the Government School Inspector who was there to check that teachers were performing well in their respective classes. He was very impressed with one particular teacher. The Inspector noticed that each time the class teacher asked a question, every child in the class put up their hands enthusiastically to answer it. More surprisingly, whilst the teacher chose a different child to answer the questions each time, the answers were always correct.
Why would this be?
The children were instructed to ALL raise their hands whenever a question was asked. It did not matter whether they knew the answer or not. If they did not know the answer, however, they would raise their LEFT hand. If they knew the answer, they would raise their RIGHT hand. The class teacher would choose a different child each time, but always the ones who had their RIGHT hand raised. funny
A public library suddenly announced that each member could borrow an unlimited number of books and not return them for up to six months. Why?
The library was moving to a new building, but due to poor budgeting, they had little money left for the move. By giving borrowers extra time, it ensures that the borrowers moved most of the books.logic
A duke was hunting in the forest with his men-at-arms and servants when he came across a tree.
Upon it, archery targets were painted and smack in the middle of each was an arrow.
"Who is this incredibly fine archer?" cried the duke. "I must find him!"
After continuing through the forest for a few miles he came across a small boy carrying a bow and arrow.
Eventually the boy admitted that it was he who shot the arrows plumb in the center of all the targets.
"You didn't just walk up to the targets and hammer the arrows into the middle, did you?" asked the duke worriedly.
"No my lord. I shot them from a hundred paces. I swear it by all that I hold holy."
"That is truly astonishing," said the duke. "I hereby admit you into my service."
The boy thanked him profusely.
"But I must ask one favor in return," the duke continued.
"You must tell me how you came to be such an outstanding shot."
How'd he get to be such a good shot?
The boy shot the arrow, then painted the circle around it.logic
You have just purchased a small company called Company X. Company X has N employees, and everyone is either an engineer or a manager. You know for sure that there are more engineers than managers at the company.
Everyone at Company X knows everyone else's position, and you are able to ask any employee about the position of any other employee. For example, you could approach employee A and ask "Is employee B an engineer or a manager?" You can only direct your question to one employee at a time, and can only ask about one other employee at a time. You're allowed to ask the same employee multiple questions if you want.
Your goal is to find at least one engineer to solve a huge problem that has just hit the company's factory. The problem is so urgent that you only have time to ask N-1 total questions.
The major problem with questioning the employees, however, is that while the engineers will always tell you the truth about other employees' roles, the managers may lie to you if they like. You can assume that the managers will do their best to confuse you.
How can you find at least one engineer by asking at most N-1 questions?
You can find at least one engineer using the following process:
Put all of the employees in a conference room. If there happen to be an even number of employees, pick one at random and send him home for the day so that we start with an odd number of employees. Note that there will still be more engineers than managers after we send this employee home.
Then call them out one at a time in any order. You will be forming them into a line as follows:
If there is nobody currently in the line, put the employee you just called out in the line.
Otherwise, if there is anybody in the line, then we do the following. Let's call the employee currently at the front of the line Employee_Front, and call the employee who we just called out of the conference room Employee_Next.
So ask Employee_Front if Employee_Next is a manager or an engineer.
If Employee_Front says "manager", then send both Employee_Front and Employee_Next home for the day.
However, if Employee_Front says "engineer", then put Employee_Next at the front of the line.
Keep doing this until you've called everyone out of the conference room. Notice that at this point, you'll have asked N-1 or less questions (you asked at most one question each time you called an employee out except for the first employee, when you didn't ask a question, so that's at most N-1 questions).
When you're done calling everyone out of the conference room, the person at the front of the line is an engineer. So you've found your engineer!
But the real question: how does this work?
We can prove this works by showing a few things.
First, let's show that if there are any engineers in the line, then they must be in front of any managers.
We'll show this with a proof by contradiction. Assume that there is a manager in front of an engineer somewhere in the line. Then it must have been the case that at some point, that engineer was Employee_Front and that manager was Employee_Next. But then Employee_Front would have said "manager" (since he is an engineer and always tells the truth), and we would have sent them both home. This contradicts their being in the line at all, and thus we know that there can never be a manager in front of an engineer in the line.
So now we know that after the process is done, if there are any engineers in the line, then they will be at the front of the line. That means that all we have to prove now is that there will be at least one engineer in the line at the end of the process, and we'll know that there will be an engineer at the front.
So let's show that there will be at least one engineer in the line. To see why, consider what happens when we ask Employee_Front about Employee_Next, and Employee_Front says "manager". We know for sure that in this case, Employee_Front and Employee_Next are not both engineers, because if this were the case, then Employee_Front would have definitely says "engineer". Put another way, at least one of Employee_Front and Employee_Next is a manager. So by sending them both home, we know we are sending home at least one manager, and thus, we are keeping the balance in the remaining employees that there are more engineers than managers.
Thus, once the process is over, there will be more engineers than managers in the line (this is also sufficient to show that there will be at least one person in the line once the process is over). And so, there must be at least one engineer in the line.
Put altogether, we proved that at the end of the process, there will be at least one engineer in the line and that any engineers in the line must be in front of any managers, and so we know that the person at the front of the line will be an engineer.logic
Mad Ade's Uncle, Phil Space, who doesn't like what passes for art these days, ran into the National Gallery and caused millions of pounds of damage to several masterpieces. Later that day, Uncle Phil was invited to meet the manager and was warmly thanked for his actions. How come?
Uncle Phil is a fireman The water from his house damaged the paintings as he put out a fire in the Gallery, but in the process rescuing hundreds of millions of pounds worth. cleanfunny
Why did the king go to the dentist?
To get a new crown.logic
An iron horse with a flaxen tail.
The faster the horse runs,
the shorter his tail becomes.
What is it?
A needle and thread.logicmath
A man who lives in Middletown has two girlfriends, one in Northtown and one in Southtown. Trains from the Middletown train station leave for Northtown once every hour. Separate trains from the station also leave for Southtown once every hour. No trains go to both Northtown and Southtown.
Each day he gets to the Middletown train station at a completely random time and gets onto the first train that is going to either Northtown or Southtown, whichever comes first.
After a few months, he realizes that he spends 80% of his days with his girlfriend from Northtown, and only 20% of his days with his girlfriend from Southtown.
How could this be?
The train to Northtown leaves every hour, on the hour (9:00AM, 10:00AM, etc...).
The train to Southtown leaves at 12 after the hour (9:12AM, 10:12AM, etc...).
So there is only a 12/60 (1/5) chance that he will end up on the train to Southtown each day, since he will usually get to the station during the 48 minutes of each hour when the train to Northtown will be the next to come.logic
Frank and some of the boys were exchanging old war stories. James offered one about how his grandfather (Captain Smith) led a battalion against a German division during World War I. Through brilliant maneuvers he defeated them and captured valuable territory. Within a few months after the battle he was presented with a sword bearing the inscription: "To Captain Smith for Bravery, Daring and Leadership, World War One, from the Men of Battalion 8." Frank looked at James and said, "You really don't expect anyone to believe that yarn, do you?" 7
What is wrong with the story?
It wasn't valled World War One until much later. It was called the Great War at first, because they did not know during that war and immediately afterward that there would be a second World War (WW II). logic
Jack and Joe were on vacation and driving along a deserted country road from the town of Kaysville to the town of Lynnsville. They came to a multiple fork in the road. The sign post had been knocked down and they were faced with choosing one of five different directions. Since they had left their map at the last gas station and there was no one around to ask, how could Jack and Joe find their way to Lynnsville?
They need to stand the signpost up so that the arm reading Kaysville points in the direction of Kaysville, the town they had just come from. With one arm pointing the correct way, the other arms will also point in the right directions.