Search Header Logo

Python Lists and Basics Recap

Authored by Jason Pitt

Computers

6th - 8th Grade

31 Questions

Used 3+ times

Python Lists and Basics Recap
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What symbol do you use to make a comment in Python?

@
¬
;
#

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What syntax can you use to insert a line break between strings so that they appear over multiple lines?

/
\n
\l
n

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Look at this code, how many times will it loop?

50
90
0
4

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is wrong with this code?

Missing Brackets
Missing Comma
Missing Colon
Incorrect spelling 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, a subroutine, function or procedure is created by using which key word?

sub
fun
def
pro

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When creating a def in Python, what is the correct order for the elements?

def ( ) subroutine :
def subroutine : ( )
def subroutine ( ) :
def : ( ) subroutine

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To stop the turtle drawing you need to use which of the following commands?

penup:
pen_up( )
penup( )
penup( ):

Access all questions and much more by creating a free account

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?

Discover more resources for Computers