What is the output?

If Statements

Quiz
•
Computers, Education
•
9th - 12th Grade
•
Easy
Carlos Boyano
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True
False
condition1
condition2
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Given the nested if-else below, what will be the value x when the code is executed successfully.
0
4
2
3
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This operator checks to see if one value is the same as the other value
==
!=
>
<
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
Bigger than 2!
Number is 5
Bigger than 2!
Number is 5
Nothing
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be outputted here?
it divides by 7!
it divides by 3!
It divides by 7.
It divides by 3.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be outputted?
number is bigger than 10
nothing
an error
NUMBER IS BIGGER THAN 10
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
3
3
7
3
5
7
7
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which condition is a logic error (will not run properly)?
x>=1 AND x<=100
1<=x<=100
1>x>100
x<1 OR x>100
Similar Resources on Quizizz
13 questions
HTML тегтері

Quiz
•
1st Grade - University
11 questions
Yr 8 IF starter

Quiz
•
7th Grade - University
11 questions
HTML Tags (Basic) Quiz

Quiz
•
11th - 12th Grade
12 questions
Python Operators

Quiz
•
12th Grade
10 questions
Advanced Java Study Guide

Quiz
•
11th - 12th Grade
13 questions
Python Operators & Expressions

Quiz
•
8th - 11th Grade
10 questions
HTML Tags

Quiz
•
9th Grade
10 questions
HTML introduction

Quiz
•
8th - 9th 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
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

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

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University