Back to the full dot-point answer
SingaporeComputer ScienceQuick questions
Algorithms and Problem Solving
Quick questions on Trace tables and testing explained: O-Level Computing
4short Q&A pairs drawn directly from our worked dot-point answer. For full context and worked exam questions, read the parent dot-point page.
What is choosing test data?Show answer
Testing checks that a program behaves correctly. Use three kinds of data:
What is q1?Show answer
State what each column of a trace table represents. [2 marks]
What is q2?Show answer
Give an example of boundary test data for a program that accepts ages to . [2 marks]
What is q3?Show answer
Explain why invalid test data should be used. [2 marks]
Have a question we have not covered?
This dot-point answer is short enough that we have not extracted many short questions yet. Read the full dot-point answer or ask Mo, our study assistant, in the chat for follow ups.