Java - Quiz 3
Quiz
•
Professional Development
•
1st - 3rd Grade
•
Practice Problem
•
Hard
Steph Cuevas
Used 21+ times
FREE Resource
Enhance your content in a minute
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What is the correct output?
a) true
true
false
true
b) true
false
true
true
c)false
false
true
true
d)false
true
true
false
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
condition ? expression1 : expression2;
if condition is true, expression2 is executed.
a) true
b) false
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
PREDICT THE OUTPUT:
int x = 60;
int y = 90;
if (y%x == 0 && y-x==30){
System.out.println("Hello World"); }
else{
System.out.println("Error"); }
a) Hello World
b) Error
c) Hello world
d) Hello World
Error
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
When the variable being switched on is equal to a case, the statements following that case will execute until a _ statement is reached.
a) continue;
b) break;
c) default;
d) go;
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Which data types are allowed in a Java switch statement?
a) int, short, byte, double, char
b) String, int, short, char
c) char, byte, short, int, String
d) String, int, byte
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
What option describes button number 5 on the toolbar?
a) Step over an expression
b) Step over
c) Step into
d) Step out of
7.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
which is the Default format of LocalDateTime?
a) 2014-04-28
b) 2014-04-28T23:25:49.342Z
c) 2014-04-28T16:25:49.341
d) 28::Apr::2014
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
20 questions
Grandezas Elétricas
Quiz
•
2nd Grade
20 questions
QUIZ 4 : TOPIC 8 [PROCESS COSTING]
Quiz
•
1st Grade - University
20 questions
How much idea I have?
Quiz
•
1st Grade - Professio...
20 questions
Equipement électrique d'un pavillon
Quiz
•
2nd Grade
20 questions
¡Cultura general!
Quiz
•
1st - 10th Grade
19 questions
Seccion 3 a 10 NIIF Pymes
Quiz
•
1st Grade
20 questions
Pajak Bab. 1
Quiz
•
1st - 3rd Grade
20 questions
Proteksi Prima
Quiz
•
1st Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
10 questions
Veterans Day
Quiz
•
3rd Grade
