Correcting Errors in Algorithms and Programs (AQA GCSE Computer Science): Flashcards

📚Flashcards
Correcting Errors in Algorithms and Programs
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

Algorithm refinement definition

The process of improving code after testing reveals errors or issues

Normal test data

Typical values that should work correctly

Boundary test data

Values at the edges of acceptable range

Erroneous test data

Values that should be rejected

Syntax error definition

Error that breaks language rules and stops program running

Logic error definition

Code runs but produces wrong results

Effect of syntax errors

Program won't run at all

Effect of logic errors

Program runs but gives incorrect results

Why are syntax errors easy to spot?

They stop the program from running

What to do after code changes

Always retest the code

Syntax vs logic errors

Syntax stops running; logic gives wrong results

Three types of test data

Normal, boundary, and erroneous

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.