Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 10 - Computing

Programming project: selection II

Programming: selection

Unit Summary

In this unit pupils will explore the benefits of good programing practices and why subroutines are used in programs. They will create conditions in programs which use arithmetic, relational and logical expressions. They will develop their understanding of selection and explore nested selection.

Lesson Summary

You will learn to implement a solution to a problem that requires the use of selection.

Key Notes

  • Testing a program can help you to identify and spot errors.
  • A test plan is a document that sets out the tests that will be carried out during testing.
  • Once testing is complete, a program can be refined to correct any errors and make improvements.

Vocabulary To Learn

  • test plan: a document that sets out the tests that will be carried out during testing
  • syntax error: an error where the code has been structured incorrectly and the syntax rules haven't been followed
  • logic error: an error where the program will run, but won't do what the programmer expected

Common Mistakes To Avoid

  • If a program has a logic error it will not work and will give error messages.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

Testing a program can help you to identify and spot errors. A test plan is a document that sets out the tests that will be carried out during testing.

2. Define this computing term and give one practical example. 'test plan'

a document that sets out the tests that will be carried out during testing. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: If a program has a logic error it will not work and will give error messages. Correction: Logic errors are errors that cause a program to work incorrectly or unexpectedly. With a logic error, the program can be run without failing, but it does not return the expected result. The user might not realise that there is an error.

More Lessons In This Unit

Browse all guides in the Year 10 Computing guide library.