wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Operator Precedence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Operator Precedence" Watch "Operator Precedence" New topic
Author

Operator Precedence

Vijay Albuquerque
Ranch Hand

Joined: Feb 17, 2002
Posts: 42
I was solving Dan's Mock Exam on Operators and came across this question:

Can we expect such questions on operator precedence in the SCJP Exam?
I had read on a previous post that such questions would not be asked !!
Thanks


Vijay Albuquerque
SCJP 1.4, SCWCD 1.3
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
I just took the exam myself yesterday and found that the question that you posted is far beyond the level of difficulty of the real exam.
I will upload a new version of the exam early next week. The question that you posted and a few others will be moved to a section marked "Optional" or "Challenging" or something of that sort. New questions will be added that are still a little above the level of difficulty found on the real exam but not quite so far beyond.
I have designed my mock exam for use as a learning tool early in the exam preparation process because I actually developed it when I was in the early stages of the preparation process. Based on what I learned yesterday while taking the real exam I think that just a little reorganization might improve my existing set of questions. Also I want to add more content that is closer to the level of difficult that I saw yesterday. For example, I want to add more control flow questions that make use of one loop containing an "if" statement. Some of my existing control flow questions involving triple nested loops will be moved to the "challenging" section.
Having said the above, I would still encourage you to learn how to solve that particular question even if it requires ten minutes and the use of an operator precedence chart. Even though you won't see that problem on the real exam I think that it is still a good idea to learn how Java evaluates expressions. If you avoid learning something as basic as the evaluation of expressions then you will always view the topic as black magic. I wouldn't want to go into an exam with that viewpoint.
In summary, you should view challenging questions as an openbook homework question. Do not limit yourself only to what might be found on the real exam.
Remember, the real exam is intended to sample your knowledge of a broad topic. The exam should not represent the total extent of your knowledge.
Don't skip the homework!


Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Vijay Albuquerque
Ranch Hand

Joined: Feb 17, 2002
Posts: 42
Dan,
I highly appreciate your reply and totally agree with your viewpoint. I guess I had just been a little "exam-oriented" and gone astray from the real meaning of such an exam.
After all,
The exam is just a stepping stone to becoming a complete Java Professional !!!
Thanks for the amazing service you provide !!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Operator Precedence
 
Similar Threads
K&B Operator precedence
Can such a question be asked???
Shift operator precedance
how to evaluate the following expressions?
Operator Precedence.