Types of Errors

Description

AS level Computing (Component 1) Flashcards on Types of Errors, created by Lilli Flahh on 09/06/2018.
Lilli Flahh
Flashcards by Lilli Flahh, updated more than 1 year ago
Lilli Flahh
Created by Lilli Flahh over 6 years ago
3
0

Resource summary

Question Answer
Name 3 types of Translation Error Syntax Linking Semantic
Define a Syntax Error A command does not follow the expected syntax of the language used
Give 2 examples of a Syntax Error Else if without if Punctuation errors e.g. no semicolon
Define a Linking Error When a standard function is called without importing the appropriate library which contains it
Define a Semantic Error Variable is declared illegally
Name 3 types of Runtime Error Execution Logical Rounding/Truncation
What is an Execution Error? An error which only occurs when the program is running and is difficult to foresee at the editing/compilation stage
Give an example of an Execution Error Any of: ArrayOutOfBoundsException NullPointerException StackOverflowException etc
What is a Logical Error? A logical error causes the program to output an unexpected result, but does not necessarily cause the system to crash
What is the result of many Rounding Errors? Inaccuracy
Define Truncation The number is approximated to the whole/ten/hundred closest to zero
Define Rounding The number is approximated to the nearest whole/ten/hundred
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
A level Computing Quiz
Zacchaeus Snape
Types and Components of Computer Systems
Jess Peason
Input Devices
Jess Peason
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Output Devices
Jess Peason
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir