MCQ Bank
Consider the following piece of code:
public class Square extends Shape {
// some code .
}
The above code is an example of:
- A) Generalization/Specialization
- B) Data encapsulation
- C) Data Sharing
- D) Part-Whole relationship
In case of a ________________ message, the called routine that handles the message is completed before the caller resumes execution.
a. Synchronous
b. Asynchronous
c. Bidirectional
- A) both b and c
- B) a only
- C) c only
- D) b only
Whole Part Structure is also called ______
- A) Generalization
- B) Association
- C) Aggregation
- D) Specialization
Selecting Objects (in a domain) include:
- A) Actors, Participants and Places
- B) Only Actors
- C) Only Actors and Places
- D) Only Participants
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) c and d
- B) b, c and d
- C) a and b
- D) a only
Return values in synchronous messages are:
- A) Not used at all
- B) May not used when response is obvious
- C) Compulsory
- D) represented by solid lines
The clients and servers, in a client server environment, are connected through _____________________.
- A) Groupware
- B) Middleware
- C) Interface
- D) Framework
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
Process view in Krutchen’s 4+1 architectural view model captures ____________.
- A) Static organization of the software in its development environment
- B) Concurrency and synchronization aspects of the design
- C) Object model of the design
- D) Mapping(s) of the software onto the hardware and reflects its distributed aspect
A ________ is a system component that provides services to other components but would not normally be considered as a separate system.
- A) Module
- B) Method
- C) Relationship
- D) Message
A "register" in "Point of sale system" is an example of:
- A) Tangible thing
- B) Transaction
- C) Actor
- D) Participant
Physical view in Krutchen’s 4+1 architectural view model captures __________.
- A) Mapping(s) of the software onto the hardware and reflects its distributed aspect
- B) Static organization of the software in its development environment
- C) Concurrency and synchronization aspects of the design
- D) Object model of the design
The focus of sequence diagrams is:
- A) On object constraints
- B) On the flow of Control
- C) On static Model of system
- D) On objects/classes and messages exchanged among them
Return values in Synchronous messages are represented by:
- A) Double line
- B) A dotted line with label
- C) A solid line with label
- D) A solid line
Defining the services of an object means:
- A) Whome it knows?
- B) What it knows?
- C) Who knows it?
- D) What it does?
Development view in Krutchen’s 4+1 architectural view model captures
- A) Static organization of the software in its development environment
- B) Concurrency and synchronization aspects of the design
- C) Mapping(s) of the software onto the hardware and reflects its distributed aspect
- D) Object model of the design
Specialization means:
- A) Hiding the data
- B) Creating new subclasses from an existing class
- C) Abstraction
- D) Calling the same method with object of child object
"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) Generalization
- B) Whole-Part relationship
- C) Inheritance
- D) Specialization
In case of a file servers, client requests selected records from a .....and the server transmits records to client over the network.
- A) File
- B) Local Memory
- C) Network
- D) Database
When a class gets physical existance in computer memory, it is called
- A) Static Object
- B) Object
- C) polymorphism
- D) Parent Class