Software Architecture Design Mcqs

Page No. 40

An iteration mechanism is able to tolerate changes to its associated collection only when collection meets which of the following?


aFault Tolerance


bIteration Termination


c Complete Traversal


d All of the mentioned



Which of the following is correct about Collection interface simplicity?


aEach 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


cThe iteration control interface is in iterator and not the collection


d None of the mentioned



Which of the following is not correct regarding Multiple simultaneous iterations?


aEach iterator can be responsible for managing one traversal of its associated collection independently of all other iterators


bClients can then use several iterators at once to traversal the iterations in various ways simultaneously


cThe iteration control interface is in iterator and not the collection


d None of the mentioned



Placing the iteration mechanism in iterators separate from collection must satisfy which of the following?


aMultiple Simultaneous Iterations


bCollection Interface Simplicity


c All of the mentioned


dNone of the mentioned



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


bReset initializes the iteration


cGet Next obtains the current value and the advance to the next element


dAll of the mentioned


View Answer All of the mentioned

Which of the following is true about built-in internal iteration control mechanism?


aThe 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


dAll of the mentioned


View Answer All of the mentioned

An iteration mechanism which provides collection element as directed by the client?


a Internal


b External


cCollection


dNone of the mentioned


View Answer Internal

Interface control mechanism can work in which of these ways?


aInternal


b External


cPeripheral


d Internal & External



Which of the possibilities for where an iteration mechanism resides?


aProgramming Language


bCollection


c Iterator


dAll of the mentioned


View Answer All of the mentioned

Which of these prepare iteration mechanism for next traversal?


ainitialize


b Information Hiding


cAdvance current Test


d Flexibility


View Answer initialize

Goto Page No.

Page 40 of 88

Alphabetical MCQs Categories

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan