Iteration Answers

14 verified answers2 views
1
Free Preview

Which of these are reasons to test code? Check all of the boxes that apply.

A
Most code contains some errors.
B
Beta users expect error-free programs.
C
Users expect software programs to function properly.
D
Software developers expect to have error-free programs after one test.
3

Program bugs can result in multiple versions of the program.fast outcomes.✔ an incorrect outcome.

A
multiple versions of the program.
B
fast outcomes.
C
an incorrect outcome.
4

Which of these exemplifies an iterative process?

A
You walk to school every day with a friend.
B
You do homework at a different time each day.
C
Sometimes you eat breakfast at school, and sometimes you eat breakfast at home.
D
You write a research paper, then review it, revise it, review it again, and revise it again.
6

Which of these are parts of the iterative process? Check all of the boxes that apply.

A
debugging code
B
writing the initial code
C
testing code
D
documenting code
7

Which of these is a characteristic of debugging software?

A
It only can be used in a limited number of cases.
B
It includes several tools that help to trace a problem to its source.
C
It only is useful when a program is first being written.
D
It can waste a lot of time.
8

Which of these statements are true of verifying that a program’s code is fixed? Check all of the boxes that apply.

A
It is the process of reading through code to be sure a fix looks right.
B
It is the process of testing code to be sure that a fix is right.
C
It includes running sample data through a program to test a fix.
D
It can be done only at start of a development cycle.
9

Which of these are tools used to diagnose and test code? Check all of the boxes that apply.

A
debugging software
B
creating data sets
C
compiler software
D
error messages
10

Which of these are steps in the testing cycle? Check all of the boxes that apply.

A
testing the fixed code
B
releasing debugging version
C
fixing the error
D
reproducing and diagnosing the error
11

How would you test a computer program?

A
releasing the program and waiting for user input
B
running the program with test data to see if outcomes are as expected
C
seeing how fast the program runs
D
rethinking the logic of the program code
13

Which of these are characteristics of compiler software? Check all of the boxes that apply.

A
Compiler software compiles code.
B
Compiler software can step through code line by line.
C
Compiler software compares code.
D
Compiler software can be used to find syntax errors.
E
Compiler software translates the code into machine language.

Did you find these answers helpful?