MCQ Unit I 1. A Class consists of which of these abstractions? a) Name Compartment b) Attribute Compartment c) Operation Compartment d) All of the mentioned 2. An attribute is a data item held by which of the following? a) Class b) Object c) All of the mentioned d) None of the mentioned 3. The Unified Modeling Language (UML) has become an effective standard for software modelling.How many different notations does it have ? a) Three b) Four c) Six d) Nine 4. Which model in system modelling depicts the dynamic behaviour of the system ? a) Context Model b) Behavioral Model c) Data Model d) Object Model 5. Which model in system modelling depicts the static nature of the system? a) Behavioral Model b) Context Model c) Data Model d) Structural Model 6. Which perspective in system modelling shows the system or data architecture? a) Structural perspective b) Behavioral perspective
24
Embed
MCQ Unit I 1. 2. 3. 4. 5. 6. - Engineering Updates
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
MCQ Unit I
1. A Class consists of which of these abstractions?
a) Name Compartment
b) Attribute Compartment
c) Operation Compartment
d) All of the mentioned
2. An attribute is a data item held by which of the following?
a) Class
b) Object
c) All of the mentioned
d) None of the mentioned
3. The Unified Modeling Language (UML) has become an effective standard for software
modelling.How many different notations does it have ?
a) Three
b) Four
c) Six
d) Nine
4. Which model in system modelling depicts the dynamic behaviour of the system ?
a) Context Model
b) Behavioral Model
c) Data Model
d) Object Model
5. Which model in system modelling depicts the static nature of the system?
a) Behavioral Model
b) Context Model
c) Data Model
d) Structural Model
6. Which perspective in system modelling shows the system or data architecture?
a) Structural perspective
b) Behavioral perspective
c) External perspective
d) All of the mentioned
7. Model-driven engineering is just a theoretical concept. It cannot be converted into a
working/executable code.
a) True
b) False
8. The UML supports event-based modeling using ____________ diagrams.
a) Deployment
b) Collaboration
c) State chart
d) All of the mentioned
9. Which of the following diagram is not supported by UML considering Data-driven
modeling ?
a) Activity
b) Data Flow Diagram (DFD)
c) State Chart
d) Component
10. _________________ allows us to infer that different members of classes have some
common characteristics.
a) Realization
b) Aggregation
c) Generalization
d) dependency
11. ______________ & ______________ diagrams of UML represent Interaction modeling.
a) Use Case, Sequence
b) Class, Object
c) Activity, State Chart
d) All of the mentioned
12. Single inheritance, Multiple inheritance, and Aggregation comes under _______
a) Modularity
b) Typing
c) Hierarchy
d) None of the mentioned
13. What is that concept in type theory in which a single name may denote objects of many
different classes that are related by some common super class referred to ______
a) Monomorphism
b) Type Checking
c) Polymorphism
d) Generalization
14. The process of compartmentalizing the elements of an abstraction that constitute its
structure and behavior is called as
a) Hierarchy
b) Encapsulation
c) Modularity
d) Entity Abstraction
15. The essential characteristics of an object that distinguish it from all other kinds of objects
and thus provide crisply defined conceptual boundaries, relative to the perspective of the
viewer is called:
a) Encapsulation
b) Modularity
c) Hierarchy
d) Abstraction
16. What is the programming style of the object oriented conceptual model?
a) Invariant relationships
b) Algorithms
c) Classes and objects
d) Goals, often expressed in a predicate calculus.
17. Which relationship gives whole part relationship between two classes
a) Aggregation
b) Dependency
c) Composition
d) Both a & b
18. Which of the following UML diagrams has a static view?
a) Collaboration
b) Use case
c) State chart
d) Activity
19. What type of core-relationship is represented by the symbol in the figure below?
a) Aggregation
b) Dependency
c) Generalization
d) Association
20. Which core element of UML is being shown in the figure?
a) Node
b) Interface
c) Class
d) Component
21. What type of relationship is represented by Shape class and Square ?
a) Realization
b) Generalization
c) Aggregation
d) Dependency
22. Which diagram in UML shows a complete or partial view of the structure of a modeled
system at a specific time?
a) Sequence Diagram
b) Collaboration Diagram
c) Class Diagram
d) Object Diagram
23. Interaction Diagram is a combined term for
a) Sequence Diagram + Collaboration Diagram
b) Activity Diagram + State Chart Diagram
c) Deployment Diagram + Collaboration Diagram
d) None of the mentioned
24. Structure diagrams emphasize the things that must be present in the system being
modeled.
a) True
b) False
25. Which of the following diagram is time oriented?
a) Collaboration
b) Sequence
c) Activity
d) None of the mentioned
26. How many diagrams are here in Unified Modelling Language?
a) six
b) seven
c) eight
d) nine
27. Which UML diagram is shown below?
a) Use Case
b) Collaboration Diagram
c) Class Diagram
d) Object Diagram
28. Which UML diagram is shown below?
a) Use Case
b) State Chart
c) Activity
d) Object Diagram
29. Which UML diagram is shown below?
a) Use Case
b) Collaboration Diagram
c) Sequence Diagram
d) Object Diagram
30. Which UML diagram’s symbols are shown below?
a) Deployment diagram
b) Collaboration Diagram
c) Component Diagram
d) Object Diagram
31. Which of these truly defines Software design?
a) Software design is an activity subjected to constraints
b) Software Design specifies nature and composition of software product
c) Software Design satisfies client needs and desires
d) All of the mentioned
32. What is incorrect about structural design?
a) Structural design introduced notations and heuristics
b) Structural design emphasis on procedural decomposition
c) The advantage is data flow representation
d) It follows Structure chart
33. What is the solution for Structural design?
a) The specification model following data flow diagram
b) Procedures represented as bubbles
c) Specification model is structure chart showing procedure calling hierarchy and flow of
data in and out of procedures
d) Emphasizing procedural decomposition
34. What is followed by the design task?
a) Choosing specific classes, operations
b) Checking model’s completeness
c) Following design task heuristics
d) All of the mentioned
35. Which of this analysis are not acceptable?
a) Object oriented design is a far better approach compared to structural design
b) Object oriented design always dominates structural design
c) Object oriented design are given more preference than structural design
d) Object oriented uses more specific notations
36. Which of these does not represent object oriented design?
a) It follows regular procedural decomposition in favor of class and object decomposition
b) Programs are thought of collection of objects
c) Central model represents class diagrams that show the classes comprising a program