Big idea 1: Creative development Flashcards
syntax error
A mistake in typed code that violates the rules of the programming language. Typically, code with syntax errors will not run.
logic error
A mistake in an algorithm or program that causes it to behave unexpectedly or return the incorrect value.
run-time error
A mistake in a program that happens only when the program is actually run, such as a program attempting to access memory that does not exist.
overflow error
Error that results when the number of bits is not enough to represent the number
Integer representation
An integer is any number that can be written without a fractional component. Computer represents all data with bits(sequence of 0s and 1s)
Floating-point representation
Computer languages typically use floating-point representation for non-integers (and sometimes integers, too). It’s similar to “scientific notation”, a representation you might know from other studies(256=1×2^8).