Design and Implementation MCQs

34. What is an object________________?

A. An object is an instance of a class
B. An object includes encapsulation of data
C. An object is not an instance of a class
D. All of the mentioned
✅ The correct answer is option A.
Explanation: An object is an instance of a class.

35. Which of the following steps is applied to develop a decision table ?

A. List all actions that can be associated with a specific procedure
B. List all conditions during execution of the procedure
C. Define rules by indicating what action(s) occurs for a set of conditions
D. All of the mentioned
✅ The correct answer is option D.
Explanation: A decision table includes action stub and a condition stub with a set of rules.

37. Select the statement true for activity diagrams ?

A. They can be used to discover parallel activities
B. They are used to depict workflow for a particular business activity
C. Activity diagram do not tell who does what and are difficult to trace back to object models
D. All of the mentioned
✅ The correct answer is option D.
Explanation: Activity diagrams are graphical representations of workflows of step wise activities and actions with support for choice, iteration and concurrency.

38. Which of the following UML diagrams has a static view ?

A. Collaboration
B. Use case
C. State chart
D. Activity
✅ The correct answer is option B.
Explanation: A use case diagrams captures only the functionality of the system whereas a dynamic model/view captures the functions as well as the action.

39. At Conceptual level Class diagrams should include_____________________?

A. operations only
B. attributes only
C. both operations and attributes
D. none of the mentioned
✅ The correct answer is option B.
Explanation: In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static structure diagram that describes the structure of a system by showing the system’s classes, their attributes, operations, and the relationships among objects.
Scroll to Top