Software Architecture Chapter 1 Quiz
30 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What is the primary purpose of component-and-connector views?

  • To show the relationship between software elements and external environments
  • To show the assignment of software elements to development teams
  • To reason about the system's runtime properties such as performance and security (correct)
  • To show the modules that use other modules

What do allocation structures show?

  • The modules that use other modules
  • The relationship between software elements and external environments (correct)
  • The parallelism within the system
  • The ease with which a system can be extended or contracted

Which of these questions can be answered by allocation views?

  • What is the concurrency structure of the system?
  • How can the system be made free of deadlock and performance bottlenecks?
  • What is the assignment of each software element to development teams? (correct)
  • What is the module structure of the system?

Why are software structures important?

<p>They provide analytical and engineering power for reasoning about quality attributes (A)</p> Signup and view all the answers

Which structure is strongly tied to the ease with which a system can be extended or contracted?

<p>The module structure (D)</p> Signup and view all the answers

Which structure is strongly tied to the ease with which a system can be made free of deadlock and performance bottlenecks?

<p>The concurrency structure (D)</p> Signup and view all the answers

What is the term used for structures that partition systems into implementation units?

<p>Module (D)</p> Signup and view all the answers

Which type of structures focus on the interaction of elements at runtime?

<p>Component-and-connector structures (B)</p> Signup and view all the answers

What is always considered as a runtime entity in the context of architectural structures?

<p>Components (C)</p> Signup and view all the answers

In large projects, what are elements like modules subdivided into?

<p>Programs (A)</p> Signup and view all the answers

What forms another kind of structure often used to describe a system besides implementation units?

<p>Services (B)</p> Signup and view all the answers

What do service structures compile from in architectural contexts?

<p>Programs (B)</p> Signup and view all the answers

Which of the following statements about architecture is true?

<p>An architecture selects and suppresses certain details. (B)</p> Signup and view all the answers

What is NOT part of an architectural abstraction?

<p>The private details of elements related to internal implementation (A)</p> Signup and view all the answers

Why is architectural abstraction essential?

<p>It enables us to tame the complexity of an architecture. (D)</p> Signup and view all the answers

Which statement about the existence of an architecture is true?

<p>An architecture can exist independently of its description or specification. (A)</p> Signup and view all the answers

What is included in the architecture of a system?

<p>Both the structural elements and their behavior (A)</p> Signup and view all the answers

Which statement about documentation is true?

<p>Documentation is critical for understanding an architecture. (A)</p> Signup and view all the answers

When should the architecture be designed to lend itself to incremental implementation?

<p>Early in the life cycle and repeated as appropriate (C)</p> Signup and view all the answers

What is recommended for creating a skeletal system initially?

<p>Create a system with minimal functionality but where communication paths are exercised (A)</p> Signup and view all the answers

What principles should be followed when assigning functional responsibilities to modules?

<p>Separation of concerns and information hiding (A)</p> Signup and view all the answers

What should modules that are likely to change encapsulate?

<p>Things likely to change (B)</p> Signup and view all the answers

How should quality attributes be achieved, according to the text?

<p>Using well-known architectural patterns and tactics specific to each attribute (A)</p> Signup and view all the answers

What is recommended regarding the use of commercial products or tools in the architecture?

<p>The architecture should never depend on a particular version of a commercial product or tool, or be structured so that changing versions is straightforward and inexpensive (B)</p> Signup and view all the answers

What is the definition of software architecture according to the text?

<p>The set of structures needed to reason about the system, which comprise software elements, relations among them, and properties of both. (A)</p> Signup and view all the answers

What does the text say about architectural decisions?

<p>Many architectural decisions are made early, but not all are, and many decisions are made early that are not architectural. (D)</p> Signup and view all the answers

What is the text's perspective on structures in software systems?

<p>Structures are easy to identify and form a powerful tool for system design. (C)</p> Signup and view all the answers

What is true about the software architecture of a system?

<p>The software architecture is composed of many structures, and no single structure holds claim to being the architecture. (B)</p> Signup and view all the answers

What is the main purpose of software architecture according to the text?

<p>To reason about the system, which comprises software elements, relations among them, and properties of both. (C)</p> Signup and view all the answers

What does the text say about the relation between software architecture and design decisions?

<p>Software architecture is not defined by design decisions, but rather by the set of structures needed to reason about the system. (B)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser