Created by Lilli Flahh
over 6 years ago
|
||
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 |
Want to create your own Flashcards for free with GoConqr? Learn more.