Unit 9 Architecture, patterns and reuse (Part 1)

Beschreibung

Unit 9, up to Section 5.3
Frans k
Quiz von Frans k, aktualisiert more than 1 year ago
Frans k
Erstellt von Frans k vor etwa 6 Jahre
16
0

Zusammenfassung der Ressource

Frage 1

Frage
What keywords describe the Skype architecture in this figure?
Antworten
  • peer-to-peer
  • Model-view-controller
  • client-server

Frage 2

Frage
The above is an example of what type of architecture?
Antworten
  • pipe-and-filter
  • peer-to-peer
  • client-server

Frage 3

Frage
Choosing the architecture of a software late on might be a good idea.
Antworten
  • True
  • False

Frage 4

Frage
The twin-peaks model develops [blank_start]requirements[blank_end] and [blank_start]architecture[blank_end] concurrently.
Antworten
  • requirements
  • architecture

Frage 5

Frage
Can architecture and agile live together? Some agile practitioners fear that architecture is associated with ‘big design up front’ (BDUF), which limits flexibility and runs against the lightweight development ethos of agile.
Antworten
  • yes
  • no

Frage 6

Frage
In what ways can architecture contribute to Agile? Select 3.
Antworten
  • aiding communication
  • documenting assumptions about the system
  • feeding into subsequent development cycles
  • splitting staff in smaller teams

Frage 7

Frage
Architecturally significant Requirements do no influence a system's architecture.
Antworten
  • True
  • False

Frage 8

Frage
Architecturally significant requirements can be split into the following 4 characteristics: - [blank_start]Quality[blank_end] attributes: non-functional requirements such as security, reliability, availability, usability, maintainability, portability - [blank_start]Core features[blank_end]: ‘the problem the software is trying to solve’ - [blank_start]Constraints[blank_end]: Technical, budget, time... - [blank_start]Application[blank_end] environment: the environment in which the system will run.
Antworten
  • Quality
  • Core features
  • Constraints
  • Application

Frage 9

Frage
Select the 4 architectural views introduced in Kruchten's model:
Antworten
  • logical
  • process
  • deployment
  • development
  • requirement
  • analysis

Frage 10

Frage
- The [blank_start]logical[blank_end] (or functional): the system’s main functional elements and their interactions - The [blank_start]process[blank_end] view: the set of independently executing processes that will exist at run-time and the communication between them. - The [blank_start]deployment[blank_end] view describes how the system will be deployed to an operating environment in terms of the physical computers. - The [blank_start]development[blank_end] view describes how the software will be split into [blank_start]subsystems[blank_end] that can be allocated to teams of developers.
Antworten
  • logical
  • process
  • deployment
  • development
  • subsystems

Frage 11

Frage
Example stakeholder groups. Fill in the ASR categories they fall into. - Students and teaching staff will be concerned with core functionality, usability, availability and performance – [blank_start]core features[blank_end] and [blank_start]qualityattributes[blank_end]. - The examinations section will be particularly concerned with [blank_start]security –quality attributes[blank_end]. - The finance department will be concerned with the cost – [blank_start]constraints[blank_end]. - Management will be concerned with the cost, when the system will be delivered and its effectiveness – [blank_start]constraints[blank_end], [blank_start]core features[blank_end]. - Designers will be concerned with how the system can be partitioned, what the run-time elements will be and where they will be deployed – the [blank_start]application environment[blank_end]. - Programmers will be concerned with the core functionality represented in the design, how easily the design can be implemented in code and what language(s) will be used – [blank_start]core features[blank_end], [blank_start]quality attributes[blank_end], [blank_start]constraints[blank_end]. - Testers will be concerned with whether the system is easy to test – [blank_start]qualityattributes[blank_end]. . The IT department will be concerned with the operating environment and how easy the system is to run – [blank_start]application environment[blank_end]. - Developers responsible for maintaining the system will be concerned with how easy the system is to modify – [blank_start]quality attributes[blank_end].
Antworten
  • core features
  • security - quality attribute
  • constraints
  • application environment
  • quality attributes
  • quality attributes
  • core features
  • constraints
  • security – quality attributes
  • constraints
  • application environment
  • constraints
  • application environment
  • security - quality attributes
  • constraints
  • quality attributes
  • application environment
  • core features
  • quality attributes
  • security - quality attributes
  • application environment
  • constraints
  • core features
  • quality attributes
  • core features
  • application environment
  • quality attributes
  • application environment
  • security - quality attributes
  • constraints
  • quality attributes
  • core features
  • application environment
  • quality attributes
  • core features
  • application environment
  • application environment
  • security - quality attributes
  • quality attributes
  • core features
  • quality attributes
  • core features
  • application environment

Frage 12

Frage
In software architecture the set of conventions and models appropriate to a particular view is often referred to as a [blank_start]viewpoint[blank_end].
Antworten
  • viewpoint

Frage 13

Frage
Select 9 common architectural styles.
Antworten
  • Client-server
  • Call-return
  • Layered
  • Peer-to-peer
  • Data flow
  • Data-centred
  • Data-oriented
  • Independent components
  • Service-oriented
  • Notification

Frage 14

Frage
What type of architecture does the figure describe?
Antworten
  • call-return
  • peer-to-peer
  • client-server

Frage 15

Frage
What type of architecture do the figures describe?
Antworten
  • Data-centred
  • layered
  • call-return

Frage 16

Antworten
  • independent components
  • service-oriented
  • microservices

Frage 17

Antworten
  • service-oriented
  • trunk-based
  • data flow (pipe and filter)
  • independent component

Frage 18

Frage
What architecture style is this? Select 3 names for it.
Antworten
  • publish-subscribe
  • notification
  • implicit invocation
  • call-return
  • register

Frage 19

Frage
A [blank_start]framework[blank_end] is a segment of [blank_start]architecture[blank_end] and [blank_start]code[blank_end] that can be reused.
Antworten
  • framework
  • architecture
  • code

Frage 20

Frage
A [blank_start]product line[blank_end] is a line of similar products that differ only in [blank_start]detail[blank_end].
Antworten
  • product line
  • detail

Frage 21

Frage
A software product line is essentially a [blank_start]domain[blank_end]-specific framework.
Antworten
  • domain

Frage 22

Frage
What are the various ingredients that make up a framework? Select 4.
Antworten
  • architecture
  • small amount of software for the framework
  • set of components suitable to use within the framework
  • documentation to make use of the framework
  • provided interface
  • required interface

Frage 23

Frage
- [blank_start]Architectural styles[blank_end] reuse expertise in large-scale architectural design – the types of component used and the patterns of interaction between them. - [blank_start]Frameworks[blank_end] reuse a particular architecture and a set of software components suitable for use within it. - [blank_start]Product lines[blank_end] reuse reference architectures, software components and expertise about the variations needed to fulfil customer requirements.
Antworten
  • Architectural styles
  • Frameworks
  • Product lines

Frage 24

Frage
What is the name of this design pattern? (Enter the class name in figure)
Antworten
  • Adapter

Frage 25

Frage
When the Adapter receives a draw() message it simply [blank_start]forwards[blank_end] a render() message to the RoundedSquare and the latter produces the required shape.
Antworten
  • forwards
  • sends
  • generates

Frage 26

Frage
Which of the below statement are true about adapters? Select 3
Antworten
  • the adapter pattern uses inheritance
  • the adapter pattern uses composition
  • the adapter pattern uses a call-return architecture
  • the adapter pattern uses the render() function
  • the adapter pattern is transparent to other classes; neither the Client nor RoundedSquare is aware of its existence

Frage 27

Frage
Select all answers that apply to Generalisation relationships. Select 3.
Antworten
  • Generalisation expresses a subtyping relationship between classes
  • Generalisation expresses the fact that a class provides an implementation for all operations specified in interface.
  • In Generalisation, the subclass is a specialised subtype of its superclass
  • In Generalisation, the subclass inherits the attributes and operations defined by the superclass
  • In Generalisation, the child class is not a subtype of the interface
  • in Generalisation, boobies.

Frage 28

Frage
Select all answers that apply to Realisation relationships.
Antworten
  • Realisation expresses the fact that a class provides an implementation for all operations specified in interface
  • Realisation is not a subtyping relationship
  • In Realisation, the subclass is a specialised subtype of its superclass
  • Realisation expresses a subtyping relationship between classes

Frage 29

Frage
[blank_start]Idioms[blank_end] are patterns that apply to a specific programming language – Java has one set of them, Python a different set and so on.
Antworten
  • Idioms

Frage 30

Frage
- [blank_start]creational[blank_end] patterns deal with ways of creating objects independently of the clients that will use them - [blank_start]structural[blank_end] patterns deal with relationships among classes and objects - [blank_start]behavioural[blank_end] patterns deal with how objects communicate and interact.
Antworten
  • creational
  • structural
  • behavioural
  • idiom
  • structural
  • behavioural
  • creational
  • idiom
  • behavioural
  • structural
  • creational
  • idiom

Frage 31

Frage
The adapter pattern is an example of a [blank_start]structural[blank_end] pattern.
Antworten
  • structural
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

ART AND ARCHITECTURE OF INDIA Images
Alice Gorodetsky
Design Patterns
Erica Solum
Architecture
lindsey.reynolds
Network Protocols
Shannon Anderson-Rush
Notre Dame
CECILIA SAAVEDRA
Medieval Art and Architecture
macorleto
System Analysis
R A
Art Periods and Architectural Styles in the Czech Lands
katie.moberly
Colonial American Architecture
rosvain
architectural design
Nurul Aiman Abdu
FAMOUS ARCHITECTS
Richard Ayo