Chapter 1 Flashcards
What does LOGIC do in the computer program?
Describes the order of program statements that produce correct results.
What is a high-level programming language?
A language that uses a vocabulary of reasonable terms, such as READ, WRITE, or ADD, instead of referencing the sequence of on and off switches that perform these tasks. (Java, Visual Basic, C++)
What is a low-level programming language?
A language that corresponds closely to a computer processor’s circuitry (and isn’t as easily understood). Must be customized for every type of machine on which a program runs.
What is a machine language (machine code)?
Circuitry-level language; a series of on and off switches. Compare with low-level programming language.
What is syntax?
The rules that define how language elements are used together correctly to create usable statements.
What is the language’s keywords?
The language’s keywords are part of a programming language.
What is the program statements?
Similar to English sentences; instructions that carry out the tasks that programs perform.
What is commands?
Program statements; they are orders to the computer, such as OUTPUT THIS WORD.
What is a compiler?
A program that translates language statements into machine code, translating an entire program before executing it.
What is an interpreter?
A program that translates language statements into machine code. An interpreter translates and executes one statement at a time.
What is a syntax error?
A programming error that occurs when a program contains typing errors or incorrect language use; a program containing syntax errors can’t be translated into an executable program.
What is bugs?
Flaws or mistakes in a computer program.
What is debugging?
The process of locating and repairing a program’s errors.
What is a logic error?
A programming bug that allows a source program to be translated to an executable program successfully, but that produces incorrect results.
What is a semantic error?
The type of errors that occur when a correct word is used in the wrong context in program code.