System Analysis and Design
401. The CRC modelling primarily requires
- identifying classes and their responsibilities
- identifying collaborators of each class and their responsibilities
- developing a collaboration graph
- i, ii
- i, iii
- ii, iii
- i, ii, iii
Correct answer: (D)
i, ii, iii
402. Functions and procedures are
- not useful in designing computer systems
- old fashioned and they are not useful
- useful in designing computer systems
- have side effects which require special care if they are used as subsystems
Correct answer: (D)
have side effects which require special care if they are used as subsystems
403. By polymorphism of a subsystem we mean
- it should be reusable
- it should have polymorphic data types
- it should accept generic commands and interpret appropriately
- it should morph polygons
Correct answer: (C)
it should accept generic commands and interpret appropriately
404. In UML diagram of a class
- state of object cannot be represented
- state is irrelevant
- state is represented as an attribute
- state is represented as a result of an operation
Correct answer: (C)
state is represented as an attribute
405. In object-oriented design
- operations and methods are identical
- methods specify algorithms whereas operations only state what is to be done
- methods do not change values of attributes
- methods and constructor are same
Correct answer: (B)
methods specify algorithms whereas operations only state what is to be done
406. Inheritance in object-oriented modelling can be used to
- generalize classes
- specialize classes
- generalize and specialize classes
- create new classes
Correct answer: (C)
generalize and specialize classes
407. Given a word statement of problem potential operations appropriate for objects are identified by selecting
- verb phrases in the statement
- noun phrases in the statement
- adjectives in the statement
- adverbs in the statement
Correct answer: (A)
verb phrases in the statement
408. The expansion of the acronym CRC is
- Collecting Responsibilities Classes
- Collaborating with Relevant Classes
- Class Responsibilities and Collaborators
- Creating Relevant Classes
Correct answer: (C)
Class Responsibilities and Collaborators
409. A class index card contains besides class name
- superclasses and subclasses
- short description of class
- collaborators
- private responsibilities of class
- contract(s) with collaborators
- i, ii, iii
- i, iii, iv, v
- i, ii, iii, iv
- i, ii, iii, iv and v
Correct answer: (D)
i, ii, iii, iv and v
410. A subsystem of a complex system must specify
- what task it performs
- how it performs a task
- with which subsystems it co-operates
- how it co-operates with other systems
Correct answer: (C)
with which subsystems it co-operates