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!

## 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

[1] 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)

[2] 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)

[3] 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**

[4] 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

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

**a. append()**

b. max()

c. min()

d. len()

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

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

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

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

[10] The index() function returns the index of specified element. (**True**/False)

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

[12] 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

Follow this link for answers.

- What do you mean by tuple? Explain with example.
- Explain the use of the following methods with a tuple with a suitable example:
- len()
- max()
- min()
- sum()
- sorted()

- How to find an index of a tuple?
- How to find the means of values stored in a tuple? Explain with example.
- How to perform a linear search in tuples?
- 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.

Follow the below given link to read all the content of class XI.