Unit 9 Architecture, patterns and reuse (Part 1)

Descripción

Unit 9, up to Section 5.3
Frans k
Test por Frans k, actualizado hace más de 1 año
Frans k
Creado por Frans k hace más de 6 años
18
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

Pregunta
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.
Respuesta
  • yes
  • no

Pregunta 6

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

Pregunta 7

Pregunta
Architecturally significant Requirements do no influence a system's architecture.
Respuesta
  • True
  • False

Pregunta 8

Pregunta
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.
Respuesta
  • Quality
  • Core features
  • Constraints
  • Application

Pregunta 9

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

Pregunta 10

Pregunta
- 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.
Respuesta
  • logical
  • process
  • deployment
  • development
  • subsystems

Pregunta 11

Pregunta
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].
Respuesta
  • 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

Pregunta 12

Pregunta
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].
Respuesta
  • viewpoint

Pregunta 13

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

Pregunta 14

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

Pregunta 15

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

Pregunta 16

Respuesta
  • independent components
  • service-oriented
  • microservices

Pregunta 17

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

Pregunta 18

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

Pregunta 19

Pregunta
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.
Respuesta
  • framework
  • architecture
  • code

Pregunta 20

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

Pregunta 21

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

Pregunta 22

Pregunta
What are the various ingredients that make up a framework? Select 4.
Respuesta
  • 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

Pregunta 23

Pregunta
- [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.
Respuesta
  • Architectural styles
  • Frameworks
  • Product lines

Pregunta 24

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

Pregunta 25

Pregunta
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.
Respuesta
  • forwards
  • sends
  • generates

Pregunta 26

Pregunta
Which of the below statement are true about adapters? Select 3
Respuesta
  • 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

Pregunta 27

Pregunta
Select all answers that apply to Generalisation relationships. Select 3.
Respuesta
  • 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.

Pregunta 28

Pregunta
Select all answers that apply to Realisation relationships.
Respuesta
  • 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

Pregunta 29

Pregunta
[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.
Respuesta
  • Idioms

Pregunta 30

Pregunta
- [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.
Respuesta
  • creational
  • structural
  • behavioural
  • idiom
  • structural
  • behavioural
  • creational
  • idiom
  • behavioural
  • structural
  • creational
  • idiom

Pregunta 31

Pregunta
The adapter pattern is an example of a [blank_start]structural[blank_end] pattern.
Respuesta
  • structural
Mostrar resumen completo Ocultar resumen completo

Similar

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
12- Late Modernism 1950-1980
rosvain