Python_Exam
Quiz
•
Computers
•
6th - 10th Grade
•
Practice Problem
•
Medium
Yiwen Mok
Used 13+ times
FREE Resource
Enhance your content in a minute
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 order of data in the list
print(name[index])
To display the data type
print(len(name))
To display the number of data in the list
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
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
10 questions
Aeromodelling
Quiz
•
5th - 6th Grade
17 questions
Mobile app development principles
Quiz
•
10th Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4
Quiz
•
1st - 8th Grade
15 questions
Polski Youtube 2019/2020
Quiz
•
1st - 8th Grade
14 questions
Intro to Robotics
Quiz
•
9th Grade
17 questions
Security and Ethics
Quiz
•
9th - 12th Grade
20 questions
REMIDI INFORMATIKA
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
