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
10 questions
Web Design: Basics of HTML and CSS

Quiz
•
9th - 12th Grade
9 questions
HTML Tags

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

Quiz
•
12th Grade
15 questions
AS Computing: Data Structures

Quiz
•
10th Grade - University
10 questions
Python lists and tuples

Quiz
•
12th Grade
14 questions
9.1.2 - Starter Quiz

Quiz
•
7th - 11th Grade
10 questions
Jak zadbać o swój wizerunek w sieci

Quiz
•
5th - 12th Grade
12 questions
Latihan US TLJ

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade