Software Engineering MCQ

Software Engineering MCQ

Software Engineering MCQ -Multiple Choice Questions & Answers in Software Architecture & Design with explanations.Every MCQ set focuses on a specific topic in Software Architecture & Design

Question 1

A person needs to implement a web based scientific calculator. Here the user interface will display numeric keypad, and mathematical operation buttons like arithmetic (+,-,/,*), scientific and statistical functions. Based upon the operations system calculates the expression at the back-end and provide appropriate output, which kind of architecture pattern is best suitable for this kind of software.

Select one:
1. Corba
2. None of the above
3. Pipe and filter
4. Model-view-controller

Feedback

The correct answer is: Model-view-controller

Question 2

You are fetching data from a NO-SQL platform where the table structure is quite dynamic. It can change depending on the nature of the data. You wouldn’t like to change your application everytime the table structure changes. What’s the pattern you should use?

Select one:
1. Broker
2. Select one
3. Reflection
4. Microkernel

Feedback

The correct answer is: Reflection

Question 3

Consider a cloud based data center which runs a VMWare based virtualized platform. You are running an application on top of a MacOS which is essentially a virtual machine running on top of VMWare hypervisor. What role does the MacOS play here ?

Select one:
1. Internal server
2. External servers
3. Adapter
4. Microkernel module

Feedback

The correct answer is: External servers

Question 4

You need to test the response time of an online shopping system based on an assumption that the access to the system by one customer is independent of another. Furthermore, there is an expected number of access requests using which you need to simulate the access requests fpr testing. What kind of stimulus you should use

Select one:
1. Periodic access requests
2. Stochastic model of access requests
3. Sporadic access requests
4. Fixed number of access requests

Feedback

The correct answer is: Stochastic model of access requests

Question 5

In a client-server model where ‘n clients’ are sending request or receiving data from ‘m servers’. There are ‘x intermediate servers’ present which re-route the request (coming from Clients) to appropriate server based on the type of request. The intermediate server also returns the response to the client user-interface.

What is the role of the intermediate server here?
Select one:
1. Blackboard
2. Pipe
3. Controller or Model
4. Broker

Feedback

The correct answer is: Broker

Question 6

What type of class relationship can be read as “Object A contains Object B and Object B is part of object A”?

Select one:
1. Generalization
2. Specialization
3. None
4. Aggregation

Feedback

The correct answer is: Aggregation

Question 7

A system that reads a group of customer’s transaction details for the last 5 years from a file, on which you need to select season-wise transactions such as Transaction in Winter, Summer or Rainy season, then you need to group these transactions based on various types of customer such as Occasional Customer, Regular Customer, Permanent Customer, now sort these records based on customer type, and finally prepare a report of the transactions and a statistical trend analysis (mean, median, etc.).

Which architectural style would you prefer from the following:

Select one:
1. Pipe and Filter
2. Broker
3. Model View Controller
4. Blackboard

Feedback
Your answer is incorrect.
The correct answer is: Model View Controller

Question 8

The main technique for achieving portable software

Select one:
1. None of the above
2. is to have independent platform
3. is to increase the overall performance
4. is to isolate system dependency

Feedback

The correct answer is: is to isolate system dependency

Question 9

In a distributed system when two remote components exchange data, who is responsible for data transformation and transmission ?

Select one or more:

Select one:
1. Bridge
2. Client StuB
3. Skeleton
4. Broker

Feedback

The correct answer is: Skeleton

Question 10

Which of the following is Aggregation

Select one:
1. Expresses a part-of relationship and is a stronger form of an association relationship
2. Expresses an is-a relationship and is a stronger form of an association relationship
3. Expresses a part-of relationship and is a weaker form of an association relationship
4. Expresses an is-a relationship and is a weaker form of an association relationship

Feedback

The correct answer is: Expresses a part-of relationship and is a stronger form of an association relationship

Question 11

The concepts of push/pull type of pipelines are used in …

Select one:
1. Broker Architectural Style
2. Pipe-and-Filter Architectural Style
3. Layered Architectural Style
4. MVC Architectural Style

Feedback

The correct answer is: Pipe-and-Filter Architectural Style

Question 12

Polymorphism allows

Select one:
1. Early binding of operations
2. Component replacement
3. Late binding of operations
4. Set parameters at startup

Feedback

The correct answer is: Late binding of operations

Question 13

Which diagram shows the configuration of run-time processing elements of the system?

Select one:
1. Deployment Diagram
2. Class Diagram
3. Component Diagram
4. ER Diagram

Feedback
Your answer is incorrect.
The correct answer is: Component Diagram

Question 14

“An administrator wants to run different parts of the application in different systems, and also the system needs to exchange, add and remove the components at run-time.”

Which one of the following architecture patterns will be most suitable in the context given above?
Select one:
1. MVC
2. Broker
3. Blackboard
4. Pipe and Filter

Feedback

The correct answer is: Broker

Question 15

Writing an exception handling code in any GUI application is an example of.

Select one or more:

Select one:
1. Fault Prevention
2. Preventing Ripple effect
3. Fault Recovery
4. Fault Detection

Feedback

The correct answer is: Fault Recovery

Question 16

System’s ability to continuously provide correct service without any failure, is called

Select one:
1. Performance
2. Reliability
3. Security
4. Availability

Feedback

The correct answer is: Reliability

Question 17

Layered architecture style is best suited to develop the software applications which require

Select one:
1. The components to be easily replaceable
2. The high security of its data contents
3. The performance quality as a dominant factor
4. Information separating as a dominant factor

Feedback

The correct answer is: The components to be easily replaceable

Question 18

A typical component may have some features available for global use but some features are for its personal use. Which quality tactic it is employing ?

Select one:
1. Shadow Operation
2. Record Playback
3. Hide Information
4. Separate interface from implementation

Feedback

The correct answer is: Hide Information

Question 19

Which of the following statements is correct

Select one:
1. None of the mentioned
2. A highly modifiable system may or may not produce correct results
3. A highly modifiable system produces correct results
4. A highly modifiable system does not produce correct results

Feedback

The correct answer is: A highly modifiable system may or may not produce correct results

Question 20

Consider a database application where you don’t want your application to have hard-coded names of the database columns. You also don’t want the number of columns to be hard-coded in your application. If the structure of the table is changed, you want your application to adjust it at runtime. What is the architectural pattern you would consider here?

Select one:
1. Microkernel
2. Model view controller
3. Reflection
4. Pipe and Filter

Feedback

The correct answer is: Reflection

Question 21

COCOMO stands for ______ .
1. COnsumed COst MOdel
2. COnstructive COst MOdel
3. COmmon COntrol MOdel
4. COmposition COst MOdel

The correct answer is: COnstructive COst MOdel