Quiz 07 - If Statements

Quiz
•
Computers
•
11th Grade
•
Medium
Casey Devet
Used 14+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which of the following is a valid boolean value in Java?
True
FALSE
true
false
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which Java type can be used to store a true or false value?
boolean
bool
Boolean
Bool
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which comparison will NOT evaluate to true?
5 < 18
5 != 18
5 >= 18
5 <= 18
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which comparison operator will return true only if the values on its left and right do NOT have the same value.
==
!
!=
<=
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which operator will evaluate to true if either value to the left or right is true?
&&
||
==
!
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
In the expression below, which operation will be evaluated first?
7 * 5 + (2 - 35 % 5)
*
+
-
%
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Which keyword is used to create a set of instructions to be executed if the "if" condition above it is false?
otherwise
if
else
elif
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
2.1.2 CSE Coding Fundamentals: Dead Reckoning

Quiz
•
9th - 12th Grade
15 questions
Variables Constants Datatypes

Quiz
•
8th - 12th Grade
10 questions
Pseudocode - OCR ERL

Quiz
•
9th - 12th Grade
14 questions
Python L1

Quiz
•
8th Grade - University
15 questions
Boolean Logic Assessment

Quiz
•
11th Grade
10 questions
Python Selection Statements

Quiz
•
11th Grade
8 questions
Sains Komputer Tingkatan 4 - 1.3.2 Memilih dan menggunakan..

Quiz
•
10th - 12th Grade
11 questions
Crash Course Computer Science #3 - Boolean Logic & Logic Gates

Quiz
•
9th - 12th 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 Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade