• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Should we expect any of the OCA objectives in the OCP java 8 exam ?  RSS feed

 
Ranch Hand
Posts: 64
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Authors,

Should we expect any of the OCA exam tricks inside the OCP Java 8 exam, in other words could we encounter a question in the OCP exam for example about the "Generics and Collections" or "Java Concurrency" and while we've focused completely on these objectives, the actual trick is about Using "Loop Constructs" or "the operators" inside the code snippet of the question ?


Thanks,
 
author
Ranch Hand
Posts: 200
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahmed,
Hopefully Bert will chime in on this one as he has more experience than I do with the "tricks" on the exam.

Certainly there is a bit of overlap in the objectives -- it's worth a few minutes to look at the OCA 8 and OCP 8 objectives to see what those are -- and of course you'll be expected to know loop constructs and operators and other material covered in OCA 8 on the OCP exam to some extent. I would like to hope there's no tricks (in that the question looks like an OCP question but turns out to rely on something from OCA) but I certainly wouldn't guarantee that.

Most of the overlaps in objectives we found in sections 1 and 2 of the OCP objectives.

Hope that helps!

Elisabeth
 
Ahmed Ibrahim
Ranch Hand
Posts: 64
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Elisabeth Robson wrote:and of course you'll be expected to know loop constructs and operators and other material covered in OCA 8 on the OCP exam to some extent.


Of course anyone in the OCP exam is supposed to know well the OCA objectives such as loop constructs, operators and so on, as most people take first the OCA exam before taking the OCP one.

but my question is when we are in the OCP Java 8 exam could we encounter a question for example about "Generics and Collections" and the code snippet contains nested loop, so while we've got distracted by focusing completely on the objective "Generics and Collections", could we find that the actual trick is about Using "Loop Constructs" or "the operators" inside the code snippet of the question ?
 
Marshal
Posts: 60829
190
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ahmed Ibrahim wrote:. . . could we encounter a question for example about "Generics and Collections" and the code snippet contains nested loop . . .

I thought the questions didn't have topics attached to them. You might get a question about Java® coding like this:-

Given the following code, what is its output?

  • 0 0 0 0 0 0 0
  • 7 9 13 17 23 25 29
  • 1 1 1 1 1 1 1
  • Compiler error line 6
  • Compiler error line 8
  • 7 2 4 4 6 2 4
  • Compiler error line 3
  • That question isn't about generics, lists or nested loops; it contains all three and is about Java┬«.
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Campbell Ritchie wrote:I thought the questions didn't have topics attached to them.


    Yes right, but i think every question in the OCP exam has aim to test the knowledge of a particular topic so while we've got distracted by fully focused on the Collections or Java Concurrency for example, should we expect that the actual trick maybe is about "scope of a variable" or "operator precedence" or statement doesn't end with semicolon for example ??? this is my inquiry.
     
    Campbell Ritchie
    Marshal
    Posts: 60829
    190
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    In which case that will test your knowledge of loops and scope of variables and you appear to have got it right (), so you will get one mark in the scope of variables heading. I thought they didn't warn you in advance what the question is looking for. Have a look at some of the results posts; some people post what they got in the separate categories. This example is for webservices, however. The picture attachment shows how many marks there were in the different categories.
    I can't remember whether the book or Oracle's website shows counts for categories.
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Campbell Ritchie wrote:In which case that will test your knowledge of loops and scope of variables


    test my knowledge of loops and scope of variables in the OCP exam !
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Ahmed Ibrahim wrote:

    Campbell Ritchie wrote:In which case that will test your knowledge of loops and scope of variables


    test my knowledge of loops and scope of variables in the OCP exam !


    i think testing the knowledge of loops and scope of variables in the OCA exam is normal but in the OCP exam while we don't expect that !! this is what i was asking about, it could happen or not and if it could ? it could be in many questions ?
     
    Greenhorn
    Posts: 3
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I have actually been wondering about this same topic a lot lately as I have been preparing for the OCP exam for several weeks now. I passed the OCA Java 8 exam over a year ago but then got real busy with work and life and until recently was not studying regularly for the OCP. I actually went back over my OCA book because the beginning of the OCP book by Boyarsky talks about how the OCP exam is really cumulative and they apparently can ask anything from OCA as well. But my biggest concern is how much time I should look for tricky OCA related things on the OCP exam because of the extra time and though cycles when trying to get the OCP exam done in required time duration. For example, if I analyze every single public static main method for wrong case or some missing part then it does take a little bit of focus away from looking for OCP gotchas. I think I have trained myself to look at every single question for broken loops, wrong case in various variable or keywords, missing or wrong imports, missing semicolon, etc that it is causing me to take longer than I should on the main objectives of the OCP. But I have seen several practice problems for OCP that have those exact type of issues so I am assuming this is necessary for a high score. But I am half tempted to just scan those areas and not worry about missing a couple of questions related to OCA syntax just so I can get the questions done in time.
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Jonathan Damron wrote:if I analyze every single public static main method for wrong case or some missing part then it does take a little bit of focus away from looking for OCP gotchas


    Jonathan Damron wrote:that it is causing me to take longer than I should on the main objectives of the OCP


    This is also my concern: The Time.
     
    Campbell Ritchie
    Marshal
    Posts: 60829
    190
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Ahmed Ibrahim wrote:. . . it could happen or not and if it could ? it could be in many questions ?

    Don't know. Other people will know more than I do.
     
    author
    Sheriff
    Posts: 8981
    19
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    It's a really good question.

    Historically, up through the OCP 7, the exam creation team worked hard to remove any such questions. For the OCP 8, we participated in the 1st phase of exam creation, but we didn't participate in the final question review process. I would hope that the final reviewers removed any such questions, but I wouldn't guarantee it.

    But in the end, I don't think there's any way around the fact that while you're taking the exam, you have to read the code. What I will say is that for most candidates, there is plenty of time during the exam.
     
    Bert Bates
    author
    Sheriff
    Posts: 8981
    19
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Campbell !

    What's with those opening curly braces being all alone on their own line? 

    Actually it's only sort of a joke, I'm pretty sure that on  the real exam, opening curly braces will be at the end of the previous line.

    And - at the risk of starting a war - I think that's where they should go. ;)
     
    Elisabeth Robson
    author
    Ranch Hand
    Posts: 200
    6
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    No curly brace wars people! The risk to life and limb isn't worth it....
     
    Campbell Ritchie
    Marshal
    Posts: 60829
    190
    • Likes 1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Elisabeth Robson wrote:No curly brace wars people! The risk to life and limb isn't worth it....

    No, if you are going to risk life and limb it has to be over spaces vs tabs.

    I was taught Allman indentation and the old Sun style guide likes K&R indentation, so the exam will have K&R indentation.
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Bert Bates wrote:For the OCP 8, we participated in the 1st phase of exam creation, but we didn't participate in the final question review process. I would hope that the final reviewers removed any such questions


    I would hope that also
     
    Ahmed Ibrahim
    Ranch Hand
    Posts: 64
    1
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    And Thank you so much Bert Bates, Elisabeth Robson, Campbell Ritchie For your replies and the valuable information and advice.
     
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!