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
Which of the following statements are correct?
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 data type
print(type(name))
To display the order of data in the list
print(len(name))
To display the number of data in the list
print(name[index])
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 Wayground
20 questions
Basic Python Quiz for Beginners

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

Quiz
•
9th Grade
10 questions
Python Variables

Quiz
•
7th - 12th Grade
20 questions
Python-қарапайым тапсырмалар

Quiz
•
6th - 8th Grade
20 questions
Exploring Python Basics Quiz

Quiz
•
7th Grade
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
18 questions
8.3_PythonProgramming revision

Quiz
•
8th Grade
10 questions
Python

Quiz
•
5th - 10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade