Year 11 T1 PG1 Python

Quiz
•
Computers
•
11th Grade
•
Medium
Dotun Onasanya
Used 1+ times
FREE Resource
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which of the following is a valid Python variable name?
2var
var_2
var@2
var-2
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
How do you define a function in Python?
function name():
def function_name():
define function_name():
func function_name():
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
What is the purpose of a function?
To store data
To perform a specific task
To create variables
To manage files
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which data structure is used to store multiple items in Python?
Variable
Function
List
Loop
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which symbol is used to access an element in a list?
.
()
[]
{}
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
How do you create a dictionary in Python?
my_dict = {}
my_dict = []
my_dict = ()
my_dict = ''
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
Which function is used to open a file in Python?
open_file()
file_open()
open()
read_file()
Create a free account and access millions of resources
Similar Resources on Wayground
44 questions
Internet Protocol Quiz

Quiz
•
10th Grade - University
35 questions
PPL XI RPL

Quiz
•
11th Grade
45 questions
9618 AS Comp Sci Full Revision Set 1

Quiz
•
9th - 12th Grade
40 questions
1.2c - Binary, Characters, Images, Compression (Revision Quiz)

Quiz
•
7th - 11th Grade
40 questions
Files and folders

Quiz
•
4th Grade - University
40 questions
Quiz Informatika Kelas XI

Quiz
•
11th Grade - University
40 questions
quiz informatika

Quiz
•
8th Grade - University
35 questions
ICT QUIZBEE

Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade