aspose file tools*
The moose likes Associate Certification (OCAJP 7) and the fly likes Question for those who have given OCAJP7 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Associate Certification (OCAJP 7)
Bookmark "Question for those who have given OCAJP7" Watch "Question for those who have given OCAJP7" New topic
Author

Question for those who have given OCAJP7

Rohan Deshmkh
Ranch Hand

Joined: Aug 31, 2012
Posts: 127
I am thinking to give this exam in 2 weeks but i am really worried about the syntax of the questions that would be present on the exam.
For eg. in the sample questions issued by oracle : http://education.oracle.com/pls/web_prod-plq-dad/db_pages.getpage?page_id=303&p_certName=SQ1Z0_803
i find it difficult to read the questions as they are not properly indented.
Is the indentation of code same as that of the sample questions given by oracle?If yes, what was your approach to solve those questions?
Thanks
Mala Gupta
Author
Ranch Hand

Joined: Sep 27, 2002
Posts: 250
    
    9
Rohan,

Most of the questions on the exam are indented correctly. I wonder whether all the code with improper indentation is on purpose in the sample questions by Oracle or due to a web page markup glitch!

If you see code with improper indentation, look for:

1) Matching opening and closing curly braces for code blocks, methods and classes. A mismatch here will result in compilation error (look out for presence of this option with the question)

2) Conditional statements (if, switch) and looping constructs (do-while, while, for, enchanced-for), without curly braces.

3) Declaration of variables, which seem to be defined within a class, but are actually defined within methods or other code blocks.

4) If time permits, you can also copy a few lines of code on the erasable board that you get - to find matching if-else-if-else constructs/ loops.

You need to be very careful with reading code with improper indentation.

With respect,
Mala


Author of Manning's OCA Java SE 7 Programmer I Certification Guide and OCP Java SE 7 Programmer II Certification Guide
Rohan Deshmkh
Ranch Hand

Joined: Aug 31, 2012
Posts: 127
Ok thanks for replying..
I will try to implement all the above said things.
Jacek Laskowski
Ranch Hand

Joined: Nov 06, 2005
Posts: 34

Hi,

In some sense you should train your brain and eyes to eventually become a Java compiler! Have a look at http://knowledgeblackbelt.com for some certification tests to let you achieve it. It's free and community-driven so people like us develop questions so others won't easily be able to answer. A great way to think like a compiler.

Jacek
http://japila.pl
Edward Finegan
Author
Greenhorn

Joined: Sep 18, 2012
Posts: 12

As others have stated don't be concerned with the formatting of the code on the exam. What you see is likely a HTML/CSS issue. On the exam they will not try to throw you off with incorrect formatting. When looking at a question containing a code segment first try to determine if the code is valid and does not contain compiler or runtime errors. Once you are confidant that it valid focus on the question.


OCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803)
Rohan Deshmkh
Ranch Hand

Joined: Aug 31, 2012
Posts: 127
Ok thanks for reply guys
Mala Gupta
Author
Ranch Hand

Joined: Sep 27, 2002
Posts: 250
    
    9
Rohan,

You will be pleased to learn that the code formatting issues with the sample exam questions on Oracle's website are due to a web page markup issue. Oracle has confirmed that its developers are working on it as answered on https://blogs.oracle.com/certification/entry/0768.

Good Luck for your exam.

With respect,
Mala
Rohan Deshmkh
Ranch Hand

Joined: Aug 31, 2012
Posts: 127
Thanks for looking into this matter.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question for those who have given OCAJP7