PE: Chapter 1 Glossary Flashcards

1
Q

bug

A

An error in a program

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

central processing unit

A

The heart of any computer. It is what runs the software
that we write; also called “CPU” or “the processor”.

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

compile

A

To translate a program written in a high-level language into a low-level
language all at once, in preparation for later execution.

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

high-level language

A

A programming language like Python that is designed to
be easy for humans to read and write.

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

interactive mode

A

A way of using the Python interpreter by typing commands
and expressions at the prompt.

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

interpret

A

To execute a program in a high-level language by translating it one line
at a time.

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

low-level language

A

A programming language that is designed to be easy for a
computer to execute; also called “machine code” or “assembly language”.

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

machine code

A

The lowest-level language for software, which is the language that
is directly executed by the central processing unit (CPU).

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

main memory

A

Stores programs and data. Main memory loses its information
when the power is turned off.

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

parse

A

To examine a program and analyze the syntactic structure

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

portability

A

A property of a program that can run on more than one kind of
computer.

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

print function

A

An instruction that causes the Python interpreter to display a
value on the screen

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

problem solving

A

The process of formulating a problem, finding a solution, and
expressing the solution.

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

program

A

A set of instructions that specifies a computation

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

prompt

A

When a program displays a message and pauses for the user to type some
input to the program.

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

secondary memory

A

Stores programs and data and retains its information even
when the power is turned off. Generally slower than main memory. Examples
of secondary memory include disk drives and flash memory in USB sticks.

17
Q

semantics

A

The meaning of a program.

18
Q

semantic error

A

An error in a program that makes it do something other than
what the programmer intended.

19
Q

source code

A

A program in a high-level language.