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
35 questions
Computer Essentials

Quiz
•
9th - 12th Grade
40 questions
SKT4 : Bab 2 : c) Medan, Rekod, Jadual & Kekunci

Quiz
•
10th - 12th Grade
35 questions
Quiz sulla Data Science e Machine Learning

Quiz
•
11th Grade
40 questions
MYOB Asyiik

Quiz
•
11th Grade
37 questions
Quiz Pemrograman dan Networking Python

Quiz
•
11th Grade
40 questions
PTS SMK X & XI 24-25

Quiz
•
11th Grade
40 questions
Quiz Informatika Kelas XI

Quiz
•
11th Grade - University
35 questions
ICT QUIZBEE

Quiz
•
11th 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