All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Logic
Quiz Quandary II (Posted on 2013-11-29) Difficulty: 3 of 5
Four students Art, Ben, Cal and Don competed in a series of four quiz contests involving English, General knowledge, Logic, and Math. They are now wondering about the outcome.
Art thinks Don won the Logic award.
Ben thinks Cal won the English prize.
Cal thinks Art did not win the Math title.
Don thinks Ben won the General Knowledge trophy. 
As it turns out, both surmises about winners of the English and General Knowledge contests were wrong, and both surmises about the winners of the Math and Logic contests were correct.

Who won which contest?

No Solution Yet Submitted by K Sengupta    
Rating: 3.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution computer solutions | Comment 2 of 6 |

DECLARE SUB permute (a$)
CLS
a$ = "eglm": h$ = a$
DO
  IF RIGHT$(a$, 1) = "l" THEN
    IF MID$(a$, 3, 1) <> "e" THEN
    IF MID$(a$, 1, 1) <> "m" THEN
    IF MID$(a$, 2, 1) <> "g" THEN
      PRINT a$
    END IF
    END IF
    END IF
  END IF

  permute a$
LOOP UNTIL a$ = h$

produces


emgl
geml

being the subjects in order for Art, Ben, Cal and Don.

That indicates two solutions, each involving one win per person:

General Art  English
English Ben  Math
Math    Cal  General
Logic   Don  Logic

Either way, the sequence of surmises given is true, false, true, false.


 


  Posted by Charlie on 2013-11-29 12:34:03
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (1)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2017 by Animus Pactum Consulting. All rights reserved. Privacy Information