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
38 questions
Chủ đề 1: CĂN BẢN VỀ CÔNG NGHỆ (GS6 Spark LV2_2024)
Quiz
•
1st Grade - University
35 questions
OCR 275 Fundamentals of Computer Systems
Quiz
•
10th - 11th Grade
43 questions
игры
Quiz
•
1st - 11th Grade
40 questions
Test Review
Quiz
•
11th - 12th Grade
44 questions
MICROSOFT OFFICE ICON
Quiz
•
KG - 12th Grade
40 questions
ASJ TKJ Debian 8.0
Quiz
•
11th Grade
40 questions
Файлдармен жұмыс
Quiz
•
11th Grade
43 questions
Parts of DSLR Camera
Quiz
•
10th - 12th 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
