Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Try to solve the puzzles if you can

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> General Talk & Fun Stuff
View previous topic :: :: View next topic  
Author Message
sirisha25

New User


Joined: 21 Aug 2006
Posts: 2

PostPosted: Tue Oct 03, 2006 3:29 pm    Post subject: Try to solve the puzzles if you can
Reply with quote

1.1 1 9 9:
Combine the 4 numbers (individually) 1,1,9,9 using only the operators +,-,*,/, and brackets, to form the number 10.

2.Numbers:
What would you be buying if the price of 1 was $1, the price of 12 was $2, and the price of 166 was $3?

3.Six oranges and Six boys:
You have 6 oranges in a box and 6 boys each of whom would like an orange.
How to you divide the 6 oranges amoung the 6 boys without cutting the oranges so that there is still one orange left in the box?

4.Picking Apples
If 4 boys can pick 4 apples in 4 minutes, how many boys are needed to pick 100 apples in 100 minutes?

5.In a Circle

A number of children are standing in a circle. They are evenly spaced and the 8th child is directly opposite the 18th child. How many children are there altogether?

6.The Carpenter and the Nails

A 32" x 32" square metal plate needs to be fixed by a carpenter on to a wooden board. The carpenter uses nails all along the edges of the square such that there are 33 nails on each side of the square. Each nail is at the same distance from the neighboring nails. How many nails does the carpenter use?

7.Mystery Suicide
Someone has committed suicide by hanging themselves in a high ceiling room. The is nothing else in the room except for a pool of water on the floor.How did the person commit suicide?

8.Labels
You are presented with three closed boxes, labelled "Apples", "Oranges", and "Apples and Oranges". Further, you are told that all the labels are wrong. By looking at a single fruit from one box you can correctly label the three boxes. How?


9.3 Switches
You are standing outside the first floor entrance to a building. Next to you is a bank of 3 light switches. One of the switches controls a light bulb in a stock room on the second floor. The other two switches don't control anything. The only way you can check the light on the second floor stock room is to physically walk up the stairs, open the door to the stock room, and check the light. You can do anything to the switches that you want before you walk up the stairs, however you are allowed only one trip up the stairs to check the light. Assuming the light and switches are off to start with, how do you find out which light switch controls the light using only one trip to the room?


10.4 men crossing a bridge
There are 4 men who want to cross a bridge. They all begin on the same side. You have 17 minutes to get all of them across to the other side. It is night. There is one flashlight. A maximum of two people can cross at one time.
Any party who crosses, either 1 or 2 people, must have the flashlight with them. The flashlight must be walked back and forth, it cannot be thrown, etc. Each man walks at a different speed. A pair must walk together at the rate of the slower man's pace

11.How Many Coconuts
Four men and a monkey are stranded on a desert island. They decide to gather coconuts and the next day, they will evenly split the total amoung themselves. The four men work hard all day and by nightfall, they combine the fruits of their labor into a large pile. The men are exhausted after the long day of work and go to bed agreeing to evenly divide the pile of coconuts amoungst themselves the next day.
One by one, each man awakens during the night and divides the pile of coconuts into four equal piles with exactly one coconut left over. The man takes one pile for himself and hides them. He gives the one leftover coconut to the monkey. He combines the remaining coconuts into a pile.
Each man in turn divides the pile into four equal piles and each time there is one coconut leftover which is given to the monkey.
The next day, the four men gather to divide the remaining pile of coconuts into four equal piles and again there is one coconut leftover which is given to the monkey.
What is the minimum number of original coconuts?


icon_wink.gif Good Luck.

With Smiles
Sirisha

Always be happy.Keep Smiling.
Back to top
View user's profile Send private message

IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Tue Oct 03, 2006 4:53 pm    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

3. Give 5 boys one orange each, give the 6th boy the last orange but still in the box.

7. He had a block of ice to stand on , which has now melted.
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Tue Oct 03, 2006 7:27 pm    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

2. Numbers (eg for a gate or door)
4. 4
5. 20
6. 128
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Wed Oct 04, 2006 6:58 pm    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

8.
Select a fruit from the box labelled apples/oranges
Whatever you select is must be what is contained in it as it cannot contain both, according to the rules
So if for example you select an orange then that is the correct label to put on it.
The box labelled apples can only possibly contain apples/oranges or oranges. As we now know that it does not contain oranges then it must contain apples/oranges
The final box labelled oranges therefore contains apples
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Oct 05, 2006 12:25 am    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

10.
not sure how anyone can work this one out if we do not know how fast each man can walk??????
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Oct 05, 2006 1:06 am    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

11. 765

9. set the first switch on for a good time say two minutes then set it off
set the 2nd switch on for 10 seconds then set it off
set the third switch on and leave it on
now go up quickly to the room

