
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
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
Contact Center Sevices
Quiz
•
7th - 10th Grade
12 questions
OCR Internet Technologies
Quiz
•
10th - 11th Grade
10 questions
Office
Quiz
•
1st - 12th Grade
10 questions
emtech
Quiz
•
12th Grade
10 questions
Visual Basic 2010
Quiz
•
8th Grade - University
9 questions
IT related jobs
Quiz
•
9th Grade
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
10 questions
Introduction to Coding
Interactive video
•
3rd - 6th Grade