Choose the correct about Tuples

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
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 Quizizz
13 questions
computer science

Quiz
•
11th Grade
15 questions
Python Basics

Quiz
•
University
10 questions
Python lists and tuples

Quiz
•
12th Grade
11 questions
Python Tuple Quiz

Quiz
•
6th 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
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade