Tuesday, March 17, 2015

Software Architecture Quiz 2

1.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:
microkernel
broker
blackboard architecture
reflection {correct}

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

Select one:
the components to be easily replaceable {correct}
information separating as a dominant factor
the performance quality as a dominant factor
the high security of its data contents

3.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:

Hide Information {correct}
Shadow Operation
Separate interface from implementation
Record Playback

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

Select one or more:
Fault Recovery {correct}
Fault Prevention
Preventing Ripple effect
Fault Detection {correct}


5.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:

microkernel module
adapter
external servers {correct}
internal server


6.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:

Microkernel
pipe and filter
reflection{correct}
model view controller
layered pattern


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

none of the above
model-view-controller{correct}
pipe and filter
corba


8.The concepts of push/pull type of pipelines are used in ...

Select one:

Layered Architectural Style
MVC Architectural Style
Pipe-and-Filter Architectural Style{correct}
Broker Architectural Style


9.Polymorphism allows

Select one:

set parameters at startup
late binding of operations{correct}
early binding of operations
component replacement

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

Select one or more:

Bridge
Broker
Skeleton{correct}
Client Stub{correct}

11.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:

stochastic model of access requests {correct}
fixed number of access requests
periodic access requests
sporadic access requests

12.Suppose that you are building an web-based online shopping application. What is(are) the appropriate architectural patterns?

Select one or more:

Microkernel
model view controller{correct}
blackboard
layered pattern{correct}
pipe and filter


13.Which quality attribute would you consider most important for the development of Google type search query system?

Select one:

Modifiability
Testability
Performance {correct}
Security


14.The observers are associated with ...

Select one:

MVC Architectural Style{correct}
Broker Architectural Style
Layered Architectural Style
Pipe-and-Filter Architectural Style


15.Consider a space-rover system that receives various types of input signals like temperature and pressure of the environment, speed of descend at any given point in time, image of the surface, and wind speed and direction. These inputs are converted into a set of numeric data points for further processing. Based on the speed of descend, it may have to adjust and activate the upward thrust or a parachute. If there is an obstacle, it may have to change its direction so that after falling it does not damage the internal parts. These decisions are difficult to hard-code as a systematic workflow. What architectural pattern would be most appropriate here?

Select one:

blackboard {correct}
Reflection
model view controller
pipe and filter
Microkernel

16.Suppose that you are to design a gmail like mail system. The incoming mails are scanned for different security checks at different level one after other. Each level has its own functionality and depends on input from previous levels.For designing such system, what is the best possible architecture that can be used for this situation.

Select one:

Microkernel
model view controller
layered architecture
pipe and filter{correct}


17.It is possible to define a concurrency view using the module decomposition. Therefore, concurrency view is not a absolute necessity.

Select one:

False {correct}
True
http://www.ece.ubc.ca/~matei/EECE417/BASS/ch07lev1sec2.html

18.You are writing a software for a Robocup tournament where your team, comprising of multiple Robots will play a soccer game with another opponent. What should be your architectural strategy to write the overall controlling software for your robot?

Select one:

use reflection pattern for flexibility
use microkernel architecture
use blackboard based design {correct}
use broker pattern for distributed computing


19.A complex portal's user-interface part interacts with a set of web-servers. These web-servers, depending on the request type, routes it to the appropriate application service which process the request. The webserver then returns the response to the user-interface. Here what is the role of the webserver?

Select one:

blackboard
pipe
broker{correct}
kernel
controller


20.If you want to create a modular design in C, which of the following C language features represent interfaces ?

Select one:

Union keyword
Header files (.h files) {correct}
Struct keyword
Loop constructs


21.Which of the following view can be used to analyze the network traffic.?

Select one:

Use case View
Class view
Concurrency View
Deployment view {correct}
http://www.ece.ubc.ca/~matei/EECE417/BASS/ch07lev1sec2.html

22.Which of the following structure does not describe the static property of a software architecture?

Select one:

Software deployment structure
Software runtime structure {correct}
Software code structure
software management structure

23.Which of the following has maximum impact on the performance of the system.

Select one:

Support User Initiative
Enhance Concurrency
Separate User Interface {correct}
Support System Initiative

24.If you have to design a system that reads a set of student marks for the last 10 years from a file, on which you need to select fall semester marks, then you need to group these marks based on various subjects, sort these records based on marks, and finally report the sorted marks and a statistical trend analysis (mean, median, etc.). Which architectural style would you prefer

Select one:

pipe and filter {correct}
Microkernel
model view controller
blackboard

8 comments:

  1. Awesome questions

    ReplyDelete
  2. ans bhi display kar dijiye please

    ReplyDelete
    Replies
    1. written {correct} in front of them ...

      Delete
    2. Hi sachin
      have u verified all the answer are in quiz review .

      or its a Guess !!

      Thanks in advance

      Delete
    3. yes i have verified every answer ........

      Delete
    4. Thanks for the response

      Delete
  3. could you please help me in following questions

    6. Pick the Odd one out
    Select one:
    a. Reduction in the choice of designs enables re-use
    b. Product lines do not share similar architectures
    c. Component and Connector structures do not show data flow throughout the system
    d. Component and Connector structures include implementation

    ReplyDelete