Conditional Statements

Conditional Statements

9th Grade

15 Qs

quiz-placeholder

Similar activities

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

ÔN TẬP CUỐI KỲ II TIN 8

ÔN TẬP CUỐI KỲ II TIN 8

8th - 11th Grade

17 Qs

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

C# lesson10

C# lesson10

1st - 10th Grade

10 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

Image Editing - Quiz

Image Editing - Quiz

9th Grade

16 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Conditional Statements

Conditional Statements

Assessment

Quiz

Computers

9th Grade

Medium

Created by

Elise Laio

Used 99+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What part of an if statement should be indented?

All of it

The statements within it

the first line

the lines within the brackets

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An if statement must evaluate to:

Right or Wrong

True or False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This operator means that one value is the same as the other value

==

!=

>

<

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the code:

team = ("Cowboys")

if team == "Cowboys":

print("Dallas is #1")

Error

Cowboys

Team

Dallas is #1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What best defines an IF statement in python?

Is an embedded string with a variable
An IF statement checks to see if a statement is true or false and then does one of two things depending on the result.

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will happen when this program is run?

Syntax error

One will be displayed

Zero will be displayed

One then Zero will be displayed

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?