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
11 questions
45. Programming 1 : Data Types and Casting

Quiz
•
9th - 12th Grade
15 questions
Progamming - Java Syntax

Quiz
•
11th - 12th Grade
10 questions
Code.org Discoveries

Quiz
•
9th - 11th Grade
14 questions
Python Programming Quiz

Quiz
•
9th - 12th Grade
10 questions
Python Booleans

Quiz
•
11th Grade
12 questions
N5 SDD - Python input and output

Quiz
•
7th - 11th Grade
10 questions
Variables and Data Types

Quiz
•
10th - 12th Grade
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
20 questions
Scalars, Vectors & Graphs

Quiz
•
11th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
10 questions
Solving Equations Opener

Quiz
•
11th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade