design and implementation MCQs – Page 2

Practise focused design and implementation questions with marked answers for exam preparation and subject revision.

design and implementation Mcqs
21. UML interfaces are used to_____________________?
comments icon0

A. program in Java, but not in C++ or Smalltalk

B. specify required services for types of objects

C. define an API for all classes

D. define executable logic to reuse across classes

25. A software component____________________?
comments icon0

A. Communicates through its interfaces only

B. Implements some functionality

C. All of the mentioned

D. Has explicit dependencies through provides and required interfaces

27. Which diagram shows the configuration of run-time processing elements ?
comments icon0

A. ER-diagram

B. Component diagram

C. Deployment diagram

D. Node diagram

29. Classes and interfaces are a part of____________________?
comments icon0

A. Grouping things

B. Behavioral things

C. Annotational things

D. Structural things
30. In which test design each input is tested at both ends of its valid range and just outside its valid range ?
comments icon0

A. Decision tables

B. Boundary value testing

C. Boundary value testing AND Equivalence class partitioning

D. Equivalence class partitioning
31. When does the testing process stops ?
comments icon0

A. Testing never ends

B. When some coverage is reached

C. When resources (time and budget) are over

D. When quality criterion is reached
33. The ________________ contains a state transition diagram that is a sequential specification of behavior?
comments icon0
A. control specification

B. workflow diagram

C. data flow diagram

D. state transition diagram

35. The use of design patterns for the development of object-oriented software has important implications for____________________?
comments icon0
A. All of the mentioned

B. Component-based software engineering

C. None of the mentioned

D. Reusability in general

36. You want to avoid multiple inheritance. Which design pattern would you choose ?
comments icon0

A. Singleton Pattern

B. Player-Role Pattern

C. Abstraction-Occurrence Pattern

D. General Hierarchy Pattern

37. Interaction Diagram is a combined term for_____________________?
comments icon0

A. Activity Diagram + State Chart Diagram

B. None of the mentioned

C. Sequence Diagram + Collaboration Diagram

D. Deployment Diagram + Collaboration Diagram

38. Which diagram indicates the behaviour of the system as a consequence of external events ?
comments icon0

A. control specification diagram

B. data flow diagram

C. state transition diagram

D. workflow diagram

39. Which granularity level of testing checks the behavior of module cooperation ?
comments icon0

A. Regression Testing

B. Unit Testing

C. Acceptance Testing

D. Integration Testing
40. Which diagram in UML emphasizes the time-ordering of messages ?
comments icon0
A. Sequence

B. Class

C. Collaboration

D. Activity