Chapter 1 Flashcards

1
Q

What does LOGIC do in the computer program?

A

Describes the order of program statements that produce correct results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a high-level programming language?

A

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++)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a low-level programming language?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a machine language (machine code)?

A

Circuitry-level language; a series of on and off switches. Compare with low-level programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is syntax?

A

The rules that define how language elements are used together correctly to create usable statements.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the language’s keywords?

A

The language’s keywords are part of a programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the program statements?

A

Similar to English sentences; instructions that carry out the tasks that programs perform.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is commands?

A

Program statements; they are orders to the computer, such as OUTPUT THIS WORD.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a compiler?

A

A program that translates language statements into machine code, translating an entire program before executing it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an interpreter?

A

A program that translates language statements into machine code. An interpreter translates and executes one statement at a time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a syntax error?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is bugs?

A

Flaws or mistakes in a computer program.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is debugging?

A

The process of locating and repairing a program’s errors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is a logic error?

A

A programming bug that allows a source program to be translated to an executable program successfully, but that produces incorrect results.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a semantic error?

A

The type of errors that occur when a correct word is used in the wrong context in program code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly