Forums Register Login

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

+Pie Number of slices to send: Send


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

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
 

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
1
+Pie Number of slices to send: Send
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.
1
+Pie Number of slices to send: Send
 

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.
+Pie Number of slices to send: Send
 

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!
+Pie Number of slices to send: Send
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!
My cellmate was this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 494 times.
Similar Threads
Method which isn't a constructor should have a return type
interfaceimplementation
Jq+ question
HashMap
Thread
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 09:48:47.