Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

Which side does the egg fall on

 
lowercase baba
Posts: 12963
66
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Someone recently sent me this puzzle:

Paul Wheaton owns a vacation house in northern Montana which has an A-shaped roof. One side of the roof faces north and the other side faces south. The prevailing winds from the north are usually quite strong. The strange thing is that the stronger the north wind blows, the stronger the resulting updraft on the south side of the roof. Therefore if a rooster was to lay an egg on the peak of the roof during a strong northerly wind, on which side should the egg fall most of the time?



some folks would say either North or South. Someone might say the two winds cancel each other out, so the egg stays up on the point of the roof. However, the traditional answer is "Roosters don't lay eggs.".

I find that annoying, but mostly irrelevant. The predicate of the issue states that a rooster DID lay an egg, so it is not up to me to say 'Well, that can't happen'. The problem states that it did happen, so we have to go on that.

Am I wrong?
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yeah - the problem is not lingustically well formed. The conjunction used in the predicate adds the possibility that the egg was not laid at all, assuming you accept the definition of "if" is something like "on condition that", but if you understand it to mean "in the event that" then yes, the rooster did lay an egg (even if this is biologically unlikely). So there is scope for either approach.

Next time someone asks you this, just punch them on the nose.
 
Master Rancher
Posts: 3787
49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Depends on the context I suppose. It's often useful to notice a flawed premise and question it, rather than simply accept it.
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is no Montana.
 
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't tell Miley Cyrus.
 
Sheriff
Posts: 3036
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I believe that the egg would explode destroying the roof and, with luck, collapsing the structure and killing the egg-thieving pigs inside.
 
Marshal
Posts: 26377
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
An aircraft crashes on the border of Montana and Minnesota. In which state is Miley Cyrus buried?
 
marc weber
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote:An aircraft crashes on the border of Montana and Minnesota. In which state is Miley Cyrus buried?


That's easy: Avogadro's number.
 
Ulf Dittmer
Rancher
Posts: 43016
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

An aircraft crashes on the border of Montana and Minnesota.


That's unpossible - Ohio, Nevada, Maine, and Kentucky all border Springfield!
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dork Dork Dork, you eat soup with a ...?
 
Mike Simmons
Master Rancher
Posts: 3787
49
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Spork?
 
fred rosenberger
lowercase baba
Posts: 12963
66
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote:Dork Dork Dork, you eat soup with a ...?

Straw.
 
Paul Clapham
Marshal
Posts: 26377
81
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper de Jong wrote:Dork Dork Dork, you eat soup with a ...?


You don't eat soup. You drink it.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Say 'Ghost' five times.
What do you put in a toaster?
 
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
it must fall somewhere on the floor ...
 
Please do not shoot the fish in this barrel. But you can shoot at this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic