Software Architecture Questions and Answers – Building Domain Specific Languages

This set of Software Architecture Assessment Questions and Answers focuses 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
View Answer

Answer: d
Explanation: 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
View Answer

Answer: d
Explanation: 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
View Answer

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

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
View Answer

Answer: c
Explanation: 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
View Answer

Answer: a
Explanation: Compiler is application generator.
Note: Join free Sanfoundry classes at Telegram or Youtube

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

Answer: a
Explanation: 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
View Answer

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

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
View Answer

Answer: d
Explanation: 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
View Answer

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

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
View Answer

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

Sanfoundry Global Education & Learning Series – Software Architecture.

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

To practice all areas of Software Architecture Assessment Questions, 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.