
Python Quiz for Grade 10 Students
Authored by Kamona Karim
Computers
10th Grade
10 Questions

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Create a list named 'numbers' with the elements 1, 2, 3, 4, 5. Then, add the number 6 to the end of the list.
numbers.extend(6)
numbers.append(6)
numbers.remove(6)
numbers.insert(6)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. Given the list 'fruits' = ['apple', 'banana', 'cherry'], remove the 'banana' from the list.
fruits.exclude('banana')
fruits.pop('banana')
fruits.delete('banana')
fruits.remove('banana')
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Write a Python program to generate a list of numbers from 1 to 10 using the range() function.
list(range(1, 10, 2))
list(range(10))
range(1, 10)
list(range(1, 11))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Use the range() function to create a list of even numbers from 2 to 10.
[2, 4, 6, 8]
[1, 3, 5, 7, 9]
[2, 4, 6, 8, 10]
[2, 3, 4, 5, 6, 7, 8, 9, 10]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Iterate through the list 'colors' = ['red', 'green', 'blue'] using a for loop and print each color.
for color in range(colors): print(color)
for i in range(colors): print(colors[i])
print(colors)
for color in colors: print(color)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Write a program to find the sum of all the elements in the list 'numbers' = [10, 20, 30, 40, 50] using a for loop.
60
250
100
150
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Define a procedure named 'greet' that takes a name as a parameter and prints 'Hello,
def greet(name): print('Hello, ' + name + '!')
def hello(name): print('Hey, ' + name + '!')
def say_hello(name): print('Hi, ' + name + '!')
def welcome(name): print('Welcome, ' + name + '!')
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
9 questions
Q1 M 5 LESSON 1 ACTIVITY 2
Quiz
•
10th Grade
15 questions
Program Implementation
Quiz
•
10th - 12th Grade
13 questions
AP CSP - Data Collection Vocab
Quiz
•
10th - 12th Grade
14 questions
1.1 Data and information
Quiz
•
10th - 12th Grade
15 questions
APCSP Semester 1 Review
Quiz
•
10th Grade
10 questions
Fundamentals of Algorithms
Quiz
•
10th Grade
15 questions
Conditionals Unit Quiz
Quiz
•
9th Grade - University
12 questions
ICT Terms
Quiz
•
7th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade