• No results found

Software Architectures 2012 2013 1e zit

N/A
N/A
Protected

Academic year: 2021

Share "Software Architectures 2012 2013 1e zit"

Copied!
10
0
0

Bezig met laden.... (Bekijk nu de volledige tekst)

Hele tekst

(1)

Please answer the questions in the space provided on the question sheets.

Software Architecture Exam

June - 2013

Question: 1 2 3 4 5 Total

Points: 25 20 20 20 15 100

Score:

1. Software Architecture Principles

(a) [8 points] The figure below shows the architecture’s business lifecycle. The lifecycle goes from a number of architectural drivers, on to requirements, and from those the architect designs an architecture.

i. Complete the drawing by writing two of the missing drivers.

Architectural Drivers

ii. Explain how those two drivers affect the architecture of the system.

(2)
(3)

(c) [6 points] For each of the following characteristics of a system, mark whether they are a functional requirement (FR), a quality attribute (QA) or a design constraint (DC).

The system shall...

run on Windows and Unix log all user logins allow users to buy and sell stocks be implemented in Java version 7 display stock quote changes within one second have a unit test coverage > 85%

(d) [5 points] For the following System Quality attributes, mark whether they belong to the end user view (EU), developer view (D) or the business community view (BC).

Performance Maintainability Time to market Reusability Usability 2. Architectural Styles

Consider the following description and architectural diagram of the Eclipse SDK:

Each subsystem in the platform is itself structured as a set of ins that implement some key function. Some plug-ins add visible features to the platform using the extension model. Others supply class libraries that can be used to implement system extensions. The Eclipse SDK includes the basic platform plus two major tools that are useful for plug-in development. The Java development tools (JDT) implement a full featured Java development environment. The Plug-in Developer Environment (PDE) adds specialized tools that streamline the development of plug-ins and extensions.

Taken from Eclipse Platform Development Guide

(4)
(5)

(b) [10 points] Explain how the following quality attributes are (positively or negatively) impacted when a layered microkernel architecture is used:

Maintainability

Performance

Portability

Reusability

Testability

(6)

3. Component-Based Software Development, Service-Oriented Architecture

(a) [10 points] Give an example of the kind of information specified for each of the following levels of interface specification in CBSD:

Syntactic Specification

Semantic Specification

Quality of Service Specification

(7)

4. Model-Driven Engineering

(a) [12 points] In MDE, transformations can be classified depending on whether their output is expressed in the same language as the input and on whether the output is at the same abstraction level as the input. For each of the following model transformation scenarios, state whether they are an endogenous or exogenous transformation, and whether they are vertical or horizontal.

A refactoring that moves a Java method from a class to it’s super class.

Generating Java classes from an UML class diagram design.

Translating a Java application to an equivalent JavaScript one.

(b) [8 points] Explain what is meant by “Reuse in Software Product Lines is predictive rather than oppor-tunistic”. Compare it to the kind of reuse provided by using classic libraries.

(8)

5. Software Quality Metrics

(a) [5 points] Provide an informal definition of the Coupling between Object Classes (CBO) metric from the CK catalogue. What does this metric measure? How is it calculated? Explain the metric using a small example.

(9)

(b) [5 points] The CBO metric can be used to identify quality problems in object-oriented systems. Which kind of problems can be identified? How would you use the metric to identify such quality problems?

(10)

(c) [5 points] Suppose we have two systems A and B. For both systems we take the average value of the CBO metric (over all classes in the system). If for both systems, this average value is the same, can we then correctly conclude that both systems are of the same quality? Why (not)?

Referenties

GERELATEERDE DOCUMENTEN

Copyright and moral rights for the publications made accessible in the public portal are retained by the authors and/or other copyright owners and it is a condition of

2p 22 Geef twee redenen waarom in ruimte VI een zwavelzuuroplossing wordt toegevoegd en niet een oplossing van salpeterzuur.. Maak hierbij onder andere gebruik van het

2p 17 Geef een verklaring voor het gegeven dat deze omzetting van sacharose wel optreedt in heet water maar nauwelijks in koud water.. Gebruik in je antwoord

(rekenfouten, fout in de eenheid van de uitkomst en fout in de nauwkeurigheid van de uitkomst) zijn gemaakt, wordt in totaal per vraag maximaal één scorepunt afgetrokken van

Voor de vorming van synthesegas uit methaan, waarbij geen zuivere zuurstof nodig is, wordt gebruik gemaakt van een buisreactor die hieronder schematisch is weergegeven. (stap

2p 5 Hoeveel verschillende tripeptiden kunnen worden gevormd met de aminozuren valine, alanine en leucine, waarbij elk van de aminozuren in het tripeptide voorkomt.. Motiveer

hebben dezelfde massa M. De twee bollen zijn dus niet uit dezelfde materie vervaardigd. Men plaatst deze twee bollen naar elkaar op gelijke hoogte op een schuine helling. Beide

Eerder zagen we dat de stromen van stad naar omme- land, kris-krasverkeer tussen de gemeenten van het ommeland en relaties met andere stadsgewesten in de afgelopen decennia