Glossary


Fichier Détails

Cartes-fiches 194
Langue English
Catégorie Informatique
Niveau Autres
Crée / Actualisé 29.01.2018 / 30.01.2018
Lien de web
https://card2brain.ch/box/20180129_pda_glossary
Intégrer
<iframe src="https://card2brain.ch/box/20180129_pda_glossary/embed" width="780" height="150" scrolling="no" frameborder="0"></iframe>
script:

A program stored in a file.

script mode:

A way of using the Python interpreter to read code from a script and run it.

interactive mode:

A way of using the Python interpreter by typing code at the prompt.

execute:

To run a statement and do what it says.

statement:

A section of code that represents a command or action. So far, the statements we have seen are assignments and print statements.

evaluate:

To simplify an expression by performing the operations in order to yield a single value.

expression:

A combination of variables, operators, and values that represents a single result.

operand:

One of the values on which an operator operates.

keyword:

A reserved word that is used to parse a program; you cannot use keywords like if, def, and while as variable names.

state diagram:

A graphical representation of a set of variables and the values they refer to.

assignment:

A statement that assigns a value to a variable.

variable:

A name that refers to a value.

debugging:

The process of finding and correcting bugs.

bug:

An error in a program.

parse:

To examine a program and analyze the syntactic structure.

syntax:

The rules that govern the structure of a program.

token:

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

formal language:

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.

natural language:

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

string:

A type that represents sequences of characters.

floating-point:

A type that represents numbers with fractional parts.

integer:

A type that represents whole numbers.

type:

A category of values. The types we have seen so far are integers (type int), floatingpoint numbers (type float), and strings (type str).

value:

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

operator:

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

print statement:

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

program:

A set of instructions that specifies a computation.

prompt:

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

interpreter:

A program that reads another program and executes it

portability:

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

low-level language:

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

high-level language:

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

problem solving:

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

information hiding:

The principle that the interface provided by an object should not depend on its implementation, in particular the representation of its attributes.