Python Basics - A level

Python Basics - A level

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Python List Operations

Python List Operations

10th Grade

13 Qs

Advanced Python Iteration Quiz

Advanced Python Iteration Quiz

10th Grade

10 Qs

Python lists & file operations

Python lists & file operations

10th Grade

10 Qs

List Basics

List Basics

9th - 12th Grade

10 Qs

Python Level 2- Lesson 2

Python Level 2- Lesson 2

10th Grade

10 Qs

Python Arrays

Python Arrays

9th - 12th Grade

13 Qs

Python Lists v2

Python Lists v2

9th - 12th Grade

15 Qs

HTML Basics

HTML Basics

8th - 10th Grade

10 Qs

Python Basics - A level

Python Basics - A level

Assessment

Quiz

Computers

10th - 12th Grade

Medium

Created by

A Brereton

Used 23+ times

FREE Resource

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Python is a ____ level language

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

To get the first piece of data out of a list, finish this piece of code:

list[_]

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

To get the last piece of data out of a list, finish this piece of code:

list[_]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

I have created a list called 'shopping'. I would like to add "milk" to the end of the list - what is the correct syntax?

shopping.append("milk")

shopping.append[milk]

shopping += "milk"

shopping += [milk]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default data type of input()?

string

int

depends what is entered

list

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Can you explain what:

try:

num = int(input("Enter: "))

except:

print("Enter a number")

Does?

Evaluate responses using AI:

OFF

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

I would like to create a for loop which iterates from 1 to 15 - how do I finish this line of code:


for i in range(_________)

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?