10 Java
Quiz
•
Computers
•
KG
•
Practice Problem
•
Medium
Nursultan uulu
Used 14+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this code segment output?
System.out.println("Hello");
System.out.println("World");
Hello
World
HelloWorld
Hello World
Hello
World
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the below is NOT a Java arithmetic operator?
+
-
/
#
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How would you correctly display, “Hello, how are you?”?
print.Hello, how are you?;
println('Hello, how are you?');
System.out.println(Hello, how are you?);
System.out.println("Hello, how are you?");
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this java expression evaluate to?
(int) 7.8
7
7.0
8
7.8
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following is a proper way to declare and initialize a variable in Java?
myInteger = 100;
char = 'a';
int myNumber = 10;
"Variable"
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will this code segment output ?
String name = "Asan";
System.out.println("name");
Asan
name Asan
name
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What is the result of this expression?
int a = 5;
double b = 5.0;
System.out.println(a/b);
a/b
1.0
1
5
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
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
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
20 questions
Disney Characters
Quiz
•
KG
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Christmas Movies
Quiz
•
KG - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
KG - 3rd Grade
