11
AssignmentMultiple Choice

Testing and Fixing Code

Question 11 • FL-8207310-Digital Information Technology B

How would you test a computer program?

Answer
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

Explanation

Test a program by running it with test data and checking whether the results match what you expect. This is the choice “running the program with test data to see if outcomes are as expected.” Measuring speed alone or rethinking the code does not directly test whether it produces correct results.

AI-written and checked against the verified answer.

Previous
Next