File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Associate Certification (OCAJP 7/8) and the fly likes OCAJP7 Trick Questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Associate Certification (OCAJP 7/8)
Bookmark "OCAJP7 Trick Questions" Watch "OCAJP7 Trick Questions" New topic

OCAJP7 Trick Questions

David Sachdev
Ranch Hand

Joined: Oct 18, 2011
Posts: 32
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)

Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33102

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Richard Reese
Ranch Hand

Joined: Jul 13, 2011
Posts: 84

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.

Richard Reese
Java 8 New Features: A Practical Heads-Up Guide
I agree. Here's the link:
subject: OCAJP7 Trick Questions
jQuery in Action, 3rd edition