Software Architecture Questions and Answers – Architectural Styles – I

This set of Software Architecture Multiple Choice Questions & Answers (MCQs) focuses on “Architectural Styles – I”.

1. Architectural styles is composed of which of the following?
a) A set of component types that perform some function at run-time
b) A topological layout of these components indicating their run-time inter relationships
c) A set of semantic constraints
d) All of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned are true with respect to the architectural styles.

2. Which architectural style goal is to achieve Integrability?
a) Data Flow Architecture
b) Call and Return Architecture
c) Data Centered Architectures
d) None of the mentioned
View Answer

Answer: c
Explanation: Data Centered Architectures-goal is to achieve Integrability.

3. Which architectural style goal is to achieve Modifiability with Scalability?
a) Data Flow Architecture
b) Call and Return Architecture
c) Virtual Machine Architecture
d) None of the mentioned
View Answer

Answer: b
Explanation: Call and Return Architecture goal is to achieve Modifiability with Scalability.
advertisement
advertisement

4. Which architectural style goal is to achieve Portability?
a) Data Flow Architecture
b) Call and Return Architecture
c) Virtual Machine Architecture
d) None of the mentioned
View Answer

Answer: c
Explanation: Virtual Machine Architecture goal is to achieve Portability.

5. Which architectural style goal is to achieve Modifiability with Reuse?
a) Data Flow Architecture
b) Call and Return Architecture
c) Virtual Machine Architecture
d) None of the mentioned
View Answer

Answer: a
Explanation: Data Flow Architecture goal is to achieve Modifiability with Reuse.
Note: Join free Sanfoundry classes at Telegram or Youtube

6. Data Centered architecture is subdivided into which of the following subtypes?
a) Repository and Blackboard
b) Batch Sequential, Pipes and Filters
c) All of the mentioned
d) None of the mentioned
View Answer

Answer: a
Explanation: Data Centered architecture is subdivided into Repository and Blackboard.

7. Which of the architectural style is further subdivided into Batch sequential and Pipes & filters?
a) Data Flow Architecture
b) Call and Return Architecture
c) Data Centered Architectures
d) None of the mentioned
View Answer

Answer: a
Explanation: Data flow is further subdivided into Batch sequential and Pipes & filters.
advertisement

8. Which of the following are types of Call and return architecture?
a) Main program and subroutine Architecture
b) Remote Procedure Call system
c) Object Oriented or abstract data type system
d) All of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned are subtypes of Call and return Architecture.

9. Which of the following type has the main goal to achieve performance?
a) Main program and subroutine Architecture
b) Remote Procedure Call system
c) Object Oriented or abstract data type system
d) All of the mentioned
View Answer

Answer: b
Explanation: Remote procedure call system has the main goal to achieve performance.
advertisement

10. Which of the following type has the main goal to achieve Modifiability?
a) Main program and subroutine Architecture
b) Remote Procedure Call system
c) Object Oriented or abstract data type system
d) Main program and subroutine Architecture, Object Oriented or abstract data type system
View Answer

Answer: d
Explanation: Main program and subroutine Architecture, Object Oriented or abstract data type system has the main goal to achieve Modifiability.

11. In which of the following style new clients can be added easily?
a) Data Flow Architecture
b) Call and Return Architecture
c) Data Centered Architectures
d) None of the mentioned
View Answer

Answer: c
Explanation: In Data Centered Architectures new clients can be added easily.

12. What is correct about Data centered architecture?
a) It is modifiable with respect to changing the functionality of any particular client as other clients will not be affected
b) It is non-modifiable with respect to changing the functionality of any particular client as other clients will be affected
c) Coupling among the client will lessen the effect of data center architecture
d) All of the mentioned
View Answer

Answer: d
Explanation: It is modifiable with respect to changing the functionality of any particular client as other clients will not be affected, Coupling among the client will lessen the effect of data center architecture are the correct architectures.

13. What is batch sequential style?
a) In batch sequential components are independent programs
b) Assumptions is that each step runs to completion before the next step starts
c) All of the mentioned
d) None of the mentioned
View Answer

Answer: c
Explanation: In batch sequential style- In batch sequential components are independent programs, Assumptions is that each step runs to completion before the next step starts.

14. What is pipes and filter style?
a) They emphasize on incremental transformation of data by successive components
b) It is used in UNIX family of the system
c) They return no state information
d) All of the mentioned
View Answer

Answer: d
Explanation: All of the mentioned is true for pipes & filter style.

15. What are the advantage of pipe & filters?
a) They interact with the environment in limited ways
b) They simplify systems maintenance and enhance its reuse
c) Interactive applications are encouraged by the style
d) None of the mentioned
View Answer

Answer: a
Explanation: The advantage are-They interact with the environment in limited ways and They simplify systems maintenance and enhance its reuse.

Sanfoundry Global Education & Learning Series – Software Architecture.

Here’s the list of Best Books in Software Architecture.

To practice all features of Software Architecture, here is complete set on 1000+ Multiple Choice Questions and Answers on Software Architecture.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.