Python Conditionals

Python Conditionals

9th - 11th Grade

17 Qs

quiz-placeholder

Similar activities

How the Internet Works

How the Internet Works

4th Grade - University

14 Qs

Unit 8 Practice Test For CSP

Unit 8 Practice Test For CSP

9th Grade

16 Qs

Cyber Security KS4

Cyber Security KS4

8th - 12th Grade

15 Qs

LA1.C1: Introduction to Small Basic

LA1.C1: Introduction to Small Basic

9th Grade

15 Qs

Latihan PSAS Kelas 9

Latihan PSAS Kelas 9

9th Grade - University

20 Qs

12AIT - All About W3C <3

12AIT - All About W3C <3

10th Grade - University

18 Qs

Google Docs Basics Quiz

Google Docs Basics Quiz

9th Grade

20 Qs

WJEC GCSE ICT Unit 1 E-Mail

WJEC GCSE ICT Unit 1 E-Mail

9th - 10th Grade

13 Qs

Python Conditionals

Python Conditionals

Assessment

Quiz

Computers

9th - 11th Grade

Medium

Created by

Anne Kohart

Used 226+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The second part of if, that is executed when the condition is false
if
else
for
input

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What will the lines of code print?
A
B C
A B C
A C

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What will the following lines of code print?
A
B C
A C
Nothing, it will return an error.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement will check to see if a is equal to b?
if a == b
if a = b:
if a != b:
if a == b:

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output?

more than 7

more than 23

spam

7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is syntax?

a catch-all for every other situation besides true.

pieces of code that direct the program to run in different ways depending on what else is happening.

a set of rules for how a language is written.

English, Chinese, or Spanish.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pieces of code that only run "under certain conditions":

conditional statements

control flow statments

syntax

variables

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?