Variables & Assignments (2) Flashcards
Assignment
Arithmetic
Equality
Logical
Are types of ____ used to perform in-built calculations
Operators
A named value item that holds a value that cannot change
Constant
______ are commonly used in programs to hold the value of mathematical or physical constants, such as Pi, the speed of light, or kilograms per pound. Used for values that should never change during the program’s execution.
Constants
This equality operator checks if two values are identical.
==
This equality operator compares two values to see if they are different
=!
What kind of number do float type variables store?
floating-point numbers/floating type literals
All numbers, including negative, that are whole are what kind of number
Integers
10.0, 5.6, 39085973.0, 72.0001, 0.08 are all possible examples of a ____ type variable.
float
The ____ data type is a specific sequence of characters, words, or other data. Can be a constant or a variable. The number of characters (including invisible ones like space) in it is its length, can even have nothing at all giving the ____ a length of 0.
String