Python Basics - A level

Quiz
•
Computers
•
10th - 12th Grade
•
Medium
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
Similar Resources on Wayground
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
13 questions
Python Functions

Quiz
•
9th - 12th Grade
11 questions
Python Code Quiz

Quiz
•
8th - 12th Grade
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
15 questions
PYTHON PROGRAMMING

Quiz
•
11th - 12th Grade
15 questions
Python Revision Tour - I

Quiz
•
12th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
12 questions
Python Print Statement

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade