Important QnA tuple Operations for Class 11 written to provide help for learning and understanding some questions based on tuple operations for class 11 students. So here we begin!

Topics Covered

## Important QnA tuple Operations for Class 11

We have already covered topic tuple creation and traversal, QnA tuple creation and traversal. In this article, I brought some important QnA tuple operations for class 11. Here we start with objective types questions!

## Objective type questions

 What will be the output for the following code:

``````t = (22,45,67,89)
print(t.pop())``````

a. (22,45,67)

b. (22,45,89)

c. Error

d. (22,45,67,89)

 Which of the following is valid statement for tuple t = (23,34,45,56,67,78)?

a. print(t.len())

b. print(len(t))

c. print(t.length())

d. print(length(t)

 What will be the output of following code?

``````t1 = (22,45,67,89)
t2= (98,76)
t3= t1 + t2
t = t3 * 2
print(len(t))
``````

a. 4

b. 6

c. Error

d. 12

 What will be the output of following code:

``````t = (11,13,44,21,8)
t1=t*2
print(max(t1))``````

a. Error

b. 88

c. 44

d. 10

 Which of the following python function cannot be used with tuple?

a. append()

b. max()

c. min()

d. len()

 To return the sum of values of python tuple elements, _____________ function is used. (Ans. sum())

 To sort the tuple element values in descending order, _________ function is used. (Ans. sorted(t,reverse=True))

 When you sort the tuple elements using sorted() function, it will return _______ object as an output. (Ans. list)

 The tuple() function can be used to convert any object into tuple. (True/False)

 The index() function returns the index of specified element. (True/False)

 The count() function is used to count the length of values in tuple. (True/False)

 What is the length of t, if t=((1,2),(3,4),5,6,(7,8))?

a. 2

b. 4

c. 5

d. 8

Now in the next section of QnA tuple Operations for Class 11, we will see subjective type questions.

## Subjective type questions

1. What do you mean by tuple? Explain with example.
2. Explain the use of the following methods with a tuple with a suitable example:
1. len()
2. max()
3. min()
4. sum()
5. sorted()
3. How to find an index of a tuple?
4. How to find the means of values stored in a tuple? Explain with example.
5. How to perform a linear search in tuples?
6. How to count the frequency of tuple elements? Explain with example.

Thank you for reading this article QnA tuple Operations for Class 11. If you have any doubt you can ask through comment section.