250+ MCQs on Applying Unit Operations To User-Interface Software and Answers

Software Architecture online quiz on “Applying Unit Operations To User-Interface Software”.

1. Which among the following are the functions that any system with a user interface must provide?
a) Presentation
b) Dialogue
c) All of the mentioned
d) None of the mentioned

Answer: a
Clarification: Presentation and Application are the functions that any system with a user interface must provide.

2. What is Presentation?
a) Interaction with user
b) Understanding purpose of the system
c) It is the function that every interactive system must support
d) None of the mentioned

Answer: a
Clarification: Presentation- Interaction with user.

3. Which of the following is the main task accomplished by the user?
a) Compose a document
b) Create a spreadsheet
c) Send mail
d) All of the mentioned

Answer: d
Clarification: All of the mentioned are the main task accomplished by the user.

4. What is Dialogue?
a) Interaction with user
b) Understanding purpose of the system
c) It is the function that every interactive system must support
d) None of the mentioned

Answer: c
Clarification: Dialogue-It is the function that every interactive system must support.

5. Which of the following is incorrect about the monolithic model?
a) Monolithic model is simply an implementation model
b) It provides a good efficiency because application and interface model are directly connected
c) All of the mentioned
d) None of the mentioned

Answer: d
Clarification: All of the mentioned are correct.

6. What is Application?
a) Interaction with user
b) Understanding purpose of the system
c) It is the function that every interactive system must support
d) None of the mentioned

Answer: b
Clarification: Application-Understanding purpose of the system.

7. HCI which concerns lead the evolution of Seeheim Model?
a) Modifiability and Scalability
b) Modifiability and Portability
c) Modifiability alone
d) None of the mentioned

Answer: b
Clarification: HCI concern about Modifiability and Portability lead the evolution of Seeheim Model.

8. What are the portability concerns founded in Seeheim model?
a) Replacing the presentation toolkit
b) Replacing the application toolkit
c) Replacing the dialogue toolkit
d) Replacing the presentation & dialogue toolkit

Answer: d
Clarification: The portability concerns founded in Seeheim model are- Replacing the presentation toolkit and Replacing the application toolkit.

9. Which of the unit operations can increase the overall portability?
a) Resource sharing
b) Is-a Decomposition
c) Abstraction
d) All of the mentioned

Answer: c
Clarification: All of the mentioned unit operations can increase the overall portability.

10. Which of the following is true for Seeheim model?
a) Presentation is abstracted from dialogue and Application
b) Presentation and Dialogue is abstracted from Application
c) Presentation and Application is abstracted from Dialogue
d) None of the mentioned

Answer: a
Clarification: Presentation is abstracted from dialogue and application.

11. Which of the unit operation is used in Model view controller?
a) Is a Decomposition
b) Part Whole Decomposition
c) All of the mentioned
d) None of the operation

Answer: b
Clarification: Part whole decomposition is applied to MVC.

250+ MCQs on Building Domain Specific Languages and Answers

Software Architecture Assessment Questions and Answers on “Building Domain Specific Languages”.

1. Which of the following are the changes that most of the architecture follow?
a) Change in the internal working of one or more component
b) Change that affect an interface among the components
c) Change that affect the architecture
d) All of the mentioned

Answer: d
Clarification: All of the mentioned are the changes that most of the architecture follow.

2. Architecture embodies the commonalities across which of the following versions of system?
a) Prototyping
b) Product variation
c) Deployment
d) All of the mentioned

Answer: d
Clarification: Architecture embodies the commonalities across all of the mentioned versions.

3. Which of the following is possible to design a simple language?
a) Variations codified in a systematic fashion
b) Variations in a non systematic fashion
c) All of the mentioned
d) None of the mentioned

Answer: a
Clarification: To design a simple language Variations are codified in a systematic fashion.

4. Which of the following is true for the application generator?
a) Programs that take specification of other program as input
b) Programs that produce specifications input of program to output
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned are true for application generator.

5. Which of the following is application generator?
a) Compiler
b) Debugger
c) All of the mentioned
d) None of the mentioned

Answer: a
Clarification: Compiler is application generator.

6. Which of the following is parser generator?
a) YACC
b) YBAC
c) YAAC
d) YCAA

