Review Game Zone
Games
Test
Preview
Back
Match it!
Match it! Select the correct answer from the pull down...Good luck!
To declare an int variable number with initial value 2, you write ___________
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
The expression 4 + 20 / (3 - 1) * 2 is evaluated to ______________
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
What is the result of 45 / 4?
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
Before a variable is used it must be _______________
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
Which of the following expression results in a value 1?
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
An identifier that cannot be used as a variable name is a ___________________ word
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
How would you assign the integer 5 to a variable named numberFive? Assume the variable is already declared
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
In Java, which of the following is not a numerical type?
int number = 2;
24
37 % 6
char
numberFive = 5;
11
declared
special
Check it!