Debugging Flashcards

1
Q

What two criteria should operational definitions meet?

A

Communication and Repeatability

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How much does each decision increase the cyclomatic complexity?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is program verification?

A

Aims at proving the correctness of programs by showing that it contains no errors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The entity that performs the task of checking the correctness of the observed behavior

A

Oracle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What cyclomatic complexity is considered challenging?

A

10-20

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Counting the implemented methods in a class

A

Weighted Methods per Class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

T/F Use of measurement data to evaluate individuals will negatively affect the correctness and usefulness of the measurement data that are reported

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Dissimilarities between methods by using attributes used in the methods

A

Lack of Cohesion of Methods

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T/F Comprehensive test coverage is impractical for hardware or software testing

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

A standard of measurement

A

Metric

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

T/F Dynamic metrics do not require code execution

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is Goal-driven measurement based on a predefined set of measures?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In goal-driven measurement, what is the primary question?

A

What do I want to know or learn?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Help focus investigations by ranking problems, causes, or actions in terms of their amounts, frequency of occurrence, or economic consequences

A

Pareto Charts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

T/F The act of measuring and analyzing will not change behavior

A

F

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Mathur recommends a cyclomatic complexity less than _?

17
Q

The act of measuring (paying attention) will change behavior

A

Hawthorne Effect

18
Q

T/F Static metrics can be computed without executing the program

19
Q

Number of classes that directly inherit one class

A

Number of Children

20
Q

T/F Program verification and testing should be

considered complementary techniques

21
Q

Depth of Inheritance

A

Maximum number of nodes between root and lowest node in the hierarchy

22
Q

The process of determining the cause of errors and removing them

23
Q

Number of methods a class is accessible to,
including methods implemented in own class
as well as methods accessible due to
inheritance

A

Response for a Class

24
Q

T/F It is more common to measure “Halstead time” in terms of months

A

F, minutes

25
Coupling Between Objects
Number of other classes that a class is coupled to
26
programming – The art of:
Debugging a blank sheet of paper
27
T/F State transition diagrams can be used to specify | program behavior
T
28
Human testers are what three things?
error-prone slow may result in trivial checks
29
What are the two measurement questions?
Are we measuring the right thing? | Are we measuring it right?
30
T/F An operational definition [is one] which reasonable men can agree on and do business with
T
31
How is a defect defined?
severity, criticality, impact
32
What do you see if the 80/20 rule does not apply?
Flat pareto
33
What is Pareto chart interpretation based on?
80/20 rule
34
The rules and procedures used to capture and record data
Operational Definitions
35
What two things should be considered complementary techniques?
Program verification and testing
36
What can be used to specify program behavior?
State transition diagrams