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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Comment/clarification: Taking advantage of context clues

Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the OCP study guide you write under Study Tips > Taking advantage of context clues: can assume a question’ s code block will compile and run if “Does not compile” and “Throw an exception at runtime” are not available in the list of answers.

However, the available answers in the OCA/OCP Practice Tests book's, chapter 3, question 16 and question 38, both include "None of the above", and neither "Does not compile" nor "Throw an exception at runtime", while the explanation for "None of the above" being the correct answer (in both questions), is that the code does not compile.

Is it possible to get a "None of the above" when there is a compilation error in the exam? If yes, may I suggest that you reformulate the Study Tips in future revisions of the book?
author & internet detective
Posts: 40393
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Unlikely, but possible. None of the above means none of the mentioned answers. So if fails to compile is a choice, none of the above means it does compile and none of the other answers are true.
Are we home yet? Wait, did we forget the tiny ad?
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic