If Statements

If Statements

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

الدالة الاسية

الدالة الاسية

9th Grade

13 Qs

HTML Tags (Basic) Quiz

HTML Tags (Basic) Quiz

11th - 12th Grade

11 Qs

Python Operators

Python Operators

12th Grade

12 Qs

Quiz 13 - For Loops

Quiz 13 - For Loops

11th Grade

10 Qs

python if

python if

10th Grade

12 Qs

Y9 lower for Scratch SOW

Y9 lower for Scratch SOW

8th - 9th Grade

10 Qs

HTML Basics

HTML Basics

7th - 10th Grade

10 Qs

HTML Quiz #1 Review - CodeHS (Sec 1-5)

HTML Quiz #1 Review - CodeHS (Sec 1-5)

6th - 9th Grade

10 Qs

If Statements

If Statements

Assessment

Quiz

Computers, Education

9th - 12th Grade

Easy

Created by

Carlos Boyano

Used 2+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

True

False

condition1

condition2

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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