What is the correct output?
Java - Quiz 3

Quiz
•
Professional Development
•
1st - 3rd Grade
•
Hard

Steph Cuevas
Used 21+ times
FREE Resource
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
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
Similar Resources on Quizizz
20 questions
Conociminento de Base de datos II

Quiz
•
1st - 3rd Grade
20 questions
SCRUM MASTER TEST

Quiz
•
1st - 4th Grade
20 questions
CHAPTER 7-8 (LONG QUIZ) CN:5141

Quiz
•
1st - 2nd Grade
20 questions
c jogos digitais

Quiz
•
3rd Grade
20 questions
Mieux choisir les composants d'un ordinateur

Quiz
•
1st Grade
20 questions
EXAM VERIFIKASI SET 1

Quiz
•
1st Grade
20 questions
Kuis Perkembangan Teknologi Pangan Kelas 3 MI

Quiz
•
3rd - 11th Grade
20 questions
Kiểm tra Công Nghệ

Quiz
•
1st - 3rd Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Professional Development
5 questions
Basement Basketball

Quiz
•
3rd Grade
20 questions
Parts of Speech

Quiz
•
3rd - 6th Grade
20 questions
Fun Trivia

Quiz
•
2nd - 4th Grade
16 questions
Animals

Quiz
•
2nd Grade
20 questions
Context Clues

Quiz
•
3rd Grade
20 questions
Kids Movie Trivia

Quiz
•
3rd Grade
20 questions
Synonyms and Antonyms

Quiz
•
2nd Grade
13 questions
Multiplication Facts Practice

Quiz
•
3rd Grade