Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OCAJP7 Trick Questions

 
David Sachdev
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, and welcome! I look forward to checking out the book.

I am curious to know how much the test (and the book) focus on trick questions as opposed to general knowledge. In some of the other books that I read, there seems to be a lot of focus on things that a season programmer doesn't think so much about day-to-day, and really shouldn't given that their IDE and compiler are there to help them. While things like the default capacity of an initialized StringBuffer is important and plays a big role in optimization of your code - it is not something that programmers always commit to readily accessible memory, and instead tend to look up with they need to.

I'm curious to know how much of the test focuses on more memorization of facts like that, and how much of it focuses on things like the new features of Project Coin, how to correctly use try/catch blocks, different types of exceptions, proper use of the BigDecimal, etc. Also, what are you thoughts on the percentage that focuses on core java versus new features introduced in 7 (and perhaps 6)

Thanks
David
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34372
345
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
While the OCPJP does cover some things that aren't common, the OCAJP does not. Most of the questions are things a practicing programmer would know. Attention to detail and practice are key to doing well though.
 
Richard Reese
author
Ranch Hand
Posts: 84
5
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I concur with Jeanne comments. From the perspective of the book, I did not devote much space to sample questions as there are numerous resources devoted to that topic. Instead, I was more concerned about presenting the basic of the language as they pertain to the exam and hopefully provide a foundation that an individual can use to address the more difficult problems that occur when writing code and in answering "trick" questions. I share your frustration with "trick" questions but that is often a problem with multiple choice type tests.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic