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>
Joined: Feb 17, 2002
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 !!!