Which of the following statements are correct?
Python_Exam

Quiz
•
Computers
•
6th - 10th Grade
•
Medium
Yiwen Mok
Used 13+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
15 mins • 5 pts
The variable names cannot start with a digit.
Variables names in Python are case-sensitive.
Variable names cannot start with the underscore _.
Variable names can be reserved keywords.
2.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
What is the data type of print(type(10))
string
int
integer
float
3.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
var1 = 1
var2 = 2
var3 = "3"
print(var1 + var2 + var3)
6
33
123
Error. Mixing operators between numbers and strings are not supported
4.
MATCH QUESTION
15 mins • 5 pts
To display the number of data in the list
print(len(name))
To display the order of data in the list
print(name[index])
To display the data type
print(type(name))
5.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
What is the output of the following code?
listOne = [20, 40, 60, 80]
listTwo = [20, 40, 60, 80]
print(listOne == listTwo)
print(listOne > listTwo)
True
True
True
False
False
True
False
False
6.
OPEN ENDED QUESTION
15 mins • 10 pts
Create a star shape using the turtle package in Python.
Evaluate responses using AI:
OFF
7.
MULTIPLE CHOICE QUESTION
15 mins • 5 pts
What is the output of the following code?
str = "python"
print (str[1:3])
tho
py
pyt
yth
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python Dasar

Quiz
•
10th Grade
12 questions
Year 7 Python

Quiz
•
7th Grade
20 questions
Exploring Python Basics Quiz

Quiz
•
7th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Basic Python Quiz for Beginners

Quiz
•
3rd - 6th Grade
15 questions
Python Lists

Quiz
•
10th - 12th Grade
18 questions
Foundations of Programming

Quiz
•
9th - 10th Grade
10 questions
L1 Console, Variables and Creating a Program

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade