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 _?

A

5

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

A

T

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

A

T

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

A

Debugging

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
Q

Coupling Between Objects

A

Number of other classes that a class is coupled to

26
Q

programming – The art of:

A

Debugging a blank sheet of paper

27
Q

T/F State transition diagrams can be used to specify

program behavior

A

T

28
Q

Human testers are what three things?

A

error-prone
slow
may result in trivial checks

29
Q

What are the two measurement questions?

A

Are we measuring the right thing?

Are we measuring it right?

30
Q

T/F An operational definition [is one] which reasonable men can agree on and do business with

A

T

31
Q

How is a defect defined?

A

severity, criticality, impact

32
Q

What do you see if the 80/20 rule does not apply?

A

Flat pareto

33
Q

What is Pareto chart interpretation based on?

A

80/20 rule

34
Q

The rules and procedures used to capture and record data

A

Operational Definitions

35
Q

What two things should be considered complementary techniques?

A

Program verification and testing

36
Q

What can be used to specify program behavior?

A

State transition diagrams