

MCQOPTIONS
Saved Bookmarks
This section includes 15 Mcqs, each offering curated multiple-choice questions to sharpen your Software Design knowledge and support exam preparation. Choose a topic below to get started.
1. |
AN_ITERATION_MECHANISM_WHICH_PROVIDES_COLLECTION_ELEMENT_AS_DIRECTED_BY_THE_CLIENT??$ |
A. | Internal |
B. | External |
C. | Collection |
D. | None of the mentioned |
Answer» B. External | |
2. |
Which of the following is true about built-in external iteration control mechanism?$ |
A. | The collection might provide with the following operations to control iterations- reset,get next,has More |
B. | Reset initializes the iteration |
C. | Get Next obtains the current value and the advance to the next element |
D. | All of the mentioned |
Answer» E. | |
3. |
Which_of_the_following_is_true_about_built-in_internal_iteration_control_mechanism?$ |
A. | The client must process for each collection iteration and give it to the iteration mechanism |
B. | The iteration mechanism then traverses the collection applies the processing package |
C. | Lack of flexibility is the biggest drawback |
D. | All of the mentioned |
Answer» E. | |
4. |
An iteration mechanism is able to tolerate changes to its associated collection only when collection meets which of the following? |
A. | Fault Tolerance |
B. | Iteration Termination |
C. | Complete Traversal |
D. | All of the mentioned |
Answer» E. | |
5. |
Which of the following is correct about Collection interface simplicity? |
A. | Each iterator can be responsible for managing one traversal of its associated collection independently of all other iterators |
B. | Clients can then use several iterators at once to traversal the iterations in various ways simultaneously |
C. | The iteration control interface is in iterator and not the collection |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
6. |
Which of the following is not correct regarding Multiple simultaneous iterations? |
A. | Each iterator can be responsible for managing one traversal of its associated collection independently of all other iterators |
B. | Clients can then use several iterators at once to traversal the iterations in various ways simultaneously |
C. | The iteration control interface is in iterator and not the collection |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
7. |
Placing the iteration mechanism in iterators separate from collection must satisfy which of the following? |
A. | Multiple Simultaneous Iterations |
B. | Collection Interface Simplicity |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
8. |
Interface control mechanism can work in which of these ways? |
A. | Internal |
B. | External |
C. | Peripheral |
D. | Internal & External |
Answer» E. | |
9. |
Which of the possibilities for where an iteration mechanism resides? |
A. | Programming Language |
B. | Collection |
C. | Iterator |
D. | All of the mentioned |
Answer» E. | |
10. |
Which of these prepare iteration mechanism for next traversal? |
A. | initialize |
B. | Information Hiding |
C. | Advance current Test |
D. | Flexibility |
Answer» B. Information Hiding | |
11. |
Which of these are necessary requirements for Iteration mechanism? |
A. | Initialize |
B. | Completion Test |
C. | Information Hiding |
D. | Access Current |
Answer» D. Access Current | |
12. |
Which among these are the iteration control facilities? |
A. | Initialize |
B. | Information Hiding |
C. | Multiple iterations |
D. | All of the mentioned |
Answer» B. Information Hiding | |
13. |
What does collection iteration means? |
A. | It is iteration over the collection |
B. | Traversal and access of each element in a collection |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» D. None of the mentioned | |
14. |
Which of the following can be included as the collection? |
A. | A Set |
B. | List |
C. | Array |
D. | All of the mentioned |
Answer» E. | |
15. |
Which of the following are considered as Mid Level design patterns? |
A. | Iterator Pattern |
B. | Collection Pattern |
C. | All of the mentioned |
D. | None of the mentioned |
Answer» D. None of the mentioned | |