Software Architecture Coursera Quiz Answers – Networking Funda

All Weeks Software Architecture Coursera Quiz Answers

Software Architecture Coursera Quiz Answers

Week 1: Architecture Overview and Process

Q1. Read the following statements. Which of them are true?

  1. Project managers are stakeholders in the architecture

2. End users are stakeholders in the architecture

  • Only the second statement is true.
  • Neither statement is true
  • Both statements are true
  • Only the first statement is true.

Q2. Which of these UML diagrams might be useful for the logical view of a system? Select the 2 correct answers.

  • Class diagram
  • State diagram
  • Sequence diagram
  • Deployment diagram

Q3. You need to show how your software elements are mapped to hardware nodes and execution environments. Which view do you need?

  • process view
  • scenario
  • physical view
  • development view

Q4. William is drawing out a component diagram. One of his classes needs an interface from another component. Which of these connectors should he use on the component that needs an interface from another component?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q5. Cécile is putting together a Package diagram. How can she show that a package has an interface? Select the 2 correct answers.

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q6. What is the name for a physical result of the development process, such as an executable file?

  • artifact
  • package
  • node
  • leaf

Q7. Which of these sets of keywords might be used on the lines in package diagrams?

  • deploy, merge, include
  • request, import, merge
  • interface, export, load
  • merge, access, import

Q8. How is a hardware device shown in a deployment diagram?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q9. What kind of UML diagram is shown here?

Software Architecture Coursera Quiz Answers - Networking Funda
  • Activity diagram
  • Flow chart
  • Sequence diagram
  • State diagram

Q10. Which of these is NOT shown on an activity diagram?

  • interfaces
  • decisions
  • activities
  • concurrency

Q11. What does the component of ‘component diagram’ refer to?

  • a general name for a “part” of the software system. It could be a method, variable, class, object, or grouping of any of these.
  • an external part of the software system, like a library that must be imported.
  • an independent, encapsulated unit in the system.
  • the basic parts of the software, which it could not run without.

Q12. The “+1” in Kruchten’s 4+1 View Model refers to a scenario. What is a scenario?

  • an unexpected use case of the software.
  • a representation of a normal use case.
  • a representation of the system-wide state.
  • one of the tools that is used to implement the software.

Week 2: Architectural Styles

Q1. If you have a program language that is largely procedural, which architecture style are you likely to use?

  • Event Based
  • Process Control
  • Main Program and Subroutine
  • Pipe and Filter

Q2. What are some disadvantages of Data-Centric Architecture? Select the 2 correct answers.

  • The existing data schema is difficult to change.
  • Considerable overhead for data transfer between data accessors.
  • Data integrity can be compromised by having it widely accessible.
  • The system becomes heavily reliant on the central data.

Q3. Which of these principles is NOT characteristic of a layered system?

  • tight coupling
  • separation of concerns
  • sandboxing
  • abstraction

Q4. Which of the following is a common messaging pattern in client/server relationships?

  • handshake
  • request-response
  • one-way
  • solicit-response

Q5. How does an n-Tier architecture differ from a layered architecture?

  • Layered architectures are more loosely coupled
  • The interaction between tiers in an n-Tier architecture is strictly message based
  • n-Tier architectures are only found on the Internet
  • A layered architecture is limited to three layers, whereas an n-tier can go to as many as are needed

Q6. Which of these is NOT a possible use for Interpreters?

  • Enhancing resource usage efficiency
  • Allowing developers to develop add-ons in a common language
  • Abstracting away platform details
  • Giving end users the opportunity to program scripts or macros

Q7. Which of these is an advantage of event-based architecture?

  • Events trigger responses in a predictable manner
  • All interactions happen synchronously
  • Events are processed with more efficiency
  • Event generators and event consumers are loosely coupled

Q8. There is a common technique that is used in event architectures to indicate whether or not a particular resource is being accessed by another process at that moment. What is it called?

  • occupied
  • semaphore
  • toggle
  • access switch

Q9. Beverly is asked to develop a way to control a process. There is a device to measure the height of liquid in a tank, and when the tank is almost full, a pump turns on to empty the tank. Which type of process control architecture will she use?

  • Feedforward Loop
  • Feedback Loop
  • Shooting Control
  • Open Loop

Q10. What are the steps in complex, process control system architectures, such as self-driving cars?

  • read, plan, deliver
  • analyze, model, plan, act
  • sense, interpret, model, act
  • monitor, analyze, plan, execute

Q11. Which of these applications would be best suited to a procedural programming paradigm, such as the Main Program and Subroutine architecture?

  • A self-driving car
  • Analyzing data and producing reports
  • Accessing data from a repository
  • A user interface, such as a simple poker game