if the light is on then the 3rd switch controls the light

if the light is off then feel it
if it is cool then the 2nd switch controls it
if it is hot then the 1st switch controls it
Back to top
View user's profile Send private message
DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Thu Oct 05, 2006 1:44 am    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

Sirisha wrote:

6.The Carpenter and the Nails


I can see two solutions for this problem:

1 - 128 nails spaces 1" apart with one nail in each corner, thereby, the corner nails are counted on each side of the square.

2 - 132 nails spaces .9696... inches apart with the first nail on each side .4848... inches from the corner. This assumes that the distance between nails are measured along the edge of the metal place. This solution would be, however more difficult than #1 to determine the .9696... inch measurement.



Dave
Back to top
View user's profile Send private message
sirisha25

New User


Joined: 21 Aug 2006
Posts: 2

PostPosted: Thu Oct 05, 2006 12:30 pm    Post subject:
Reply with quote

Hi IQofaGerbil,
U r correct for 3,5,6,7,8,9 answers.Try out for the other.

Sorry i have not given the time for each man to walk here is the question again.

10. 4 men crossing a bridge
There are 4 men who want to cross a bridge. They all begin on the same side. You have 17 minutes to get all of them across to the other side. It is night. There is one flashlight. A maximum of two people can cross at one time.
Any party who crosses, either 1 or 2 people, must have the flashlight with them. The flashlight must be walked back and forth, it cannot be thrown, etc. Each man walks at a different speed. A pair must walk together at the rate of the slower man's pace.
Man 1: 1 minute to cross
Man 2: 2 minutes to cross
Man 3: 5 minutes to cross
Man 4: 10 minutes to cross
For example if Man 1 and Man 4 walk across first. 10 minutes have elapsed when they get to the other side of the bridge. If Man 4 returns with the flashlight. A total of 20 minutes have passed and you have failed the mission.

Hi David,
Here is the simply way to answer it.

The four corners of the square have one nail each.
Each side of the square now requires 31 nails (excluding the four corners).
Thus, Total number of nails used = 4 + (4 x 31) = 128.
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Thu Oct 05, 2006 5:16 pm    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

10
Men 1 and 2 cross the bridge (elapsed time 2 minutes)
Man 1 returns (elapsed time 3 minutes)
Men 3 and 4 cross the bridge (elapsed time 13 minutes)
Man 2 returns (elapsed time 15 minutes)
Men 1 and 2 cross the bridge (elapsed time 17 minutes).
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Fri Oct 06, 2006 1:50 am    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

11.
1021
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Dec 17, 2006 10:16 pm    Post subject:
Reply with quote

2. You bought shares in the same stock I bought, but you bought it 1..2..3 weeks after I did. icon_rolleyes.gif
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Tue Dec 19, 2006 6:51 am    Post subject:
Reply with quote

the answer for last puzzle is 1021 coconuts

Eqation will be

(((((x*4+1)* 4/3+1)*4/ 3+1)*4/3+ 1)*4/3+1) =y
which yields to 1024x+781=81y

Here both x and y are whole numbers
its an equation with 2 variables. Hence can be solved by trial and error
Accordingly x = 80 and y = 1021

Initially 1021 coconuts

Initially
1021 765 573 429
After giving one cocnut to monkey
1020 764 572 428
Person removing his share
255 191 143 107
remaining coconuts
765 573 429 321

Each distributes 80 coconuts among themselves and remaining 1 coconut to monkey.

cheers,
krish
Back to top
View user's profile Send private message
IQofaGerbil

Active User


Joined: 05 May 2006
Posts: 183
Location: Scotland

PostPosted: Tue Dec 19, 2006 5:11 pm    Post subject: Re: Try to solve the puzzles if you can
Reply with quote

I'm glad that you agree with me, radhakrishnan82 although I apologise for not posting the details!
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Wed Dec 20, 2006 5:18 am    Post subject:
Reply with quote

1. (1+1/9)*9 = 10
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> General Talk & Fun Stuff All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2: How to solve -805 DB2 Sql code trushant.w Mainframe Interview Questions 3 Fri Oct 04, 2013 3:47 pm
No new posts how to solve -904 in cobol db2 program. Escapa DB2 3 Tue Jul 19, 2011 5:34 pm
No new posts Solve file status code 46 Robert Sample COBOL Programming 20 Tue May 04, 2010 4:07 pm
No new posts CSKL:EZY1295E BIND CALL FAILURE.Pleas... tiger_wen CICS 19 Thu Feb 04, 2010 10:39 pm
No new posts Anybody has Crossword Puzzles in Main... rockish General Talk & Fun Stuff 2 Tue Dec 29, 2009 3:39 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us