System Analysis and Design

401. The CRC modelling primarily requires

  1. identifying classes and their responsibilities
  2. identifying collaborators of each class and their responsibilities
  3. developing a collaboration graph
  1. i, ii
  2. i, iii
  3. ii, iii
  4. i, ii, iii
Correct answer: (D)
i, ii, iii

402. Functions and procedures are

  1. not useful in designing computer systems
  2. old fashioned and they are not useful
  3. useful in designing computer systems
  4. 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

  1. it should be reusable
  2. it should have polymorphic data types
  3. it should accept generic commands and interpret appropriately
  4. it should morph polygons
Correct answer: (C)
it should accept generic commands and interpret appropriately

404. In UML diagram of a class

  1. state of object cannot be represented
  2. state is irrelevant
  3. state is represented as an attribute
  4. state is represented as a result of an operation
Correct answer: (C)
state is represented as an attribute

405. In object-oriented design

  1. operations and methods are identical
  2. methods specify algorithms whereas operations only state what is to be done
  3. methods do not change values of attributes
  4. 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

  1. generalize classes
  2. specialize classes
  3. generalize and specialize classes
  4. 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

  1. verb phrases in the statement
  2. noun phrases in the statement
  3. adjectives in the statement
  4. adverbs in the statement
Correct answer: (A)
verb phrases in the statement

408. The expansion of the acronym CRC is

  1. Collecting Responsibilities Classes
  2. Collaborating with Relevant Classes
  3. Class Responsibilities and Collaborators
  4. Creating Relevant Classes
Correct answer: (C)
Class Responsibilities and Collaborators

409. A class index card contains besides class name

  1. superclasses and subclasses
  2. short description of class
  3. collaborators
  4. private responsibilities of class
  5. contract(s) with collaborators
  1. i, ii, iii
  2. i, iii, iv, v
  3. i, ii, iii, iv
  4. i, ii, iii, iv and v
Correct answer: (D)
i, ii, iii, iv and v

410. A subsystem of a complex system must specify

  1. what task it performs
  2. how it performs a task
  3. with which subsystems it co-operates
  4. how it co-operates with other systems
Correct answer: (C)
with which subsystems it co-operates
Page 41 of 61