Busy. Please wait.

show password
Forgot Password?

Don't have an account?  Sign up 

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
We do not share your email address with others. It is only used to allow you to reset your password. For details read our Privacy Policy and Terms of Service.

Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Remove Ads
Don't know
remaining cards
To flip the current card, click it or press the Spacebar key.  To move the current card to one of the three colored boxes, click on the box.  You may also press the UP ARROW key to move the card to the "Know" box, the DOWN ARROW key to move the card to the "Don't know" box, or the RIGHT ARROW key to move the card to the Remaining box.  You may also click on the card displayed in any of the three boxes to bring that card back to the center.

Pass complete!

"Know" box contains:
Time elapsed:
restart all cards

Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

2 - Python Data

How to Think Like a Computer Scientist

assignment statement statement that assigns a value to a name (variable)
assignment token =
comment Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
data type class; a set of values
decrement decrease by 1
evaluate To simplify an expression by performing the operations in order to yield a single value
expression a combination of operators and operands (variables and values) that represents a single result value
float a Python data type which stores floating-point numbers
increment Both as a noun and as a verb, increment means to increase by 1.
initialization (of a variable) To initialize a variable is to give it an initial value
int a Python data type that holds positive and negative whole numbers
integer division An operation that divides one integer by another and yields an integer
keyword A reserved word that is used by the compiler to parse program
modulus operator Gives the remainder after performing integer division
object The fundamental things that programs are designed to manipulate
operand One of the values on which an operator operates.
operator a special symbol that represents a simple computation like addition, multiplication, or string concatenation
prompt string used during interactive input to provide the use with hints as to what type of value to enter
reference diagram A picture showing a variable with an arrow pointing to the value (object) that the variable refers to
rules of precedence The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
state snapshot A graphical representation of a set of variables and the values to which they refer, taken at a particular instant during the program’s execution
statement An instruction that the Python interpreter can execute
str a Python data type that holds a string of characters
type conversion function a function that can convert a data value from one type to another
value a number or string that can be stored in a variable or computed in an expression
variable a name that refers to a value
variable name a name given to a variable that describe their use in the program
Created by: shoemaker