
Tuples

Quiz
•
Computers
•
4th Grade - Professional Development
•
Medium
Preethi Rajasekaran
Used 38+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Choose the correct about Tuples
Collection of items which are ordered
tuples cannot be changed
tuples uses square brackets
values of tuples can be accessed by indexing
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Choose the correct syntax of Tuple
tuple=[200,50]
tuple=(200,50)
tuple={200,50}
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How to get the index of any value of tuple
tuple.index(value)
tuple.index[value]
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
tuple1=(5,25,15,10,30)
print(max(tuple1))
What is printed in console?
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
tuple2=('p','s','r','d','b')
print(max(tuple2))
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
tuple1=(5,25,15,10,30, 'abc', 'pqr',2010)
print(max(tuple1))
Type error: max and min are not supported between instances of integer and string
2010, pqr
2010
pqr
7.
MULTIPLE SELECT QUESTION
1 min • 1 pt
True about max and min of tuples
can be applied with tuples having only integers or only alphabets
cannot be applied with tuples having only integers or only alphabets
cannot be applied to the mixed datatypes values in a tuple
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
computer science

Quiz
•
11th Grade
15 questions
Python Basics

Quiz
•
University
10 questions
Python lists and tuples

Quiz
•
12th Grade
10 questions
Computer Science class 11

Quiz
•
11th Grade
10 questions
Python Abstraction

Quiz
•
12th Grade
10 questions
Python list and tuple

Quiz
•
6th - 8th Grade
15 questions
Python Tuples Quiz

Quiz
•
University
10 questions
Understanding Python Tuples Quiz

Quiz
•
9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade