Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services 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
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Joe Ess
  • salvin francis

OCP 0z-815 study guide kindle version errata ---> Chapter 2: Review Questions Q15 answer A error

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the OCP programmer 1 study guide by the authors:
  • Jeanne Boyarsky
    Scott Selikoff


  • Book amazon's URL:
    https://www.amazon.com/gp/product/1119584701/ref=dbs_a_def_rwt_bibl_vppi_i0


    Question:
    Given the following class which of the following lines of code can independently replace INSERT CODE HERE to make the code compile?(Choose all that apply.)



    Answers:

    A.int Amount = 0b11;


    Chapter 2: Review Questions answer error

    For the Chapter 2: question number:15 Why Answer A. () .... is wrong???

    i tried it on IDE and worked fine

    Sorry i some how got confused and did not realize that amount != Amount, and the answer was not clear at first. thank you i will mark this question solved
     
    Marshal
    Posts: 67013
    255
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Please provide full details of the book including authors, and the whole question because many of us don't have the book and can't therefore verify the answer.
     
    Mahmoud Elkeshky
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    @Campbell  Ritchie Thank you i found that i was confused.

    is question marked solved now??
    it is my first time to post here
     
    author & internet detective
    Posts: 39760
    797
    Eclipse IDE VI Editor Java
    • Likes 2
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    It's nice when problems solve themselves
     
    Mahmoud Elkeshky
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    @Jeanne Boyarsky Yes, and hope these silly mistakes that i commit now would not be repeated during exam ... it's a matter or practicing
     
    Jeanne Boyarsky
    author & internet detective
    Posts: 39760
    797
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Agreed! By the way, our questions are designed so that you can practice them multiple times and start to spot the errors. That's why some are similar. Really trains you to look for the concepts.
     
    Mahmoud Elkeshky
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Yes, and i begin to follow your recommendations for the study, i kept my score for the review questions in a note in order to re-evaluate my performance once i return back to them.
     
    Mahmoud Elkeshky
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    I found a type error:

    chapter 3:
    Header: "Types of operators"
    Loc: 4243 on kindle version



    Error Text:

    The final values of cookies and reward would be 9.0 and 3, respectively

    Should be:

    The final values of cookies and reward would be 3 and 9.0, respectively
     
    Campbell Ritchie
    Marshal
    Posts: 67013
    255
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Mahmoud Elkeshky wrote:. . . Loc: 4243 on kindle version . . .

    Have you any idea whether there is any difference in the printed version, or PDF? Please look here and scroll down. I think you are correct that you have found a “new” misprint.
     
    Mahmoud Elkeshky
    Greenhorn
    Posts: 8
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator

    Campbell Ritchie wrote:Have you any idea whether there is any difference in the printed version, or PDF?



    I have no clue if they are written from same source ("Material submitted by authors") but i think they are the same.
    for the link you just shared https://www.selikoff.net/ocp11-1/ i already red it carefully before buying the ebook, and also i keep revisiting it for any reported typos and/or errata. Thank you my friend
     
    Jeanne Boyarsky
    author & internet detective
    Posts: 39760
    797
    Eclipse IDE VI Editor Java
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Confirmed and you are now in the errata as a reporter! Thanks for letting us know.

    The printed and Kndle editions are supposed to come from the same source. And all errors "that belong to the authors" are in both. Every once in a while there is a rendering error that only hits the Kindle.
     
    Humans and their filthy friendship brings nothing but trouble. My only solace is this tiny ad:
    Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
    https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!