Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

8th - 10th Grade

20 Qs

quiz-placeholder

Similar activities

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

AQA GCSE Computer Science Paper 1

AQA GCSE Computer Science Paper 1

9th - 11th Grade

20 Qs

iGCSE Computer Science: Problem Solving

iGCSE Computer Science: Problem Solving

9th - 12th Grade

20 Qs

Code.org Unit 10 CSP

Code.org Unit 10 CSP

9th - 12th Grade

15 Qs

APCSP Code.org Unit 10

APCSP Code.org Unit 10

9th - 12th Grade

15 Qs

AP CSP Exam Review: Big Idea 3

AP CSP Exam Review: Big Idea 3

8th - 10th Grade

15 Qs

Python list

Python list

8th Grade

20 Qs

QUIS LIST

QUIS LIST

1st - 12th Grade

15 Qs

Python Next Steps Homework Quiz

Python Next Steps Homework Quiz

Assessment

Quiz

Computers

8th - 10th Grade

Hard

Created by

Tracy Mayhead

Used 118+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Lines 1-3 show a partial program which creates a list of days of the week and assigns it to days.


If lines 4 & 5 were added to the program, what would the program output be?

item

Wednesday

Thursday

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to multiply numbers?

*

x

#

%

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Lines 1-3 show a partial program which creates a list of days of the week and assigns it to days.


If lines 4-6 were added to the program, what would the program output be?

Tuesday

1 Monday

1 Wednesday

Wednesday

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to compare two values?

=

==

<>

><

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What word would fill the gap in this code so that the items in the list days are displayed on the screen.

week

index

days

day

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you start writing a for loop in Python?

for each x in y:

for x > y:

for x in y:

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

If the user types 1 on the keyboard, what will be the output of this program when it is executed?

The second letter is e

It's a rocky planet

a e

The second letter is a

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?