MCQ Bank
Different messages in sequence diagrams includes:
- A) Both Simple and Asynchronous
- B) Notify
- C) Asynchronous
- D) Simple
In sequence diagram, the solid lines depict:
- A) Objects (or classes)
- B) Messages being sent from one object to the other
- C) Life-time of an object
- D) state of the object
In order to determine the role and responsibilities of the identified objects, we need to consider which of the following step(s):
a. Who I am?
b. What I know?
c. Who I know?
d. What I do?
- A) a and b
- B) c and d
- C) b, c and d
- D) a only
________ has become a standard notation for object oriented system modeling.
- A) Java
- B) OCL (object Constraint Language)
- C) UML
- D) C++
________________ pointed out the elegant conceptual integrity exhibited by layered organization of software systems, with the resulting gains in development and maintenance ease.
- A) Shaw and Garlan
- B) Barry Boehm
- C) David Parnas
- D) Edsger Dijkstra
A life line represents the object’s life during the interaction in a sequence diagram while its notation is depicted by ________.
- A) Full Arrow
- B) Dotted Lines
- C) Curved Lines
- D) Solid Lines
In sequence diagram, the objects are organized in a _____________ line and the events in a __________ time line.
- A) Vertical, horizontal
- B) Horizontal, straight
- C) Vertical, straight
- D) Horizontal, vertical
The ___________ provides the software engineer with a view of the system as a whole.
- A) Process Model
- B) Architectural Model
- C) Business model
- D) Requirements Model
Which of the following activities are included in the design process of a software architecture__________?
- A) Requirement Specifications of the system
- B) Architectural Analysis and Testing
- C) System Development and Deployment
- D) System Structuring and Modular Decomposition
Physical view in Krutchen’s 4+1 architectural view model captures __________.
- A) Static organization of the software in its development environment
- B) Mapping(s) of the software onto the hardware and reflects its distributed aspect
- C) Object model of the design
- D) Concurrency and synchronization aspects of the design
_________________ architectural model is widely used in mainframe application.
- A) Client-Server Model
- B) Repository Model
- C) Filter Model
- D) Layered Model
Identifying Whole-Part structures (Aggregations) means what are my _________
- A) Methods
- B) Components
- C) Attributes
- D) Messages
In Object oriented design, combining the services offered by an object with the attributes they work on, results in:
a. Lower coupling and stronger cohesion
b. Lower cohesion and stronger coupling
c. Increased likelihood of reuse
d. Decreases the modularity of the system
- A) b and c
- B) a only
- C) a and c
- D) b and d
"A car is made up of a body, three or four wheels, a steering mechanism, a breaking mechanism, and a power-engine"
The above statement is example of:
- A) Inheritance
- B) Specialization
- C) Whole-Part relationship
- D) Generalization
A _____ relationship indicates that one entity is composed of one or more parts which are themselves instances of that or another entity.
- A) Whole-part
- B) Inheritance
- C) Generalization
- D) Specialization
Sequence diagrams:
- A) Provide the static behavior
- B) Provide parallel data flow
- C) Provide a time-based view
- D) Provide Data Flow
An architectural style encompasses which of the following elements?
- A) Set of Components and Constraints
- B) Semantic Models and Constraints
- C) Set of Components and Semantic Models
- D) Constraints, Set of Components and Semantic Models
In multiprocessing applications, different execution threads may pass information to one another by sending _____________________ to each other.
- A) Asynchronous messages
- B) System calls
- C) Synchronous messages
- D) Interrupt calls
Comma ( , ) is very dangerous because ____________
- A) Compiler does not recognise this symbol
- B) It does not causes side effects
- C) It creates linkage problem
- D) It causes side effects
If an application fulfills its specifications but deviates from users expectations or their desired behavior. This means, software is verified but not ------------
- A) Corrected
- B) Checked
- C) Validated
- D) Traced