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
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
Similar Resources on Wayground
20 questions
Składniki odżywcze - zasady żywienia

Quiz
•
2nd Grade
25 questions
Latihan MR1_#1

Quiz
•
1st Grade
20 questions
Drošs darbs lauksaimniecībā

Quiz
•
1st Grade
19 questions
PDL - Module A

Quiz
•
3rd Grade
20 questions
Part 3: How to Conduct Risk Assessment & Climate

Quiz
•
1st - 5th Grade
19 questions
Backend Trivia

Quiz
•
1st Grade
20 questions
Luyện từ và câu ( đề 2)

Quiz
•
1st - 5th Grade
20 questions
Négociation

Quiz
•
1st - 3rd Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Professional Development
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Unit 2 Review Game - Factors 0, 1, 2, 5, 9, 10

Quiz
•
3rd Grade
14 questions
3rd Grade Matter and Energy Review

Quiz
•
3rd Grade
14 questions
Place Value

Quiz
•
3rd Grade
5 questions
Remembering 9/11 Patriot Day

Lesson
•
3rd - 5th Grade
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
10 questions
Place Value

Quiz
•
3rd Grade