python Flashcards
he process of formulating a problem, finding a solution, and expressing
it.
problem solving
A programming language like Python that is designed to be easy for
humans to read and write.
high-level language
A programming language that is designed to be easy for a computer
to run; also called “machine language” or “assembly language”.
low-level language
A property of a program that can run on more than one kind of computer
portability
A program that reads another program and executes it
interpreter
Characters displayed by the interpreter to indicate that it is ready to take input
from the user.
prompt
A set of instructions that specifies a computation.
program
An instruction that causes the Python interpreter to display a value on
the screen.
print statement
A special symbol that represents a simple computation like addition, multiplication,
or string concatenation.
operator
One of the basic units of data, like a number or string, that a program manipulates
value
A category of values. The types we have seen so far are integers (type int), floatingpoint
numbers (type float), and strings (type str).
type
A type that represents whole numbers
Integer
A type that represents numbers with fractional parts.
floating-point
A type that represents sequences of characters.
string
Any one of the languages that people speak that evolved naturally.
natural 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.
formal language
One of the basic elements of the syntactic structure of a program, analogous to a
word in a natural language.
token
The rules that govern the structure of a program.
syntax
To examine a program and analyze the syntactic structure.
parse
An error in a program.
bug
The process of finding and correcting bugs.
debugging
A name that refers to a value.
variable
A statement that assigns a value to a variable.
assignment
A graphical representation of a set of variables and the values they refer to.
state diagram
A reserved word that is used to parse a program; you cannot use keywords like
if, def, and while as variable names.
keyword
One of the values on which an operator operates.
operand
A combination of variables, operators, and values that represents a single result.
expression
To simplify an expression by performing the operations in order to yield a single
value.
evaluate
A section of code that represents a command or action. So far, the statements
we have seen are assignments and print statements.
statement
To run a statement and do what it says.
execute