Chapter 1 - Introduction Flashcards

1
Q

An error in a program

A

Bug

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

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

A

Central Processing Unit

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

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

A

Compile

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

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

A

High-level Language

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

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

A

Interactive Mode

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

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

A

Interpret

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

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

A

Low-level Language

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

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

A

Machine Code

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

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

A

Main Memory

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

To examine a program and analyze the syntactic structure.

A

Parse

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

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

A

Portability

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

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

A

Print Function

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

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

A

Problem Solving

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

A set of instructions that specifies a computation.

A

Program

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

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

A

Prompt

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

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.

A

Secondary Memory

17
Q

The meaning of a program.

A

Semantics

18
Q

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

A

Semantic Error

19
Q

A program in a high-level language.

A

Source Code