View as PDF

England GCSE Computer Science OCR · Unit 4 · 10 questions

Programming, Defensive Design and Testing — Practice Test

This practice test was made by AI and there may be mistakes. If a question or answer looks wrong, use the Flag a mistake button to let Brett know so he can fix it.

1

A tablet app is tested as it is written, with errors fixed as they are found. What is this called?

Understand It with Pulse
2

A robot program repeats a task until its battery is low. Which loop checks its condition after each repeat?

Understand It with Pulse
3

What is the length of the string computer?

Understand It with Pulse
4

Why should a variable be given the right data type?

Understand It with Pulse
5

What does a counter do in a loop?

Understand It with Pulse
6

What is the output of False OR False?

Understand It with Pulse
7

What does 25 DIV 4 give?

Understand It with Pulse
8

What is iterative testing?

Understand It with Pulse
9

What is validation?

Understand It with Pulse
10

A program only accepts ages from 0 to 255. Which value would a range check reject?

Understand It with Pulse