
Java Quiz 4: Booleans and Conditional Statements
Authored by Jerry Xiao
Computers
6th - 12th Grade
Used 90+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Booleans can have values of yes and no.
True
False
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
When using the && operator the statement will evaluate to true when:
One and ONLY one statement is true
Both statements are true
No statements are true
None of these
3.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
When using the || operator the statement will evaluate to true when:
One and ONLY one statement is true
One or both statements are true
Both statements are true
All of these
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
In Java an if statement is a conditional statement, meaning it sometimes does not run.
True
False
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
An else statement can run after its preceding if statement runs.
True
False
6.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Switch statements allow for multiple branches of execution.
True
False
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
! is as a NOT modifier.
True
False
Access all questions and much more by creating a free account
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
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
10 questions
Microcontroller
Quiz
•
11th Grade - University
10 questions
ZOOM QUIZ
Quiz
•
1st - 12th Grade
11 questions
Chapter 6 Part 2 - 4
Quiz
•
11th - 12th Grade
10 questions
Interactive Media
Quiz
•
10th - 11th Grade
10 questions
TIN 11 - PYTHON - PHÉP TOÁN - BIỂU THỨC - CÂU LỆNH GÁN
Quiz
•
11th Grade
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
TQ - Review Quiz Week 1
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade