Wednesday, January 16, 2013

Computer Brainteasers

From http://www.braingle.com/brainteasers/teaser.php?op=2&id=402&comm=0

There is a device that can add, subtract, multiply, divide, do any mathematical problem, write in any language, find out any universal problem, tell you any secret, and solve all human questions. It was invented quite a long time ago, is small enough to fit in your pocket, has a deleting device on it as standard equipment and only costs a few cents. How can a store sell such a magnificent device for a few cents without losing money? What is this great product and why hasn't the world used it for its maximum power?

Answer

It's a pencil.

From http://www.braingle.com/brainteasers/44337/computer-mix-up.html
 Katie, Peter and Thomas were fighting for which computer they would get in the house. Use these clues to find out who got a computer in which room and what game they were playing.

1. The computer in the study was being used by someone playing minesweeper.

2. Tetris was being played by Peter.

3. The dining room was not being used by Peter or Thomas.

4. Thomas was not in the lounge room but was playing minesweeper.

5. Katie wasn't playing tetris.

6. Peter was in the lounge room.

Answer

Here are the answers -

Computer 1.
- lounge room
- Peter
- tetris

Computer 2.
- study
- Thomas
- minesweeper

Computer 3.
- dining room
- Katie
- pinball


From http://www.braingle.com/brainteasers/13523/computer-virus.html 

Philomath sits down at his computer at twelve o'clock and starts his English assignment. He types the first four sentences and then discovers to his amazement that a strange virus seems to have affected his computer. For even though he types in English and according to the correct letters as denoted by his keyboard, a baffling array of letters appear. Below is a transcript of what he typed:

Sicop n ivuykce ujhi yu h adwxes'u ged?
Zowd kct nqui qucmug lne orvj zluyocaug:
Uszmo erxos ep vlfql bqo oasnlrl hblb yq Mcb,
Esj zcvwpr't nhexk oicr llm vr wmuyb j nltf.

He has forgotten what he has written so he tries to decipher the code to avoid having to start again. After one hour, he still hasn't figured it out. He then looks at the clock on the wall and decodes his assignment.

What is the virus doing and what does the above say?
 

Answer

The clue lies in the fact that he looks at the clock. He starts at 12 o'clock. When you look at an analogue clock the hour hand and the minute hand point to the same number. One hour later there is a difference of 1, namely the minute hand is pointing to the 12 and the hour hand to the 1.
So the code starts at 12 o'clock, thus the first letter is the same as the real text. The second letter is 1 letter after the real text, the third 2, etc., until the 12th, and then you're back to 12 o'clock and it starts again.
So what did Philomath type?

Shall I compare thee to a summer's day?
Thou art more lovely and more temperate:
Rough winds do shake the darling buds of May,
And summer's lease hath all to short a date.

No comments:

Post a Comment