Quiz 07 - If Statements
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Casey Devet
Used 14+ times
FREE Resource
Enhance your content in a minute
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
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
14 questions
Bài 29. Nhận biết lỗi chương trình
Quiz
•
9th - 12th Grade
10 questions
BTEC DIT C3 LAA - Maintenance, Set up, Performance
Quiz
•
10th - 11th Grade
9 questions
Test Excel
Quiz
•
10th - 12th Grade
12 questions
Spreadsheet
Quiz
•
5th - 11th Grade
15 questions
Информатика
Quiz
•
9th - 11th Grade
12 questions
RO81 LO1 Mind maps and visualisations
Quiz
•
9th - 11th Grade
14 questions
K10 - WHILE
Quiz
•
11th Grade
10 questions
USING HAND TOOLS
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
