
Tuples in Python
Authored by ALAA NUMAN
Computers
9th Grade
Used 24+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lists and Tuples are the same
True
False
2.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
Which of the following sentences are correct?(select 2 options)
tuples can be modified at any time.
tuples used to save multi values.
tuples used to save single values.
tuples can not be modified at any time.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a= "ICT", "HARDWARE","SOFTWARE", "NETWORK"
which of the following blocks will be used to print "SOFTWARE"
print(a[0])
print(a[1])
print(a[2])
print(a[3])
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a list and a tuple?
A list is mutable, while a tuple is immutable
A list can contain different data types, while a tuple can only contain one data type
A list is ordered, while a tuple is unordered
There is no difference
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
my_tuple = (1, 2, 3, 4, 5)
print(my_tuple[1:4])
(2, 3, 4)
(1, 2, 3, 4)
(2, 3, 4, 5)
(1, 2, 3)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
my_tuple = (1, 2, 3, 4, 5)
print(my_tuple[-2])
1
2
3
4
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
my_list = [1, 2, 3, 4, 5]
print(my_list[-3])
3
2
4
5
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
10 questions
ICT SKILLS
Quiz
•
9th - 10th Grade
10 questions
BÀI 8. SẮP XẾP VÀ LỌC DỮ LIỆU
Quiz
•
1st - 12th Grade
12 questions
Back to the Future Homework 2
Quiz
•
9th Grade
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - University
10 questions
Tin học 9 Bài 7: Phần mềm trình chiếu
Quiz
•
9th Grade
10 questions
Python Alternating Turns
Quiz
•
7th - 12th Grade
10 questions
Lesson 01 Unit 1 Excel 2019/365 MOAC
Quiz
•
9th - 12th Grade
12 questions
Електронні таблиці Exel
Quiz
•
1st - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade