Explore tens of thousands of sets crafted by our community.
Compiler Error Types
10
Flashcards
0/10
Semantic Error
Semantic errors arise when statements are not meaningful within the context, such as performing invalid operations on data types.
Duplicate Symbol
This error results from defining the same function, variable, or class name more than once within the same scope.
Undeclared Variable
This error indicates the use of a variable that has not been declared or is out of scope.
Linker Error
Linker errors happen when the compiler cannot find a referenced object or function in the compiled files or libraries.
Runtime Error
Runtime errors occur during the execution of a program, caused by operations like division by zero or accessing invalid array indices.
Syntax Error
This error occurs when the code does not conform to the grammar of the programming language, often resulting from typos or misplaced tokens.
Underflow Error
Underflow errors happen when a computation results in a value closer to zero than the smallest representable value for a floating-point data type.
Logic Error
A logic error happens when a program compiles and runs, but the output is incorrect due to an error in the program's logic.
Type Error
A type error occurs when an operation is applied to an inappropriate data type, typically caught by statically typed languages during compilation.
Overflow Error
An overflow error occurs when a computation produces a value that is outside the range of representable values for a given data type.
© Hypatia.Tech. 2024 All rights reserved.