Q12. Which of these is NOT an advantage of pipe and filter architectures?

  • Filters are loosely coupled
  • Filters can be reused
  • Data transformation is computationally efficient
  • Complex transformations can be broken down into subtasks

Week 3: Architecture in Practice

Q1. Identify the attribute refinements of a system’s performance. Select the 2 correct answers.

  • throughput
  • simplicity
  • boot time
  • latency
  • maintenance downtime

Q2. Guidelines such as “the system should be easy and intuitive to learn”, “the system should minimize user errors,” and “the system should make it easy for users to complete tasks” fall under which category of quality attribute?

  • intuitiveness
  • astonishment
  • usability
  • complexity

Q3. Calum is leading a team of developers and would like to promote conceptual integrity. Which of these is NOT a way he could promote conceptual integrity:

  • Do regular code reviews with the development team
  • Establish conventions, such as structural rules or naming conventions
  • Split the development team into subteams for each component of the architecture
  • Adopt good documentation practices

Q4. Have a look at this diagram of a quality attribute scenario:

Software Architecture Coursera Quiz Answers - Networking Funda
[Q4] is a condition that will cause the system to respond. What is this called?

  • request
  • stimulus
  • error
  • perturbation

Q5. Let’s look at the same diagram of a quality attribute scenario:

Software Architecture Coursera Quiz Answers - Networking Funda
[Q5] is the part of the system affected by the stimulus. What is this called?

  • context
  • process
  • artifact
  • component

Q6. Which of these could be considered under the environment in a quality attribute scenario?

  • recovering from error
  • send error to external system
  • unrecognized system request
  • internal subsystems

Q7. Who are the three main groups of people involved in the architecture tradeoff analysis method?

  • evaluation team, outsiders, project team
  • clients, designers, stakeholders
  • evaluation team, project decision makers, architecture stakeholders
  • peers, outsiders, designers

Q8. Leon is analyzing the architecture and notices that under conditions of high numbers of users signing on at the same time, there is a potential that one of the architecturally significant requirements (ASRs) will not be met. What is this called?

  • tradeoff
  • risk scenario
  • non-risk scenario
  • utility shortfall

Q9. Maddie’s software team is split into two subteams working on two different components that work together. These teams share one large room and are in constant contact. According to Conway’s Law, what could happen if Maddie does not physically separate the two subteams?

  • The component interfaces will not be reusable
  • They will not leave sufficient comments, thinking that the other team already knows the relevant details
  • Their components will repeat code unnecessarily
  • The components they produce will be very tightly coupled

Q10. This is one of the styles of implementing variations. What is it called?

Software Architecture Coursera Quiz Answers - Networking Funda
  • composition
  • replacement
  • adaptation
  • extension

Q11. Which of these is NOT a typical advantage of developing a product line?

  • greatly reduced up-front development
  • reducing time-to-market of later products
  • consistency over the product line
  • overall cost reduction

Q12. Andy is planning the development of a product line of eBook readers and he has to categorize the components that will be handled by each team. There is one product in the line which has a backlight for reading during the night. In the development process, where would you categorize this feature?

  • One-Off
  • Variation
  • Commonality
  • Product-Specific

Week 4: Assignment

Q1. Which of these views show the functional design of the software, usually in the form of objects and the relationships between them?

  • logical view
  • physical view
  • development view
  • process view

Q2. Which of these UML diagrams are likely to be part of the process view? Select two correct answers.

  • Activity diagram
  • State diagram
  • Class diagram
  • Sequence diagram

Q3. To which view would the Package Diagram belong? Remember that a package diagram shows the packages that make up a software and how they are related.

  • process view
  • logical view
  • development view
  • physical view

Q4. Which of these statements about Component Diagrams is true?

  • They give a dynamic view of the system
  • They are useful for clarifying the artifacts that will be produced from development
  • They do not show third-party libraries
  • They clarify dependency relationships

Q5. Which of these Package Diagrams is invalid?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q6. Which of these will you NOT find in a deployment diagram?

execution environment

  • artifact
  • device
  • library
  • component
  • class

Q7. Which of these diagrams correctly shows a component?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q8. Which of these does NOT belong on an activity diagram?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q9. What is an artifact?

  • An unintended effect that the software has on the device.
  • A physical realization of a software component
  • A part of a device that is nonetheless important to depict on the deployment diagram, like a hard-drive
  • Part of the development process that is important to the developers, but not the end- users

Q10. What is an abstract data type?

  • a data schema that is defined by the developer
  • a data type that dynamically allows the storage of different primitives
  • a data type that is not actually storing data; instead it is used to define interfaces
  • an interface that defines how to store data in a class

Q11. Which of these are advantages of main program and subroutine architectural style? Select two correct answers.

  • promotes function modularity and reuse
  • efficient for computation focused problems
  • abstract data types are easy to define and extend
  • easily mapped to all kinds of real-world problem spaces

Q12. Which of these accurately represents basic Database Architecture?

Software Architecture Coursera Quiz Answers - Networking Funda
  • a)
  • b)
  • c)
  • d)

Q13. Select the one accurate statement about layered architecture:

  • Upper layers act as service providers to lower layers
  • Enforcing communication only between adjacent layers and within a layer is key to good, layered architecture
  • Passthrough should be avoided at all costs
  • Layered architecture is often based on layers of abstraction

Q14. What is the correct term for a machine that hosts a server?

  • Called by type: e.g. print server or media server
  • server-tier
  • server-host
  • server-machine

Q15. Some programs allow users to record a sequence of inputs – for example keyboard and mouse inputs – to run later. What are these called?

  • user recorders
  • scripts
  • macros
  • input listeners

Q16. Data Flow Architecture is also called…

  • Data Transformation Architecture
  • Black Box Architecture
  • Cascade Architecture
  • Pipe and Filter Architecture

Q17. Which of these is NOT a common component of event-driven architectures?

  • event processor
  • event bus
  • event consumer
  • event generator

Q18. Which type of process control that we discussed is typically needed for complex systems?

  • MAPE-K
  • Machine Learning
  • Feedforward Control + Feedback Control
  • Feedforward Control

Q19. Which of these is a drawback of n-Tier architecture?

  • Every tier demands extra resources to manage the client/server relationships
  • More hardware nodes are necessary
  • Only asynchronous messaging is possible, leading to challenging development decisions
  • Limited in scale

Q20. Which of these is NOT an example of Interpreter type architecture?

  • Java Virtual Machine
  • Scripting and Macros
  • The kernel of an operating system
  • Excel formulas

Q21. Which of these terms matches this definition: “The amount of time the system is operational over a set period of time?”

  • performance
  • interoperability
  • usability
  • availability

Q22. Which of these quality attributes is most important from the developer’s perspective?

  • flexibility
  • security
  • usability
  • availability

Q23. [Q23] could be described as: “how the artifact will behave as a result of receiving a stimulus.” What is this called?

Software Architecture Coursera Quiz Answers - Networking Funda
  • output
  • response measure
  • response
  • environment

Q24. [Q24] could be described as: “the mode of the system when it receives a stimulus.” What is this called?

Software Architecture Coursera Quiz Answers - Networking Funda
  • scenario
  • environment
  • context
  • approach

Q25. General quality attributes like performance and security have more specific components like throughput and latency for performance. What are these called?

  • architecturally significant requirements
  • attribute refinement
  • sensitivity points
  • architecture specifications

Q26. Which strategy is NOT part of delivering a high-quality system?

  • Set rules for design and implementation
  • Involve all stakeholders in design
  • Treat all quality attributes as equally important
  • Adopt good documentation practices

Q27. True or False: You should focus on situations that are outside the normal execution path when building a quality attribute scenario.

  • True
  • False

Q28. “Maintenance Downtime” is an attribute refinement of what quality attribute?

  • Performance
  • Conceptual Integrity
  • Availability
  • Maintainability

Q29. Eliza is planning a product line of media boxes. Some of these will connect to traditional television lines, whereas others will only have internet media like video-streaming services. What is this type of difference between products called?

  • Extension
  • Adaptation
  • Product-Specifics
  • Variation

Q30. Mozilla Firefox and other browsers have ecosystems of add-ons for their browsers that add functionality, for example by blocking ads or providing tools for online shopping. What is this style of variation called?

  • Adaptation
  • Replacement
  • Extension
  • Reference Architecture
Get All Course Quiz Answers of Software Design and Architecture Specialization

Object-Oriented Design Coursera Quiz Answers

Design Patterns Coursera Quiz Answers

Software Architecture Coursera Quiz Answers

Service-Oriented Architecture Coursera Quiz Answers

Team Networking Funda
Team Networking Funda

We are Team Networking Funda, a group of passionate authors and networking enthusiasts committed to sharing our expertise and experiences in networking and team building. With backgrounds in Data Science, Information Technology, Health, and Business Marketing, we bring diverse perspectives and insights to help you navigate the challenges and opportunities of professional networking and teamwork.

Leave a Reply

Your email address will not be published. Required fields are marked *