Chapter 1 Glossary Flashcards

1
Q

problem solving

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
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
3
Q

low-level language

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
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
5
Q

interpreter

A

A program that reads another program and executes it.

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

prompt

A

Characters displayed by the interpreter to indicate that it is ready to take input from the user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
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
8
Q

print statement

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
9
Q

operator

A

A special symbol that represents a simple computation like addition, multiplication, or string concatenation.

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

value

A

One of the basic units of data, like a number or string, that a program manipulates.

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

type

A

A category of values. This types we have seen so far are integers (type int), floating-point numbers (type float), and strings (type str).

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

integer

A

A type that represents whole numbers.

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

floating-point

A

A type that represents numbers with fractional parts.

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

string

A

A type that represents sequences of characters.

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

natural language

A

Any one of the languages that people speak that evolved naturally.

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

formal language

A

Any one of the languages that people have designed for specific purposes, such as representing mathematical ideas or computer programs; all programming languages are formal languages.

17
Q

token

A

One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.

18
Q

syntax

A

The rules that govern the structure of a program.

19
Q

parse

A

To examine a program and analyze the syntactic structure.

20
Q

bug

A

An error in a program.

21
Q

debugging

A

The process of finding and correcting bugs.