Page 1 of 1
About Question enthuware.ocpjp.v8.2.1241 :
Posted: Sun Apr 03, 2016 6:45 am
by javalass
The 5h and 6th options are given as the correct answers:
- Implement compute() method in RecursiveAction that computes the new value but does not return anything.
- Create a RecursiveAction that subdivides the task into two, then forks one of the tasks and computes another.
Now why is the 4th option not a correct answer as well? It's the same thing.
- Subclass RecursiveAction and implement the compute() method that computes the new value but does not return anything.
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Sun Apr 03, 2016 10:22 am
by admin
I see that option 4 and 6 are given as correct answer. Option 5 is wrong and the explanation to that option says: RecursiveAction is not an interface. It is an abstract class.
-Paul.
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Sun Apr 03, 2016 10:26 am
by admin
Sorry, you are right. I see that the answer is not set correctly in the question bank for upgrade. Fixed.
thank you for your feedback!
Paul.
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Sun Apr 03, 2016 10:27 am
by javalass
We must be working on different versions then. I'll attach a screenshot of mine.
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Sun Apr 03, 2016 10:28 am
by javalass
No worries, thanks for the quick reply!
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Mon Jun 06, 2016 7:45 pm
by schchen2000
So, which one is the correct answer? Someone please kindly confirms. Do I have the right question bank and the right answer?
In the last answer choice,
Create a RecursiveAction that subdivides the task into two, then forks one of the tasks and computes another.
A RecursiveAction does not fork one of the tasks and computes another. That's what RecursiveTask does. Am I wrong? At least, it's inconsistent with the explanation underneath.
Schmichael
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Mon Jun 06, 2016 9:29 pm
by admin
1. You can check whether you have the latest version by using Tools->Check for question bank update menu. From the screen shot that you've posted, you seem to have the right version, as is indicated by the messages posted above. Can you please tell me which message caused the confusion so that I can remove it?
2. Option 6 asks you to create a RecursiveAction that subdivides the task into two, then forks one of the tasks and computes another. A sample code is also given that shows you how to do it. Did you go through it?
I am not sure where you got the idea that RecursiveAction does not fork one of the tasks and computes another while RecursiveTask does. Please go through the sample code.
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Wed Jun 08, 2016 2:22 am
by schchen2000
Thank you. I shouldn't have written that. I did not do enough research on my own before I wrote my earlier comment. My apology. After reading up more on this, you are absolutely right and I was wrong.
Schmichael
PS
Is this just on my browser or is anyone seeing everything typed being displayed on just one line after the "Submit" is clicked, i.e. text display not wrapping to the next line after "Submit" is clicked?
Re: About Question enthuware.ocpjp.v8.2.1241 :
Posted: Wed Jun 08, 2016 2:45 am
by admin
I am seeing the same. The attached images are too big. They are increasing the width of the document.
Paul.