Booleans can have values of yes and no.
Java Quiz 4: Booleans and Conditional Statements

Quiz
•
Computers
•
6th - 12th Grade
•
Medium
Jerry Xiao
Used 88+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
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
Similar Resources on Quizizz
7 questions
Conditionals and Booleans

Quiz
•
6th - 12th Grade
10 questions
CSP I: Unit 4 – Lessons 5-8 (Conditionals)

Quiz
•
9th Grade
8 questions
1.1.3 CSE Conditionals and Event-driven Programming

Quiz
•
9th - 12th Grade
10 questions
Grade 11 - Python Conditions

Quiz
•
11th Grade
10 questions
if/else statements quiz

Quiz
•
9th Grade - University
9 questions
Conditional Statements

Quiz
•
8th Grade
10 questions
Python Selection Statements

Quiz
•
11th Grade
11 questions
If Else Check In

Quiz
•
11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade