TRACE DRY RUNNAND BREAK POINT L Flashcards

1
Q

What is a trace table used for

A

To record the change in a variable at a corresponding number line

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

What is a dry run

A

Manually working through each line of code, recording variables values AND program outputs

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

What is a breakpoint l

A

Used in a SD environments to stop/pause the execution of a program at defined points

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

Why would break points and a trace table be used together

A

To locate errors in code

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

How would break points and trace tables be used together to locate errors in code

A

Insert breakpoint to stop/pause the execution of a program at defined points

Record variable values in trace table to check they match the expected output

This can help identify the location of errors

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

When is a dry run used in the software development process

A

Testing

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