Answer: a
Clarification: YACC is the parser generator.

7. Which of the following is true for YACC?
a) It accepts specification for a parser as input
b) It produces parser as output
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned are true for YACC.

8. Which of the following is not a part of commonality?
a) Data structure used
b) Algorithm employed
c) Architecture of the parser
d) None of the mentioned

Answer: d
Clarification: All are the part of commonality.

9. Which of the following are the advantages for application generators?
a) Generating code faster
b) Cheap and more reliable code
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned are the advantages for application generators.

10. Which of the following are the steps for FAST?
a) Disagree on codification of variations
b) Build the application generator
c) All of the mentioned
d) None of the mentioned

Answer: b
Clarification: Steps of FAST-Agree on codification of variations and Build the application generator.

250+ MCQs on Prototyping and UML Use Case Diagrams and Answers

Software Design Question Bank on “Prototyping and UML Use Case Diagrams”.

1. What are prototypes?
a) Prototypes is a working model of part or all of a final product
b) Prototypes does not represent any sort of models
c) Prototype can never consist of full size
d) All of the mentioned

Answer: a
Clarification: Prototypes exits usually in full size, Prototype itself is a model.

2. What are the types of prototypes?
a) Horizontal prototypes
b) Vertical Prototypes
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: These are the types of prototypes.

3. Which of these is true for prototypes?
a) Horizontal Prototypes does some processing apart from the required for presenting the product’s user interface
b) Vertical Prototype realizes part or all of a product’s user interface
c) All of the mentioned
d) None of the mentioned

Answer: d
Clarification: Horizontal prototype realizes part or all of product’s user interface and vice versa)

4. What are the notations for the Use case Diagrams?
a) Use case
b) Actor
c) Prototype
d) Use case and Actor

Answer: d
Clarification: Use Case diagram consists of Use cases and Actors.

5. Which description is inappropriate?
a) A usecase is a type of agent that interacts with a product
b) An actor is a type of complete interaction between product and its environment
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: An actor is a type of agent that interacts with the product.

6. Which statements are considered correct in reference to use case diagram?
a) A scenario is an interaction between product and particular interaction
b) A use case diagram represent a product’s use cases and actors involved in each use case
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All the statements are the respective definitions of the terms.

7. Which among the following can be heuristic for Use case diagram?
a) Product can be made actor
b) Never name actors with noun phrases
c) Name Use cases with verb phrases
d) All of the mentioned

Answer: c
Clarification: Actors are noun phrases and never make a product as an actor.

8. What is incorrect among the following?
a) Make use cases that uniform in size and complexity
b) Organize use cases by actor, problem domain categories or solution categories
c) Use cases can last for more than one session
d) Achieve a stakeholder goal in a usecase

Answer: c
Clarification: Use cases should be finished in one session.

9. Use case models that can be summarized under which of this category?
a) Usecase Diagram
b) Usecase Description
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: Use case models are summarized as usecase diagram and description.

10. Which of the following statement is true?
a) Use case diagram is a dynamic model of interaction between product and actors in a use case
b) Use case Description is a static model of usecase supported by a product
c) All of the mentioned
d) None of the mentioned

Answer: d
Clarification: Use case description is dynamic model of interaction between product and actors in a use case.

250+ MCQs on Drafting a Class Model and Answers

Software Design Multiple Choice Questions on “Drafting a Class Model”.

1. Mid level generation design techniques are classified into which of the following?
a) Creational Techniques
b) Transitional Techniques
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: Mid level generation design techniques are classified as creational, transitional techniques.

2. Which of the following can be considered true?
a) Make a mid-level design model from scratch is for transformational technique
b) Change another model into a mid-level design mode is for Creational technique
c) All of the mentioned
d) None of the mentioned

Answer: d
Clarification: Make a mid-level design model from scratch is for Creational technique and Change another model into a mid-level design mode is for Transformational technique.

3. What does Design Theme means in general?
a) Important problem
b) Concern and Issues
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: Design Theme means in general Important problem, Concern and issues related to the problem.

4. Why does designers look for candidate classes?
a) To model entities in charge of or involved in program tasks
b) To model things in the world that interact directly with the program
c) To model structures and collections of objects
d) All of the mentioned

