
Java Variables 1.1 to 1.4 Review
Quiz
•
Computers
•
11th Grade - University
•
Medium
Brent Hopkins
Used 3+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in java?
int
boolean
number
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You want to know if a user has a sibling. What type of variable should you create?
int
double
string
boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way of defining a String variable?
String name = "John";
String name = "John"
String name = John;
String name "John";
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int x = 5;
int y = 6
int z = 50;
System.out.println(x + y + z);
What will be the output?
61
5650
66
x + y + z
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the right way of defining char variable?
char myGrade = 'B';
char myGrade = "B";
char myGrade 'B';
char myGrade = "B"
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int sum1 = 100 + 50;
int sum2 = sum1 + 250;
int sum3 = sum2 + sum2;
System.out.println(sum3);
What will be the final output?
950
800
sum2sum2
sum1250
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
int x = 10;
x = x + 5;
System.out.println(x);
What will be the output?
15
5
55
x5
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
6-文件操作
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
10 questions
TIN 11- KIỂU XÂU
Quiz
•
11th Grade
15 questions
Javascript Quiz 2
Quiz
•
11th Grade
10 questions
MS Excel - Day 04
Quiz
•
University
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
cp06-01-1D-Array
Quiz
•
University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
