Identify Syntax & Logic Errors in Testing (OCR GCSE Computer Science): Flashcards

📚Flashcards
Identify Syntax & Logic Errors in Testing
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

14 cards from this deck

Show

Syntax errors

Breaking the rules/grammar of a programming language

Effect of syntax errors on program

Prevent the program from running

Examples of syntax errors

Missing brackets, misspelt commands, wrong indentation

Logic errors

Program runs but produces incorrect results

Why logic errors are harder to detect

They don't stop the program from running

Values logic gates work with

00 (false) or 11 (true)

NOT gate output when input is 00

11

NOT gate output when input is 11

00

OR gate output when both inputs are 00

00

OR gate output when any input is 11

11

AND gate output when both inputs are 11

11

AND gate output when any input is 00

00

How to create complex logic circuits

Combine multiple logic gates

Tool to verify logic in circuits

Truth tables

Explore OCR GCSE Computer Science Revision Notes by Topics

Explore OCR GCSE Computer Science Model Answers by Topics

Explore OCR GCSE Computer Science Quizzes by Topics

Explore OCR GCSE Computer Science Exam Questions by Topics

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

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