Skip to main content

← back to the guide

OCR GCSE Computer Science 2.3 Producing robust programs and 2.4 Boolean logic overview quiz quiz

12questions. Pick an answer and you'll see why right away.

  1. What is input validation?

  2. Which of these is a maintainability technique, not a runtime feature?

  3. When is iterative testing carried out?

  4. For a program accepting marks from 0 to 100, which value is boundary test data?

  5. Which value is erroneous (invalid) test data for a 0 to 100 range?

  6. A program runs without any error message but always outputs the wrong answer. Which type of error is this?

  7. A program will not run because a closing bracket is missing. What type of error is this?

  8. When is the Boolean expression A AND B true?

  9. How many rows does a truth table with three inputs have?

  10. What does a NOT gate do?

  11. Which logic gate outputs 1 when at least one of its two inputs is 1?

  12. What is the best way to work out the truth table of a combined expression such as (A OR B) AND (NOT C)?