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
 What will be the output for the following code:
t = (22,45,67,89) print(t.pop())
 Which of the following is valid statement for tuple t = (23,34,45,56,67,78)?
 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))
 What will be the output of following code:
t = (11,13,44,21,8) t1=t*2 print(max(t1))
 Which of the following python function cannot be used with tuple?
 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))?
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:
- 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.