Chapter 1 The Way of the Program 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 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

Protability

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 represent 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. The 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 represent 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 he 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.