Answer: d
Clarification: Designers look for candidate classes to model entities in charge of or involved in program tasks, things in the world that interact directly with the program, structures and collections of objects.

5. After generating candidate classes, designers evaluate them and choose the best ones to include in the model using the which of the following heuristics?
a) Discard candidates with vague names or murky responsibilities
b) Discard candidates that do something out of scope
c) Apply design patterns where appropriate
d) All of the mentioned

Answer: d
Clarification: The following heuristics are involved Discard candidates with vague names or murky responsibilities, Discard candidates that do something out of scope.

6. The next step is to evaluate the class diagram to check that all candidate classes are present and that the diagram reflects their descriptions, Designers apply which of the following heuristics to this activity?
a) Check each class for important but overlooked attributes, operations, or associations
b) Discard candidates that do something out of scope
c) Apply design patterns were not appropriate
d) All of the mentioned

Answer: d
Clarification: Designers apply the following heuristics to this activity Check each class for important but overlooked attributes, operations, or associations and Apply design patterns where appropriate.

7. Which of the following is referred for the conceptual modelling?
a) Change actors to interface classes
b) Add actor domain classes
c) Convert or add controllers and coordinators
d) All of the mentioned

Answer: d
Clarification: All of the following is referred for the conceptual modelling.

8. Which of these are class diagram generation heuristics?
a) Add classes for data types
b) Convert or add container classes
c) Convert or add engineering design relationships
d) All of the mentioned

Answer: d
Clarification: All of the mentioned steps are the heuristics for class diagram generation.

9. Which of these steps are followed for Generating Classes from Themes?
a) Look for entities in charge of program tasks
b) Rework candidate classes with overlapping responsibilities to divide their responsibilities cleanly
c) Look for things about which the program stores data
d) Look for entities in charge of program tasks, Look for things about which the program stores data

Answer: d
Clarification: Generating Classes from Themes follows -Look for entities in charge of program tasks, Look for things about which the program stores data.

10. Which of the following is followed for Evaluating and Selecting Candidate Classes?
a) Discard classes with vague names or murky responsibilities
b) Discard classes will not do something out of scope
c) Look for actors
d) All of the mentioned

Answer: a
Clarification: Evaluating and Selecting Candidate Classes follows- Discard classes with vague names or murky responsibilities, Discard classes that do something out of scope.

250+ MCQs on The Adapter Patterns and Proxy Pattern and Answers

Software Design Interview Questions and Answers for freshers on “The Adapter Patterns and Proxy Pattern”.

1. Which of the following is true for Adapter pattern?
a) An adapter or wrapper is a component that provides a new interface for an existing component
b) An Adapter or Wrapper pattern is a broker pattern that provides a new interface for existing software so that it can be reused
c) Adaptation for reuse is an old technique that has been used since the beginning of software development
d) All of the mentioned

Answer: d
Clarification: All of the mentioned are true.

2. The Adapter patterns provide object-oriented adapters in which of theses varieties?
a) One uses inheritance
b) one uses delegation
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: Adapter patterns includes all the mentioned varieties.

3. A class (the adapter class) may be given a new interface by an adapter class in which of the two ways?
a) The adapter may subclass the adapter. The adapter can inherit adapter operations with appropriate semantics and pragmatics, override those with inappropriate semantics or pragmatics, and add operations needed for the new interface. This is the Class Adapter pattern
b) The adapter may hold a reference to the adapter and delegate must work to the adapter object. This approach is the Object Adapter pattern
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned are the two ways.

4. A class (the adapter class) may be given a new interface by an adapter class in which of these ways?
a) Class Adapter pattern
b) Object Adapter pattern
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: A class (the adapter class) may be given a new interface by an adapter class into two ways- Class Adapter pattern and Object Adapter pattern.

5. Which of these states about Object Adapter pattern?
a) The adapter can inherit adapter operations with appropriate semantics and pragmatics, override those with inappropriate semantics or pragmatics, and add operations needed for the new interface
b) The adapter may hold a reference to the adapter and delegate must work to the adapter object
c) All of the mentioned
d) None of the mentioned

