Year 11 T1 PG1 Python
Quiz
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Dotun Onasanya
Used 1+ times
FREE Resource
Enhance your content in a minute
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()
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
40 questions
Sistema Operativo
Quiz
•
8th Grade - University
44 questions
AP Computer Science Principles Units 1, 2 & 3
Quiz
•
10th - 12th Grade
35 questions
EmTech Q1 Reviewer
Quiz
•
11th Grade
41 questions
KUIS TENTANG JARINGAN
Quiz
•
9th - 12th Grade
40 questions
ÔN TẬP GK2
Quiz
•
11th Grade
40 questions
PSTS
Quiz
•
11th Grade
35 questions
ATS ASJ Ganjil 24-25 TJKT2
Quiz
•
11th Grade
39 questions
Media and Information Literacy Quiz
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
