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.