MCQ's MCS Evening 3th-A

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

MCS Evening 3th -A

OOSE MCQ’s
1. Which of the following UML diagrams has a static view?
a) Collaboration
b) Use case
c) State chart
d) Activity

Answer: b

2. 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
Answer: d

3. Which of the following diagram is time oriented?


a) Collaboration
b) Sequence
c) Activity
d) None of the mentioned

Answer: b

4. How many diagrams are here in Unified Modelling Language?


a) six
b) seven
c) eight
d) nine
Answer: d
5. Which of the following come under system control?
a) Reconfigure
b) Shutdown
c) Powersave
d) All of the mentioned

Answer: d

6. We use _________ where various parts of system use are identified and analyzed in turn.
a) tangible entities
b) scenario-based analysis
c) design-based analysis
d) none of the mentioned

Answer: b

7. Use case descriptions consist of interaction among which of the following?


a) Product
b) Use case
c) Actor
d) Product & Actor

Answer: d

8. Which of these statements are truly acceptable?


a) A precondition is an assertion guaranteed to be true when the activity or operation
finishes
b) A post condition is an assertion guaranteed to be true when the activity or operation
begins
c) Trigger is an event which cause a use case to begin
d) None of the mentioned

Answer: c
9. Select the diagram that is used to model the vocabulary of a system.
a). Object Diagram
b). Activity Diagram
c). Both a and b
d). Class diagram

Answer: d

10. A Class consists of which of these abstractions?


a) Set of the objects
b) Operations
c) Attributes
d) All of the mentioned

Answer: d

11. What does a simple name in UML Class and objects consist of?
a) Letters
b) Digits
c) Punctuation Characters
d) All of the mentioned

Answer: d

12. 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

Answer: c
13. An operation can be described as?
a) Object behavior
b) Class behavior
c) Functions
d) Object & Class behavior

Answer: d

14. An object symbol is divided into what parts?


a) Top compartment
b) Bottom Compartment
c) All of the mentioned
d) None of the mentioned

Answer: c
15.Which UML diagram is shown below?

a) Use Case
b) State Chart
c) Activity
d) Object Diagram
Answer: b

16. Which of the following is not needed to develop a system design from concept to
detailed object-oriented design?
a) Designing system architecture
b) Developing design models
c) Specifying interfaces
d) Developing a debugging system

Answer: d
17. A description of each function presented in the DFD is contained in a ________
a) data flow
b) process specification
c) control specification
d) data store

Answer: b

18. Which diagram indicates the behaviour of the system as a consequence of external
events?
a) ER diagram
b) state transition diagram
c) activity diagram
d) none of these

Answer: b

19. Which mechanism is applied to use a design pattern in an OO system?


a) Inheritance
b) Composition
c) All of the mentioned
d) None of the mentioned

Answer: c

20. Design patterns does not follow the concept of software reuse.
a) True
b) False

Answer: b
21. The use of design patterns for the development of object-oriented software has
important implications for
a) Component-based software engineering
b) Reusability in general
c) All of the mentioned
d) None of the mentioned

Answer: c

22. ___________ are statements that can be interpreted in a number of ways.


a) Contradictions
b) Ambiguities
c) Vagueness
d) Comments

Answer: a

23. What is a sequence diagram?


a) A diagram that shows interacting individuals along the top of the diagram and messages
passed among them arranged in temporal order down the page
b) A diagram that shows messages superimposed on a diagram depicting collaborating
individuals and the links among them
c) A diagram that shows the change of an individual’s state over time
d) All of the mentioned

Answer: a

24. What are the different interaction diagram notations does UML have?
a) A sequence diagram
b) A communication diagram
c) An interaction overview diagram
d) All of the mentioned

Answer: d
25. Which of the following statement is true?
a) A transition is a change from one state to another
b) Transitions may be spontaneous, but usually some event triggers them
c) An event is a noteworthy occurrence at a particular time; events have no duration
d) All of the mentioned

Answer: d

26. 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) ER Diagram
c) Class Diagram
d) Object Diagram

Answer: d

27. Which of the following is the main advantage of object-oriented software development?

a. Higher level of abstraction

b. The seamless transition among different levels of software development

c. Promoting reusability

d. All of the above

Answer: d
28. Which of the following describes the state of an object?

a. Methods

b. Data

c. Attributes

d. None of the above

Answer: c

29. Cardinality related to ————–

a. Generalization

b. Abstraction

c. Classification

d. Association

Answer d

30. Which of the following symbols are used by the DFD?

a. Process

b. Data flow

c. Datastore

d. External entity

e. All of the above

Answer: e
31. Select where the class diagrams are not convenient

a) simple interactions model


b) the vocabulary of a system model
c) simple collaborations model
d) All of the above

Answer: c

32. Select the view which is shown by object Object diagram.


a) logical
b) dynamic
c) static
d) All of these

Answer: c

33. Which one is used to display a set of objects and their relationships?
a) Object diagram
b) Class diagram
c) Use case diagram
d) Activity diagram

Answer: a

34. How many views of the software can be represented through the Unified Modeling
Language (UML)?
a) Four
b) Five
c) Nine
d) None of the above
Answer: b
35. Which of the following views represents the interaction of the user with the software
but tells nothing about the internal working of the software?
a) Use case diagram
b) Activity diagram
c) Class diagram
d) All of the above
Answer: a

36. UML diagram that shows the interaction between users and system, is known as
a) Activity diagram
b) E-R diagram
c) Use case diagram
d) Class diagram
Answer: c

37.Select the diagram that is used to model the vocabulary of a system.


a) Object Diagram
b) Activity Diagram
c) Both a and b
d) Class diagram

Answer: d

38. _________select from the following in which engineering and reverse engineering can
be applicable
a) tagged values
b) stereotypes
c) class diagram
d) Both a and b

Answer: c
39.Select the best diagram to model business workflows?
a) ER diagram
b) Activity diagram
c) Use Case diagram
d) None of these

Answers: b

40. UML diagram that specifies sequences/ steps of operations to be performed


a) Activity diagram
b) Use case diagram
c) Class diagram
d) E-R case diagram
Answer: b

41. A UML diagram that facilitates requirements gathering and interacts between system
and external users, is called as
a) Flowchart diagram
b) Sequence diagram
c) Use case diagram
d) Data flow diagram
Answer: c
42. Which core element of UML is being shown in the figure?

a) Node
b) Interface
c) Class
d) Component

Answer: d

43. Which of the following diagram is time oriented?


a) DFD
b) Sequence
c) Activity
d) None of the mentioned

Answer: b

44._________are Weak entities are represented in UML diagrams by using aggregations.

a) qualified
b) non-qualified
c) non-qualified
d) qualified
Answer: :d
45.which of the following Composite name consists of in a UML Class and object diagram?

a) Delimiter
b) Simple names
c) Digits
d) All of the mentioned
Answer: d

46.which of these compartments divided in class?


a) Name
b) Attribute
c) Operation
d) All of the mentioned
Answer: d

47.which of the following attribute is a data item held by?


a) Class
b) Object
c) All of the mentioned
d) None of the mentioned
Answer: c

48.An operation can be described as__________.


a) Object
b) Class
c) Functions
d) Object & Class
Answer: d
49. Which UML is shown in below?

a) Use Case
b) Collaboration Diagram
c) Sequence Diagram
d) Object Diagram

Answer: c
50.Select which one is model static data structures.
a) Object diagrams
b) Class diagrams
c) Activity diagrams
d) All of the above

Answer: B

You might also like