Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Enthuware Test2, Q23 of 70, Will the exam be this easy/hard?

 
nick woodward
Ranch Hand
Posts: 370
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Will we get a question like this in the exam?

I (now) know what the problem is, TC is private, but I only spotted it because HashMaps isn't on the exam syllabus. In fact I came on here to rant about not knowing the constructors of HashMaps mid exam

Is this a nicer question than we can expect on the exam, because it gives us a clue with a topic that is out of the exam's scope; or too hard a question, which is why it gives us a clue in the first place? Would be nice to know, because it initially suckered me in like a chump

Regards,

Nick

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nick,
It is pretty rare to get a question that uses classes not on the exam. This happens from time to time for exceptions and even then they frequently tell you if the exception is checked or unchecked. It's also possible for a question to accidentally make it into the exam that shouldn't. That's rare too though.
 
nick woodward
Ranch Hand
Posts: 370
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne Boyarsky wrote:Nick,
It is pretty rare to get a question that uses classes not on the exam. This happens from time to time for exceptions and even then they frequently tell you if the exception is checked or unchecked. It's also possible for a question to accidentally make it into the exam that shouldn't. That's rare too though.


Hi Jeanne,

What I meant was that this question used an 'off syllabus' topic as either a distraction, or a hint, as to its true purpose. IE I was distracted by 'hashmap' (something not on the exam), and therefore initially missed the fact that this question was about the privacy or access modifier of the class. I was just wondering if the examiners employed this sort of tactic, or whether the use of an unfamiliar class/collection was supposed be a hint that i wasn't looking in the right direction.

Hope that's more clear. Thanks for the answer

Regards,

Nick
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nick.
I understood that to be what you were asking so I guess my answer wasn't clear. My answer is "not on purpose." In other words, it could happen, but isn't likely to. They don't want to give you clues like that by using out of scope topics.
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nick woodward wrote:Will we get a question like this in the exam?

I hope all questions will be as obvious as this one And if it really is, I'll be all like

I select "Compilation fails" immediately and move on to the next question. Because I know for top-level classes private is an invalid access modifier, only the public access modifier and default (package-private) access are allowed. If you want to know why only those two are allowed, you could read this topic. And I would probably not have spotted the HashMap occurence on a first glance, because the compiler error is so obvious. But then I have a second look (because exam questions can't be that easy ) and spot the HashMap (which should not be on this exam).

I have already taken my fair share of certification exams and I can't remember that a question had an out-of-scope class/interface/topic. Probably the closest I got was on the SCJP 6.0 exam where one question covered one of the edge cases of a method from the Java API. So it's very unlikely to encounter such question. And if you do, I think you should definitely first assume all out-of-scope code is correct, because (as Jeanne already mentioned) they don't want to give you any clue.

Hope it helps!
Kind regards,
Roel

PS. When Paul Anilprem notices this thread, he might decide to update this question and replace HashMap with ArrayList.
 
Paul Anilprem
Enthuware Software Support
Ranch Hand
Posts: 3817
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roel De Nijs wrote:

PS. When Paul Anilprem notices this thread, he might decide to update this question and replace HashMap with ArrayList.

Noticed and fixed
Thank you for your feedback!
 
nick woodward
Ranch Hand
Posts: 370
11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot guys, good to know! and i know what you mean Roel, normally I like those questions (when I spot them), but the hashmap definitely distracted me!

time wise I still struggled on the exam, going over by 20 minutes, but got 84%, which is much more like it.

think i've just got to brush up on my exam technique, but that was the first effort in ages

and Paul, not that you need telling - great software!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic