CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

CSS GRADE 9 - QUIZ PECs and EM

CSS GRADE 9 - QUIZ PECs and EM

9th Grade

20 Qs

EmTech Q2 Post Test 2

EmTech Q2 Post Test 2

11th Grade

15 Qs

Grade 10 TLE ICT Final Unit Test 1

Grade 10 TLE ICT Final Unit Test 1

10th Grade

20 Qs

Y9 Creative iMedia RO81 Quiz Part 1

Y9 Creative iMedia RO81 Quiz Part 1

9th Grade

21 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

CS Python Fundamentals Unit 3 Review

CS Python Fundamentals Unit 3 Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Scott Chamberlain

Used 27+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement in Python is used to test for multiple conditions of a boolean statement?

else if

elif

elseIf

elsif

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the problem with the following block of code?

== should be =

missing endif after the last print

missing : after else

choice should be "choice"

3.

MULTIPLE SELECT QUESTION

45 sec • 3 pts

Select ALL of the following statements that are TRUE about ALL algorithms:

Algorithms only apply to number calculations

Algorithm instructions must be in a specific order

Algorithms must be written in full sentences

Algorithms should run in a finite amount of time

Algorithms must produce a desired result

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which conditional statement requires all parts to be true in order to become true?

and

or

not

else

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

For what value of x would the following block of code print "Great"?

1

10

9

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the code to test if the number in the variable num1 is less than or equal to 10.

if (num1 < 10):

if (num1 <= 10):

if (num1 >= 10):

if ("num1" <= 10):

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Write the code to test if the number 99 is stored in the variable var1:

if ( var1 == "99"):

if (str(var1) == 99):

if (“var1” == 99):

if (var1 == 99):

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?