Puzzle
<b>Okay I have a cool puzzle for you.
For those of you that hate puzzles, go away.
If you figure out the answer, don't spoil for the rest please. The person who posts the puzzle may answer it himself when he wants to, but no other. You may, however give clues and ask questions about it.
Here's my puzzle:</b>
The syntax of the monkey language is quite simple, yet only monkeys can speak it without making mistakes. The alphabet of the language is {a, b, d, #}, where # stands for a space. The grammer is:
<ul>
<li><stop> ::= b|d
<li><plosive> ::= <stop>a
<li><syllable> ::= <plosive>|<plosive><stop>|a<plosive>|a<stop>
<li><word> ::= <syllable>|<syllable><word><syllable>
<li><sentence> ::= <word>|<sentence>#<word>
</ul>
Which of the following speakers is the secret agent masquerading as a monkey?
<ul>
<li>Ape: ba#ababadada#bad#dabbada
<li>Chimp: abdabaadab#ada
<li>Baboon: dad#ad#abaadad#badadbaad
</ul>
<b>Btw, if you don't know, '|' stands for "or" and '::=' stands for "equals."</b>
For those of you that hate puzzles, go away.
If you figure out the answer, don't spoil for the rest please. The person who posts the puzzle may answer it himself when he wants to, but no other. You may, however give clues and ask questions about it.
Here's my puzzle:</b>
The syntax of the monkey language is quite simple, yet only monkeys can speak it without making mistakes. The alphabet of the language is {a, b, d, #}, where # stands for a space. The grammer is:
<ul>
<li><stop> ::= b|d
<li><plosive> ::= <stop>a
<li><syllable> ::= <plosive>|<plosive><stop>|a<plosive>|a<stop>
<li><word> ::= <syllable>|<syllable><word><syllable>
<li><sentence> ::= <word>|<sentence>#<word>
</ul>
Which of the following speakers is the secret agent masquerading as a monkey?
<ul>
<li>Ape: ba#ababadada#bad#dabbada
<li>Chimp: abdabaadab#ada
<li>Baboon: dad#ad#abaadad#badadbaad
</ul>
<b>Btw, if you don't know, '|' stands for "or" and '::=' stands for "equals."</b>
Comments
My thoughts excactly. I can't even decypher the
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin--><stop> ::= b|d
<plosive> ::= <stop>a
<syllable> ::= <plosive>|<plosive><stop>|a<plosive>|a<stop>
<word> ::= <syllable>|<syllable><word><syllable>
<sentence> ::= <word>|<sentence>#<word>
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
part so how am I supposed to solve the puzzle <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->
b or d is a stop.
A stop followed by 'a' is a plosive (phoneme... don't worry, you're just looking for the ones that don't follow the grammar formula set down here)
A syllable is either a plosive OR plosive followed by a stop OR 'a' followed by a plosive OR 'a' followed by a stop.
A word is either a syllable OR a syllable followed by a word followed by a syllable.
A sentence is either a word, OR a sentence followed by the # followed by a word.
It's a structural puzzle, though I think I figured it out. Has to do with the tails of the sentences.
(edit) It's not the one I was thinking of... and actually, I had this same BNF test when I was still working my way through the CompSci track in college. I remembered what a pain it was after having been sidetracked by the monkeys thing (Apes, Chimps, and Baboons are NOT monkeys, distinguishable by their lack of tails. They are primates. A certain secret agent is known to wear tails <as in, a tux>. Mental joke ensued, resulting in a clue toward the wrong answer) ours dealt with cats though. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> (/edit)
Should animals (e.g. monkeys) be used for medical experiments?
<> - sentence {} - word () - syllable || - plosive
...and try to simply create a sentence out of that mess, then even someone with no formal education in logic and CS could solve this within time.
It was kinda fun. Thanks.
Don't lock the thread please! This thread hasn't done anything wrong. It is just food for the brain. Anyone else have puzzles to add?
Clue to the puzzle: The ape, chimp, and baboon are all primates (at least in this puzzle. Sorry talesin. <!--emo&;)--><img src='http://www.unknownworlds.com/forums/html/emoticons/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif'><!--endemo--> ).
*EDIT* Why would I ask that nobody post the answer if my goal was to trick people into doing my homework for me? */EDIT*
All MY quarter-long projects include more work than this one did.
Still, pretty amusing.
ba da bab bad dab dad aba ada ab ad
and then recognize that a word is just a string of an odd number of syllables. If you find a word that you can't break down into an odd number of syllables, it's wrong. For example:
<b>ba</b>da<b>dab</b>bad<b>ada</b>
is valid, because it's five syllables. However, there's no way to divide something like:
baaddaab
into anything other than four syllables.
Three people check into a hotel. They pay £30 to the manager and go to their room. The manager suddenly remembers that the room rate is £25 and gives £5 to the bellboy to return to the people. On the way to the room the bellboy reasons that £5 would be difficult to share among three people so he pockets £2 and gives £1 to each person. Now each person paid £10 and got back £1. So they paid £9 each, totalling £27. The bellboy has £2, totalling £29. Where is the missing £1?
<b>If you know the answer, don't tell. <!--emo&:)--><img src='http://www.natural-selection.org/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--></b>
Three people check into a hotel. They pay £30 to the manager and go to their room. The manager suddenly remembers that the room rate is £25 and gives £5 to the bellboy to return to the people. On the way to the room the bellboy reasons that £5 would be difficult to share among three people so he pockets £2 and gives £1 to each person. Now each person paid £10 and got back £1. So they paid £9 each, totalling £27. The bellboy has £2, totalling £29. Where is the missing £1?
<b>If you know the answer, don't tell. <!--emo&:)--><img src='http://www.natural-selection.org/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--></b> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
I hate that one because it's not even a real mathematical puzzle. It's just stated misleadingly so that it looks like one.
Btw, Samwise gave a HUGE clue to the last puzzle if you are still scratching your head on that.
You have a painting with a string attached to it. The string is attached to the upper two corners of the painting. In the wall there are two nails, horizontally next to each other. The string must be hung on the nails in such a way that the painting falls down if any of the two nails is pulled out of the wall. The painting must hang under the nails and must hang on the string.
How must the painting be hung?
<b> In other words, how can the string be arranged around the 2 nails such that if one falls, the painting hits the ground (I'm assuming 1 nail can support the entire frame).
I will go ahead and give the answer to the first one. For those of you who don't want to know, don't read!
Answer: <span style='color:gray'>Baboon because it has a word with 4 syllables when only even number syllables allowed</span></b>
If you figure out the answer, don't spoil for the rest please. The person who posts the puzzle may answer it himself when he wants to, but no other. You may, however give clues and ask questions about it.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
<span style='color:red'>*Good to see that some people don't bother even reading the first post all the way through. Edited to remove solution to the last puzzle.*</span>
as for the painting, hang it on a piece of string so long so that it is only just above the floor. when one of the nails gets pulled out, the string lengthens enough for it to hit the floor
like so:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
.___.
/ \
/_______\
| |
| |
| _______|
____________
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
Here's another problem.</b>
There are three houses (A, B, and C) and three utilities (gas (G), water (W), and electricity (E)). Each house must be connected to each utility, but the various connections should not cross each other.
A B C
G W E
<b>You can't go "underneath" another line.</b>
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I have a solution that would make the painting fall if the left nail were removed, but removing the right nail wouldn't work.
Or is there a solution where removing either nail makes the painting fall?
The answer isn't terribly complicated, and you're probably on the right track. Just make it symmetrical.
There are three couples. we'll call them Aa, Bb and Cc (where the capital letter is the husband and the small letter is the wife) They come across a river with no bridge, just a rowing boat that can hold two people.
Because the husbands are very jealous, no wife can be with another man <b>at any time</b>unless her husband is there, be it on any of the banks or on the rowing boat (so [a, Bb] is not allowed because [A] is not there. neither can you have [B] going across to the bank with [a, b] and [a] getting in the boat and going back because [A] is not with [a].
Understand?
good.
how can they all get across the river?
[edit] the three houses and three utilities is impossible, unless you look at the rules from a different angle. no matter how you arrange the pipes, you will always end up with one pipe on one side of another pipe, when it needs to be on the other side.
clue: remember, you cannot have pipes crossing each other, but there are other things beside this puzzle that just pipes...
[/edit]
Only if we do not regard the houses as points, is the problem is solvable. For example, if the owner of house A would allow that one of the connections to C is laid under his house, the following solution is possible:
<img src='http://puzzle.dse.nl/harder/gaswaterelectricitysol2.gif' border='0' alt='user posted image'>
<b> I challenge you to get this to work if they are points, and not the size of houses. It is impossible</b>
I think the answer might be
aA to go across.
A comes back
AB goes across
B comes back
bB goes across
B comes back
BC goes across
C comes back
cC goes across.
Why wouldn't this work?
I think the answer might be
aA to go across.
A comes back
AB goes across
B comes back
bB goes across
B comes back
BC goes across
C comes back
cC goes across.
Why wouldn't this work? <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
it wouldnt work because on move 6 , b is on the other bank with A and B is not with her.
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
Start Aa Bb Cc
1 Aa-->
Bb Cc Aa
2 <--A
A Bb Cc a
3 AB-->
b Cc Aa B
4 <--B
Bb Cc Aa
5 Bb-->
Cc Aa Bb (all fine so far...)
6 <--B
B Cc Aa b <-- B is not with her
7 BC-->
c Aa Bb C
8 <--C
Cc Aa Bb
9 Cc-->
End Aa Bb Cc
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
You are very close, but remember, a wife must not be left alone with another man
(if you can understand that...)
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
W4
_______________
B3
W2
B1
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
There are 4 POWs, 1,2,3, and 4. Two have blue hats and two have white hats, as shown. They can only look straight ahead. They know that two of them have blue and two of them have white; however, they don't know the color of their own hat.
#4 is in front of a wall (1,2, and 3 cannot see him).
3 can see nobody, 2 can see 3, and 1 can see 2 and 3.
If one of the prisoners shouts out the color of his hat, he is released.
Which prisoner is it?
Hint: What <b>isn't</b> happening?