File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mock Exam Errata and the fly likes JavaCaps Mock exam Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "JavaCaps Mock exam" Watch "JavaCaps Mock exam" New topic
Author

JavaCaps Mock exam

Nils Widmer
Greenhorn

Joined: Aug 17, 2001
Posts: 13
http://www.javacaps.com/scjp_mockexams1.html

31. The statement X %= 5, can best described as?
A) A equals a divided by 5;
B) A equals A in 5 digit percentage form
C) A equals A modulus 5.
D) None of the above

well spelling errors, and that is not the only one...

------------------
deep_sal
Greenhorn

Joined: Jul 18, 2001
Posts: 1
The answer is c)
Nils Widmer
Greenhorn

Joined: Aug 17, 2001
Posts: 13
nope, its D)
Jane Griscti
Ranch Hand

Joined: Aug 30, 2000
Posts: 3141
Hi deep_sal,
Please read the JavaRanch Name Policy and re-register using a name that complies with the rules.
Thanks for your cooperation.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform


Jane Griscti
SCJP, Co-author Mike Meyers' Java 2 Certification Passport
Jimmy Blakely
Ranch Hand

Joined: Jul 10, 2001
Posts: 57
X %= 5
is equivalent to...
X = X % 5
which written out is ...
X equals X modulus 5
thus making answer D correct.
Having the author change the identifiers didn't help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaCaps Mock exam