question 1the figure given is an example of


Question 1:

The figure given is an example of Select one:

a. Class Adapter Pattern
b. Observer Pattern
c. Composite Pattern
d. Object Adapter Pattern

Question 2:

Which of the following can apply to this conceptual model Select one:

a. Be your own boss
b. Neither a leader nor a follower
c. Sitting on the top of the tree
d. Too many chefs, not enough indians

Question 3:

In an interaction diagram, how do objects show the name of an object and its class?

Select one:
a. classname ; objectname
b. classname : objectname
c. objectname : classname
d. objectname ; classname

Question 4:

The following diagram indicates:
Select one:

a. A subject can be taken by 0 or more students
b. A student can take zero or up to 5 subjects
c. A student can take exactly 5 subjects
d. A subject can be taken by zero or up to 5 students

Question 5:

In the following diagram the attribute duration is of type

Select one:
a. derived attribute
b. extended Attribute
c. premative attribute
d. simple Attribute

Question 6:

Class responsibilities are defined by
Select one:
a. its attributes only
b. its collaborators
c. its operations only
d. both its attributes and operations

Question 7:

Which of the following statements about synchronous and asynchronous communication in UML2 sequence diagrams are true?
Select one:

a. With asynchronous communication the sender pauses to wait for a response.
With synchronous communication the sender pauses to wait for a response.
b. Synchronous communication is modeled with a closed arrowhead, asynchronous communication is modeled with an open arrowhead.
c. Asynchronous communication is modeled with a closed arrowhead, synchronous communication is modeled with an open arrowhead.
d. The modeling of answer messages is compulsary.

Question 8:

For the given activity diagram. Which of the following action sequences are possible during one execution of the activity
Select one:
a. A → D → C, A → D
b. A → B → D → C, A → D
c. A → B → C→ D, A → D
d. A → B → C, A → D

Question 9:

A course is composed of 25 to 30 students and one or more teachers. How can this be modelled as

Select one:
a. Dependency
b. composition
c. Genralization
d. Aggregation

Question 10

In Library Management System, The expert which have information about all the resources available in library is

Select one:
a. Catalogue
b. Librarian
c. Borrower
d. Library

Question 11

class AudioClipManager. This class can be used to avoid playing two audio clips at the same time. If all audio clips are played through the AudioClipManager object then there will never be more than one audio clip playing at the same time. This is a good example of

Select one:
a. Observer
b. Singleton
c. Strategy
d. Factory

Question 12

pathname format for referring class dog to class shark is

Select one:
a. animals::shark:dog
b. animals::fish:shark
c. animals::fish:dog
d. animals::dog:shark

Question 13

Mobile phones consists of basic parts such as the keypad LCD speaker microphone etc, if speaker or microphone fail, we just replace the phone. This example should be modelled as

Select one:
a. Dependency
b. Aggregation
c. Composition
d. Genralization

Question 14

Which of the following statements is incorrect?

Select one:
a. The phases of the Unified Process mix the Inception, Elaboration, Construction, and Transition phases. As the iterations progress, the balance between these phases shifts. ----answer
b. The Unified Process consists of various phases. Each phase consists of a different mix of the Analysis, Design, Implementation, and Testing phases of the waterfall model.
c. Each iteration aims to deliver a `base line product' that could in principle be released.
The subsequent iterations improve upon this baseline
d. The Unified Process plans short iterations to make the software development process more robust against changes in requirements.

Question 15

Object destruction is denoted by a large X at the bottom of the object lifeline in the UML Sequence diagram. Such object destruction in sequence diagram can happen for

Select one:
a. book
b. shopping cart
c. order
d. clerk

Question 16

Which design pattern is most appropriate to be used for this figure?

Select one:
a. Strategy
b. Composite
c. Factory
d. Observer

Question 17

From the following figure, the object BorrowResourse Handler is

Select one:
a. Use case controller
b. Facade controller
c. Application Controller
d. Front Controller

Question 18

Every system operation initiates a collaboration diagram, the first object to receive the system operations like recordBorrow, borrowResource, printBook could be

Select one:
a. Librarian
b. Catalogue
c. Borrower
d. Library

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: question 1the figure given is an example of
Reference No:- TGS0443655

Now Priced at $15 (50% Discount)

Recommended (93%)

Rated (4.5/5)