Tuples

Tuples

4th Grade - Professional Development

12 Qs

quiz-placeholder

Similar activities

Basic of Programming - Quiz 02

Basic of Programming - Quiz 02

University - Professional Development

15 Qs

Bootcamp

Bootcamp

7th - 12th Grade

16 Qs

Python Tuple-02

Python Tuple-02

11th Grade

10 Qs

Python Tuples Review

Python Tuples Review

11th Grade

15 Qs

Data Science Basics

Data Science Basics

University

10 Qs

12cs cha9

12cs cha9

12th Grade

12 Qs

Mastering Python Fundamentals

Mastering Python Fundamentals

University

10 Qs

Tuples

Tuples

Assessment

Quiz

Computers

4th Grade - Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?