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
Lectura veloz.
Quiz
•
1st - 5th Grade
20 questions
Tematik kelas 2 tema 4
Quiz
•
2nd Grade
19 questions
1443H ISTIBSAR PRACTICE QUESTIONNAIRE
Quiz
•
KG - 12th Grade
19 questions
QUIZ #1: Introduction to Computer System
Quiz
•
1st Grade
25 questions
UJIAN AKHIR PDWK PAI SD BONTANG 2023
Quiz
•
1st Grade
20 questions
Jenjang Karir Pada Industri Kuliner
Quiz
•
1st Grade
20 questions
TRIAL SOAL MSDM
Quiz
•
1st Grade
20 questions
TEORIA DE CONDUCCION CAPITULO II
Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
