Send a link to your students to track their progress
26 Terms
1
New cards
IDE
Integrated development environment; a software application that provides comprehensive facilities to computer programmers for software development
2
New cards
computer science
the branch of engineering science that studies computable processes and structures
3
New cards
variable
something that stores information in a program so that it can be used later. Has three components: name, type, and value
4
New cards
str
short for string. A variable whose type is str contains text, or a sequence of 0 or more characters (numbers, letters, punctuation, spaces, etc.)
5
New cards
int
short for integer. A variable whose name is int contains a number that can be positive, negative, or zero. There can be no decimals
6
New cards
float
this is short for a floating-point number. it is similar to an integer, except it does have a decimal component
7
New cards
user
a person who runs a program
8
New cards
the input function
a function that prints a prompt and retrieves text from the user
9
New cards
type conversion
changing an entity of one datatype into another
10
New cards
function composition
an act or mechanism to combine simple functions to build more complicated ones
11
New cards
interpreter
a computer program that directly executes instructions written in a programming or scripting language, without requiring them previously to have been compiled into a machine language program
12
New cards
compiler
a special program that translates a programming language's source code into machine code, bytecode or another programming language
13
New cards
addition symbol
+
14
New cards
subtraction symbol
-
15
New cards
multiplication symbol
*
16
New cards
division symbol
/ or //
17
New cards
exponentiation symbol
**
18
New cards
modulus (remainder) symbol
%
19
New cards
negation symbol
-
20
New cards
concatenation
adding two strings together or putting them side by side
21
New cards
comments
text in a program that is ignored by the Python interpreter
22
New cards
binary operator
an operator that operates on two operands and manipulates them to return a result
23
New cards
unary operator
an operator that takes a single operand in an expression or a statement
24
New cards
syntax error
"Please cat dog monkey." an error of language resulting from code that does not conform to the syntax of the programming language
25
New cards
run-time error
"Please eat the piano." makes sense from a grammatical perspective — there is a verb and noun in the right place — so you know what you are being asked to do. But, you will encounter problems once you start trying to run the program
26
New cards
logic error
"Please close the back door so that the bugs don't come in." if the front door is also open: even though the command makes sense and you can close the back door, this doesn't actually accomplish the goal of keeping the bugs out since they'll still come in the front door