Python Basics - A level

Python Basics - A level

10th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Java Basic Data Structures

Java Basic Data Structures

6th - 10th Grade

15 Qs

Python Lists

Python Lists

9th - 12th Grade

15 Qs

PYTHON PROGRAMMING

PYTHON PROGRAMMING

11th - 12th Grade

15 Qs

Python Functions

Python Functions

12th Grade

15 Qs

Python Revision Tour - I

Python Revision Tour - I

12th Grade

15 Qs

Python Iteration

Python Iteration

10th Grade

13 Qs

Python Print Statement

Python Print Statement

6th - 10th Grade

12 Qs

Python L1 Quiz 4: Lists

Python L1 Quiz 4: Lists

1st - 12th 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?