Win a copy of High Performance Python for Data Analytics this week in the Python forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Online mock exam 3 typos (OCP8, Sybex)

 
Ranch Hand
Posts: 30
4
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.

One of the questions on mock exam 3 has a couple of errors.

The question about public enum Suit and Color (enum within enum question)...

1. Option D states that "Color.Black should be replaced by BLACK on line 2".  It should be Color.BLACK in the option.
2. Option E states that  "Color enum on line 4 should be declared private".  It is already private in the provided example code.  

I think that Option E typo could, potentially, affect the answer choice.  Either the access modifier in the code or in the option should be changed, to make option E a viable option.

Thank you!
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I just "got" option E.  It means whether private modifier is necessary or not, not whether it has to be changed.  So forget the second error.  First typo still remains, and doesn't affect the answer.

Thanks.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Elana Abelev wrote:I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.


It is always useful to at least mention which study guide this errata report is about. And preferrably you add it into the subject (e.g. between parantheses)
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roel De Nijs wrote:

Elana Abelev wrote:I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.


It is always useful to at least mention which study guide this errata report is about. And preferrably you add it into the subject (e.g. between parantheses)



You are right!  This is for the Sybex Wiley Oracle OCPJP 1Z0-809 online mock exam.

I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Elana Abelev wrote:I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!


I have added it for you.
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another typo report for the same exam.  The question about Platypus and UsesBeak

Option A should say "Platypus has-a UsesBeak", not "Platypus has-a Beak".
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roel De Nijs wrote:

Elana Abelev wrote:I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!


I have added it for you.



Thanks!!!
 
author & internet detective
Posts: 40400
821
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Elana Abelev wrote:1. Option D states that "Color.Black should be replaced by BLACK on line 2".  It should be Color.BLACK in the option.



Elana Abelev wrote:Option A should say "Platypus has-a UsesBeak", not "Platypus has-a Beak".



Confirmed both and added to the errata. Thanks!
 
Tick check! Okay, I guess that was just an itch. Oh wait! Just a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic