Professional Documents
Culture Documents
Quality Final TB
Quality Final TB
Quality Final TB
e. Compute TCF:
Quality Final TB
• TCF = 0.65 + 0.01 (14 factor * 0 (irrelevant) or 3 (average) or 5 (essential) depending on the
question).
• TCF = 0.65 + 0.01(14 * 3) = 1.07.
f. Compute FP:
• FP = UFC * TCF.
• FP = 85 * 1.07 = 90.95.
3- Suppose we have a software project with an estimated function point count of 100. Based on
historical data or industry standards, we've determined that, on average, one function point
corresponds to approximately 50 lines of code.
• Function Points: 100
• Productivity Factor: 50 lines of code per function point
• Estimated Lines of Code = Function Points * Productivity Factor
• Estimated Lines of Code = 100 * 50
• Estimated Lines of Code = 5000 LOC
4- Let's say we have a software project estimated to have a size of 50 thousand lines of code
(KLOC). We'll use the following values for A and B, based on the type of project and team
experience:
• Development mode: Organic
• Experience level: Nominal.
Title Definition
External outputs Provided to the user that generate data, data comes “out” of the
system.
External inquiries Interactive inputs requiring a response.
3- Based on the graphs given below draw a single graph by using “Sequence” operation. Perform
“Sequencing” of graph D1 with graph D3.
4- Based on the following graphs draw a single graph by using “Nesting” operation. Perform
“Nesting” of graph D1 on graph D3.
Quality Final TB
5- Based on the following graphs draw a single graph by using both the “Nesting.” and
“Sequencing” operations as follows:
• First, nest D1 and D2.
• Then, nest D0 and D3.
• Then, sequence the resulting graphs.
• M=e-n+p
• e = number of edges, n = number of nodes, P = Number of predicate nodes
• M=8-7+2=3
Quality Final TB
Title Definition
Control flow structure The control flow addresses the sequence in which instructions are
executed in a program.
Data flow structure Data flow follows the trail of a data item as it is created or handled by
a program.
Nonnegativity System complexity cannot be negative.
System length cannot be negative.
Module coupling cannot be negative.
Module cohesion is normalized so that it is between zero and one.
• Minimum cohesion = 0 (no cohesion) and
• Maximum cohesion = 1
Null value The complexity of a system with no links is zero.
A system with no links has zero length.
A module without links to elements that are external to the module
has zero coupling.
A module whose elements have no links between them has zero
cohesion.
Symmetry The complexity of a system does not depend on how links are
represented.
The in-degree Of a node is the number of arcs arriving at the node.
Quality Final TB
a. we have 4 yes for R, 5 yes for D and 2 yes for I, then what would be the result for
completeness metric?
• (4/6 + 5/8 + 2/8) / 3 = 0.51
b. we have 6 yes for R, 4 yes for D and 4 yes for I, then what would be the result for
traceability metric?
• (6/6 + 4/8 + 4/8) / 3 = 0.66
c. we have 2 yes for R, 2 yes for D and 2 yes for I, then what would be the result for
consistency metric?
• (2/6 + 2/8 + 2/8) / 3 = 0.27
d. Finally, what would be the result of correctness metric?
a. Calculate the avg success rate (in %) for each. Answer on the table.
b. Calculate avg success rate (in %) for each participant. Answer on the table.
c. Draw graph which shows percentage of tasks completed by each participant.
Quality Final TB
e. Compare task success rates and find out which tasks are more problematic. 2 and 3
Title Definition
Title Definition
Fault In a software product occurs due to a human error or mistake.
Is the encoding of an error in the software.
Failure Is the departure of a system from its required behavior.
Is the manifestation of a fault during software execution.
Examples on faults and
failures
Failures In Time (FIT) A statistical measure of how many failures a component will have over 1
billion hours of operation.
1 FIT is equivalent to one failure in every billion hours of operation.
Software availability Is the probability that a program is operating according to requirements at
a given point in time.
Availability = (MTTF / MTTF + MTTR) * × 100%
Availability = uptime / (uptime + downtime)
Example*: let’s say you’re trying to calculate the availability of a critical
production asset. That asset ran for 200 hours in a single month. That
asset also had two hours of unplanned downtime because of a
breakdown, and eight hours of downtime for maintenance. That equals 10
hours of total downtime. Thus:
Availability = uptime / (uptime + downtime)
Availability = 200 ÷ (200 + 10)
Availability = 200 ÷ 210
Availability = 0.952
Availability = 95.2%
Software safety Is a software quality assurance activity that focuses on the identification
and assessment of potential hazards
Time on Task Time on a task is simply the time elapsed between the start of a task and
the end of a task, usually expressed in minutes and seconds.
action Can take many forms, such as clicking a link on a web page, pressing a
button.
The goal is to increase productivity by minimizing the number of actions
required to complete a task
There are at least two Cognitive effort involves finding the right place to perform an action (e.g.,
types of effort: finding a link on a web page), deciding what action is necessary (should I
Cognitive and Physical click this link?), and interpreting the results of the action.
Physical effort involves the physical activity required to take action, such
as moving a mouse, inputting text on a keyboard, turning on a switch, and
many others.
Lostness Studying behavior on the web
N: the number of different web pages visited while performing the task
S: the total number of pages visited while performing the task, counting
revisits to the same page
R: the minimum (optimum) number of pages that must be visited to
accomplish the task
A perfect lostness score would be 0.
Lostness score less than 0.4 did not exhibit any observable characteristics
of being lost.
Quality Final TB
1. to hold paramount (supreme), the safety, health, and welfare of the public, to strive to
comply with ethical design and sustainable development practices, to protect the privacy of
others, and to disclose promptly factors that might endanger the public or the environment.
2. to improve the understanding by individuals and society of the capabilities and societal
implications of conventional and emerging technologies, including intelligent systems.
3. to avoid real or perceived conflicts of interest whenever possible, and to disclose them to
affected parties when they do exist
4. to avoid unlawful conduct in professional activities, and to reject bribery in all its forms.
5. to seek, accept, and offer honest criticism of technical work, to acknowledge and correct
errors, to be honest, and realistic in stating claims or estimates based on available data, and to
credit properly the contributions of others.
6. to maintain and improve our technical competence and to undertake technological tasks for
others only if qualified by training or experience, or after full disclosure of pertinent limitations
II. To treat all persons fairly and with respect, to avoid harassment or discrimination, and to
avoid injuring others.
7. to treat all persons fairly and with respect, and to not engage in discrimination based on
characteristics such as race, religion, gender, disability, age, national origin, sexual orientation,
gender identity, or gender expression.
8. to not engage in harassment of any kind, including sexual harassment or bullying behavior.
9. to avoid injuring others, their property, reputation, or employment by false or malicious
actions, rumors, or any other verbal or physical abuses.
III. To strive to ensure this code is upheld by colleagues and coworkers.
10. to support colleagues and coworkers in following this code of ethics, to strive to ensure the
code is upheld, and to not retaliate against individuals reporting a violation.