Python Lists and Basics Recap

Python Lists and Basics Recap

6th - 8th Grade

31 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th - 10th Grade

30 Qs

7.3 - EOU Retrieval

7.3 - EOU Retrieval

8th Grade

34 Qs

Python Revision

Python Revision

7th - 11th Grade

35 Qs

List Tuple

List Tuple

8th Grade

33 Qs

Python_QUIZ_S2_EEBA

Python_QUIZ_S2_EEBA

7th Grade

30 Qs

Assessment Term 2.2 - Y9 U4 Python Search algorithms

Assessment Term 2.2 - Y9 U4 Python Search algorithms

7th - 12th Grade

30 Qs

5th SW ZLGA CS8

5th SW ZLGA CS8

8th Grade

35 Qs

Python Review

Python Review

8th - 12th Grade

35 Qs

Python Lists and Basics Recap

Python Lists and Basics Recap

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Jason Pitt

Used 3+ times

FREE Resource

31 questions

Show all answers

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( ):

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?