Python - Conditionals

Python - Conditionals

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Python Basics

Python Basics

7th - 9th Grade

10 Qs

year 8 lesson 2 quiz - python

year 8 lesson 2 quiz - python

8th - 10th Grade

14 Qs

Encoding Schemes and Number System

Encoding Schemes and Number System

10th - 11th Grade

10 Qs

Java Script

Java Script

10th - 12th Grade

10 Qs

AP CSP Review

AP CSP Review

9th - 12th Grade

10 Qs

Python Basics Quiz

Python Basics Quiz

9th - 12th Grade

10 Qs

Code.org APCSA Unit

Code.org APCSA Unit

10th - 12th Grade

10 Qs

Python - Conditionals

Python - Conditionals

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Karen Koelm

Used 58+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which code means not equal to?

==

<=

>

!=

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a Relational Operator?

<=

==

=

!=

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is NOT a Boolean Statement?

name == "duck"

8 <= 12

num = int(Input("Pick a number.")

total > 0

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which booleans have a value of True?

12 - 3 == 9

30 <= 25

17 != 11 + 6

15 / 5 == 3.0

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are valid values for a boolean?

Select ALL that apply.

True

false

0

False

1

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the final value for total?

6

4

7

9

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Which lines of code will be skipped when the program is run?

4, 7, 8

4

3, 4, 7, 8

7, 8

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?