aspose file tools*
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
Author

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
Rancher

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 .
Marcus
------------------

http://www.jchq.net 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
http://www.examulator.com/moodle/course/view.php?id=5&topic=all
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Marcus Green, wrong wrong answer