Specifying Software Architectures - Software Design Question and Answers

1.

Which among these are the notations which are used to represent software architecture?

   A.) UML activity diagram
   B.) UML use case diagram
   C.) UML class diagram, Interaction diagram
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

2.

Which of these notations are followed under type of specification as decomposition?

   A.) Box and line diagrams
   B.) State diagrams
   C.) Sequence and communication Diagrams
   D.) All of the mentioned

Answer: Option 'A'

Box and line diagrams
 

3.

Which of the following are true?

   A.) A unit’s responsibilities are usually indicated by various connections and by the respective names
   B.) A unit’s relationships are usually indicated in part by its name and in part by the symbols used to represent it in various diagrams
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'D'

None of the mentioned

4.

Interface specification as descriptions of communication includes which of the following?

   A.) Syntax
   B.) Semantics
   C.) Pragmatics
   D.) All of the mentioned

Answer: Option 'D'

All of the mentioned

5.

Which of the following is false about interface specifications?

   A.) The syntax of communication specifies the elements of medium and the ways they may be combined to form legitimate messages
   B.) The semantics of a communication medium specify the meaning of messages
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'D'

None of the mentioned

6.

What is true about scenarios?

   A.) Scenarios was defined as specific interaction between product and particular individuals that instantiates a use case
   B.) Scenarios for quality attributes are specific interaction between a program and entity, including developers and maintainers
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'C'

All of the mentioned

7.

Which of the following is true?

   A.) A precondition is an assertion must be true at the completion of an activity
   B.) A post condition is an assertion must be true at the initiation of an activity
   C.) An interface specification should cover syntax, semantics, pragmatics of communication between module and its environment
   D.) All of the mentioned

Answer: Option 'C'

An interface specification should cover syntax, semantics, pragmatics of communication between module and its environment

8.

What does box and line diagram signify?

   A.) The boxes in the diagram refer to the interaction relationship between components
   B.) The line in the diagram refer to the software or data store components
   C.) All of the mentioned
   D.) None of the mentioned

Answer: Option 'D'

None of the mentioned

9.

Which of these signifies the heuristics of Architectural specifications?

   A.) Write good technical prose when specifying architectures
   B.) Use a template to specify interface
   C.) Keep boxes and line simple
   D.) Use a template to specify interface & Write good technical prose when specifying architectures

Answer: Option 'D'

Use a template to specify interface & Write good technical prose when specifying architectures

10.

Which of these signifies the heuristics of Box and Line diagram?

   A.) Make the box and lines simple
   B.) Use symbol consistently in different diagram
   C.) Use a template to specify interface
   D.) Make the box and lines simple & Use symbol consistently in different diagram

Answer: Option 'D'

Make the box and lines simple & Use symbol consistently in different diagram


Specifying Software Architectures MCQs Download Pdf

Recent Posts