File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Mock Exam Errata and the fly likes Marcus Green, wrong wrong answer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Marcus Green, wrong wrong answer" Watch "Marcus Green, wrong wrong answer" New topic

Marcus Green, wrong wrong answer

Bill Krieger
Ranch Hand

Joined: Sep 27, 2001
Posts: 53
In the Marcus Green mock exam 3, question 27 reads:
Given the following class

What will happen when you attempt to compile and run it?
1) Compile time error
2) Output of "Hello Crowle"
3) Output of Hello Crowle followed by Borcetshire and Powick
4) No output
The answer is correctly given as 2. If this question is testing knowledge of the short circuit logical operators, then answer 3 is the wrong incorrect answer. It should read:
3) Output of Borcetshire and Powick followed by Hello Crowle
Someone with no knowledge of short circuit could still figure out that Hello Crowle will never precede Borcetshire and Powick, it could only follow them.
Is this being too picky, sugesting that a mock exam contains the wrong incorrect answer?

[This message has been edited by Bill Krieger (edited November 29, 2001).]
Marcus Green
arch rival

Joined: Sep 14, 1999
Posts: 2813
You are quite correct, answer three is still implausible if you don't know about the short cut operator. Many thanks for the suggestion I will alter incorrect answer 3 to make it more plausible (if still wrong .
------------------ Mock Exams, FAQ,
Tutorial, Links, Book reviews
Java 2 Exam Prep, 2nd Edition by Bill Brogden and Marcus Green
JCHQ, Almost as good as JavaRanch

SCWCD: Online Course, 50,000+ words and 200+ questions
I agree. Here's the link:
subject: Marcus Green, wrong wrong answer
It's not a secret anymore!