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?
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.
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.
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.