2.2 Flashcards
What is an integer?
A whole number
What is a float?
A number with a decimal point
What is a character?
A single character/symbol that can be typed
What is a string?
Zero or more characters enclosed in quotation marks
What is a Boolean data type?
Can only take the value of True or False
What is a constant?
A value that cannot change during the execution of the program
What is the arithmetic operator for addition?
+
What is the arithmetic operator for subtraction?
-
What is the arithmetic operator for multiplication?
*
What is the arithmetic operator for division?
/
What is the arithmetic operator for modulus?
MOD
What is the arithmetic operator for quotient?
DIV
What is the arithmetic operator for exponentiation?
**
What is the comparison operator for equal to?
==
What is the comparison operator for not equal to?
!=