Answer: b
Clarification: The adapter may hold a reference to the adapter and delegate must work to the adapter object is for object adapter pattern.

6. Which of the following is true for proxy pattern?
a) Has exactly the same interface as the real object
b) Handles routine or illegitimate messages without accessing the real object
c) Delegates messages that it cannot handle to the real object
d) All of the mentioned

Answer: d
Clarification: All of the mentioned is true.

7. Which of the following is not followed by proxy pattern?
a) virtual proxies
b) remote proxies
c) access proxies
d) none of the mentioned

Answer: d
Clarification: All are followed by proxy pattern.

8. What are stand-ins for objects not yet created are called?
a) virtual proxies
b) remote proxies
c) access proxies
d) none of the mentioned

Answer: a
Clarification: Stand-ins for objects not yet created are called virtual proxies.

9. Which of the following is incorrect with respect to the proxy pattern?
a) The Proxy pattern should be used whenever the services directly provided by some object need to be managed or mediated in some way without changing the object’s interface
b) Virtual proxies can be used to delay the creation or loading of large and time-consuming objects to preserve space and ensure rapid responses to requests
c) Remote proxies can hide the fact that an object is not locally present,handling the communication necessary to access the remote real object
d) None of the mentioned

Answer: d
Clarification: All of the mentioned are correct for proxy pattern.

10. Which of the following is consequence for proxy pattern?
a) The Proxy pattern makes it possible to defer expensive operations until they are necessary (virtual proxies)
b) Provides an elegant way to treat remote objects as if they were local (remote proxies)
c) Provides a mechanism for implementing supplier access restrictions (protection or access proxies)
d) All of the mentioned

Answer: d
Clarification: All of the mentioned are correct consequence for proxy pattern.

250+ MCQs on Ramification of Addressing Quality Attributes and Answers

Software Architecture Questions and Answers for Aptitude test on “Ramification Of Addressing Quality Attributes”.

1. What is the problem for ht developer in using unit operation?
a) Understanding the requirements
b) Mapping the requirements to a structural solution
c) Identifying and resolving conflicting structural solution
d) All of the mentioned

Answer: d
Clarification: All of the mentioned are the problems faced by the developers in using unit operations.

2. What is the main difference for Seeheim model and MVC model?
a) Most of the important scenarios to guard against are porting from toolkit to toolkit
b) Insulating the application, presentation and dialogue from changes in each other
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: The main difference are all of the mentioned points.

3. Seeheim and MVC are the graphical evidence of what assertion?
a) Qualities are not that abstract to be directly useful
b) Qualities are too abstract to be directly useful
c) Qualities are too abstract to be indirectly used
d) None of the mentioned

Answer: b
Clarification: Qualities are too abstract to be directly useful.

4. What is Seeheim main guard against change?
a) Part Whole Decomposition
b) Layering- placing different classes of functionality into distinct layers
c) All of the mentioned
d) None of the mentioned

Answer: b
Clarification: Seeheim main guard against change is Layering- placing different classes of functionality into distinct layers.

5. What is MVC’s main guard against change?
a) Part Whole Decomposition
b) Layering- placing different classes of functionality into distinct layers
c) All of the mentioned
d) None of the mentioned

Answer: a
Clarification: MVC’s main guard against change is Part Whole Decomposition.

6. Which of the following model Seeheim model later evolve to?
a) Arch Model
b) Slinky Model
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: Arch and Slinky are one and the same model.

7. Which of the following layers are introduce in Arch Model?
a) Virtual toolkit
b) Virtual Application
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: All of the mentioned are layers introduced in Arch Model.

8. What is the Slinky portion of model referred to?
a) The ability to expand the allocation of functions to the components
b) The ability to contract the allocation of functions to the components
c) All of the mentioned
d) None of the mentioned

Answer: c
Clarification: The ability to expand and contract the allocation of functions to the components.

9. What model does MVC evolves to?
a) Arch Model
b) Slinky Model
c) PAC Model
d) None of the mentioned

Answer: c
Clarification: MVC is evolved to PAC Model.

10. Where are HCI architectures used?
a) Virtual reality
b) Mobile computing
c) CSCW systems
d) All of the mentioned

Answer: d
Clarification: HCI architectures are used in all the mentioned points.