About Question enthuware.ocpjp.v8.2.1897 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
lenalena
Posts: 56
Joined: Tue Feb 21, 2017 4:24 pm
Contact:

About Question enthuware.ocpjp.v8.2.1897 :

Post by lenalena »

Question about option 2: Is it possible for items in the stream to lose their original order if the stream is switched to parallel and then back to sequential again?

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1897 :

Post by admin »

Official documentation doesn't mention anything about that. Logically, once you make the stream parallel, I don't think there is any guarantee about the original order anymore even if you later make it sequential.
Also, since there is no official description of the behavior in this situation, one should not assume that the original will be preserved.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

lenalena
Posts: 56
Joined: Tue Feb 21, 2017 4:24 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1897 :

Post by lenalena »

I asked this because I found the correct option (option 2) to be ambiguous. The question asks
Which of the following options can be used to replace line at //2 without affecting the output?
The original stream is sequential. The correct option converts it to parallel then back to sequential again, with the possibility of values being ordered differently than in the original stream. So, while the values themselves will be the same as in the original stream, their order might be different, and this, to my understanding, "affects the output".

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1897 :

Post by admin »

You are right.
thank you for your feedback!
Paul.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 27 guests