Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

08. PSD_Metricas Tech v2.3

Total questions: 19

Worksheet time: 15mins

Name
Class
Date
1.
Who is responsible for the system architecture of a product being developed using Scrum?
a)
The software architect
b)
The corporate architect
c)
The Developers
d)
The architect chosen by the Scrum Team
2.
What are ways Developers can ensure a good application architecture?
a)
The Scrum Team should have a set of guiding architecture principles that every Developer understands and follows when writing code
b)
The Scrum Team plans a Sprint 0 at the beginning of a project with the objective of developing an architecture model used during the following Sprints
c)
The Developers do not need an architecture model in Scrum and should focus on adding functionality. The archiecture will come into place without fail as the Developers add funcionality
d)
The Developers plan some time each Sprint to discuss the architecture needed for the features planned in that Sprint
e)
The Scrum Team should assign someone to the role of software architect whose job it is to make sure a consistent architecture is developed
3.
Choose three reasons why architectural layering is important for emergent systems
a)
Layering increases maintainability of a system by isolating functional responsibilities
b)
Layering makes it easier to reuse functionality
c)
Layering separates different logical concerns within the system
d)
Layering assigns clear responsibilities to individual Development Team members
4.
Choose two common cross-cutting concerns in application architecture
a)
Scalability
b)
Security
c)
Build
d)
Design pattern selection
5.
Which of the following are quality goals in application architecture? (choose the best two answers)
a)
Design pattern selection
b)
Scalability
c)
Security
d)
Build
6.
When is a system's architecture decided? (choose the best answer)
a)
Throughout development, as understanding emerges
b)
It is designed along with the vision, before the first Sprint
c)
Before writing code
d)
In the beginning of the project, during Sprint 0
7.
Which of the following describes an architecture spike? (choose the best answer)
a)
A fundamental architectural problem found in a an existing application
b)

The result of an exhaustive architectural planning effort

c)
A decision made by a systems architect to settle disagreement between Developers
d)
A small development activity to learn about technical elements of a proposed solution
8.
What does Code Coverage show?
a)
Code being exercised by tests
b)
The ratio of number of tests to lines of code in the system being tested
c)
The quality of unit tests being written
d)
The absence of defects in code
e)
When a feature is done
9.
You are asked to refactor part of the codebase for Application X. When you are done, all unit tests pass with 50% code coverage. What can you infer from this?
a)
At least 50% of Application X functions correctly
b)
Less than 50% of Application X functions correctly
c)
You did not break any existing unit tests
d)
There are no bugs present in Application X
10.
What are some disadvantages of code coverage as a measurement for how well a system or product is tested? (choose the best three answers)
a)
Developers could stop adding more valuable tests once the target coverage is achieved
b)
It only provides insights to programmers
c)
It could create incentives to write tests that simply increase code coverage, rahter than test that find bugs without increasing coverage.
d)
It does not ensure that the most important or highest risk areas of the code are being exercised by tests
e)
It is too complicated to explain to management
11.

Which metric is less useful when measuring code maintainability?

a)
Cyclomatic complexity
b)
Depth of inheritance
c)

Function points

12.
Which three of the following are code quality metrics?
a)
Unit tests per class
b)
Depth of inheritance
c)
Class coupling
d)
Cyclomatic complexity
13.

Which model or idea increases code testability?

a)
PLP (Principle of Least Privilege)
b)
SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency Inversion)
c)
CI (Continuous Integration)
d)
INVEST (Independent, Negotiable, Valuable, Estimable, Small Enough, Testable)
14.
Cyclomatic complexity is a metric for: (choose the best answer)
a)
Measuring branching structures and nesting levels in code
b)
Assessing if code is written in as few lines as possible
c)
Demonstrating code is well structured and cleanly implemented
d)
Determining the number of unit tests required to ensure correctness
e)
A measurement for complexity based on the number of people involved
15.
Who is responsible for a Sprint Backlog item that contains several database related tasks? (choose the best answer)
a)
Project Stakeholders
b)
Developers
c)
Database administrator
d)
Scrum Master
e)
Product Owner
16.
Database design must be complete before coding starts to ensure a solid foundation
a)
True
b)
False
17.
What is the role of modelling in Scrum Teams? (choose the best answer)
a)
Models are assembly instructions for the Developers
b)
Modeling may be useful to increase shared understanding
c)
Models are not used by agile teams
d)
Models are maintained along with the software as it emerges.
18.
What is static analysis?
a)
A tool that inspects the correctness of static classes
b)
Analysis performed on code
c)
Work performed by a business analyst
d)
Analysis performed on software at runtime
19.

What is the instability index metric calculation formula? (Ca: Afferent Coupling, Ce: Efferent Coupling)

a)

Ca / (Ca+Ce)

b)

Ce / (Ca+Ce)

c)

(Ca+Ce) / Ce

d)

(Ca+Ce) / Ca