NEW
Font size
WorksheetsCSAwesome Unit 1 Vocabulary
Total questions: 23
Worksheet time: 12mins
determines the size of memory reserved for a variable, for example int, double, boolean, String.
Camel Case
static
Operator
data type
One way to create a variable name by appending several words together and uppercasing the first letter of each word after the first word (myScore).
Camel Case
data type
compiler
Declare a Variable
The operator (++) that increases the value of a numerical variable by one.
assignment statements
modulo
operator precedence
increment operator
means that the field or method exists in the object that defines the class.
Operator
modulo
data type
static
Changing the type of a variable using (type) name.
increment operator
Casting a Variable
Declare a Variable
Initializing a Variable
Specifying the type and name for a variable. This sets aside memory for a variable of that type and associates the name with that memory location.
Declare a Variable
data type
Camel Case
Casting a Variable
used to declare a variable that is a decimal number like 3.25.
double
boolean
int
modulo
used to declare a variable of type integer (a whole number like -3 or 235).
boolean
static
double
int
If you divide by zero, you will get this error.
arithmetic expression
ArithmeticException
Casting a Variable
Initializing a Variable
Common mathematical symbols such as + for addition and * for multiplication.
static
Operator
Variable
compiler
A name associated with a memory location in the computer.
Variable
Operator
double
compiler
used to declare a variable that can only have the value true or false.
int
double
modulo
boolean
some operators are done before others, for example *, /, % have precedence over + and -, unless parentheses are used.
Increment operator
Operator
operator precedence
arithmetic expression
Where execution starts in a Java program.
Main Method
data type
String literal
boolean
a sequence of operands and operators that describe a calculation to be performed, for example 3*(2 + x)
arithmetic Exception
arithmetic expression
System.out.println()
assignment statements
An expression that is either true or false.
Variable
compiler
Boolean
double
the first time you set the value of a variable.
Shortcut or compound assignment operators
Casting a Variable
Initializing a Variable
Arithmetic Exception
initialize or change the value stored in a variable using the assignment operator =.
increment operator
assignment statements
arithmetic expression
System.out.println()
The % operator which returns the remainder from one number divide by another.
static
modulo
increment operator
double
Software that translates the Java source code into the Java class file that can be run.
Operator
boolean
compiler
static
An error or bug that is found by the compiler like a missing semicolon
modulo
String literal
Arithmetic Exception
compiler or syntax error
Operators like x++ or x+= 1 which mean x = x + 1
assignment statements
Shortcut or compound assignment operators
increment operator
int
Text enclosed by double quotes.
Camel Case
arithmetic expression
String literal
assignment statements
