Glossary Chapter 1 Flashcards

1
Q

Bug

A

And 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.

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.