Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
34 Cards in this Set
- Front
- Back
problem solving
|
The process of formulating a problem finding a solution and expressing the solution.
|
|
algorithm
|
A general process for solving a category of problems.
|
|
bug
|
An error in a program.
|
|
compile
|
To translate a program written in a high-level language into a low-level language all at once in preparation for later execution.
|
|
debugging
|
The process of finding and removing any of the three kinds of programming errors.
|
|
exception
|
Another name for a runtime error.
|
|
executable
|
Another name for object code that is ready to be executed.
|
|
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.
|
|
high-level language
|
A programming language like Python that is designed to be easy for humans to read and write.
|
|
interpret
|
To execute a program in a high-level language by translating it one line at a time.
|
|
low-level language
|
A programming language that is designed to be easy for a computer to execute; also called "machine language" or "assembly language."
|
|
natural language
|
Any one of the languages that people speak that evolved naturally.
|
|
object code
|
The output of the compiler after it translates the program.
|
|
parse
|
To examine a program and analyze the syntactic structure.
|
|
portability
|
A property of a program that can run on more than one kind of computer.
|
|
program
|
A set of instructions that specifies a computation.
|
|
runtime error
|
An error that does not occur until the program has started to execute but that prevents the program from continuing.
|
|
script
|
A program stored in a file (usually one that will be interpreted).
|
|
semantic error
|
An error in a program that makes it do something other than what the programmer intended.
|
|
semantics
|
The meaning of a program.
|
|
source code
|
A program in a high-level language before being compiled.
|
|
syntax
|
The structure of a program.
|
|
syntax error
|
An error in a program that makes it impossible to parse (and therefore impossible to interpret).
|
|
token
|
One of the basic elements of the syntactic structure of a program analogous to a word in a natural language.
|
|
Static Semantics
|
which programs are meaningful, which expressions make sense - "My desk is Susan"
|
|
Declarative
|
Statement of Fact
sqr(x) is y s.t. y^2 =x |
|
Imperative
|
Description of how to deduce something - a recipe
Guess G: if G^2 ~ x -> stop G else G<-(G+X/G)/2 |
|
variable
|
name that refers to a value
|
|
Keyword
|
keywords define python's define the language's rules and structure
|
|
statement
|
two kinds: print and assignment - an instruction the Python interpreter can execute
|
|
expression
|
combination of values, variables and operators - a value or variable by themselves are expressions
|
|
difference between expressions and statements
|
expressions are evaluated by the interpreter, while statements are instructions the interpreter can evaluate
|
|
operator
|
sysmbols that represent computations like addition and multiplication
|
|
operands
|
the values used by operators
|