Python - Working With Tuple
Questions No: 1/28

Which of the following methods can be used with a tuple?
निम्नलिखित में से किस मेथड का यूज़ टपल के साथ किया जा सकता है?

Questions No: 2/28

What will be the output of the following code?

a=((0,2,3,4)[1:-2])
print(a)

Questions No: 3/28

What is the output of the following code ?

ms = ('A','D', 'H','U','N','I','C')
print(ms[1:4])

Questions No: 4/28

A sequence of immutable objects is called
अपरिवर्तनीय वस्तुओं का क्रम कहलाता है

Questions No: 5/28

What will be the output of the following Python code?

a=[(2,4),(1,2),(3,9)]
a.sort()
print(a)

Questions No: 6/28

Which of the following is a valid way to create an empty tuple?
निम्नलिखित में से कौन सा एक एम्प्टी टपल क्रिएट करने का वैध तरीका है?

Questions No: 7/28

What type of data is: a=[(1,1),(2,4),(3,9)]?
किस प्रकार का डेटा है: a = [(1,1), (2,4), (3,9)]?

Questions No: 8/28

What is the output of the following?

print(max([1, 2, 3, 4.] [4, 5, 6], [7]))

Questions No: 9/28

What type of data is : arr=[(1,1),(2,2),(3,3)]?
किस प्रकार का डेटा है: arr=[(1,1),(2,2),(3,3)]?

Questions No: 10/28

Which of the following statements given below is/are true?
नीचे दिए गए कथनों में से कौन सा/से सत्य है/हैं?

Questions No: 11/28

Which of the following operations is NOT allowed on a tuple?
टपल पर निम्नलिखित में से किस ऑपरेशन की अनुमति नहीं है?

Questions No: 12/28

What is a Python dictionary?
पायथन डिक्शनरी क्या है?

Questions No: 13/28

Which of the following Statement will create a Tuple:
निम्नलिखित में से कौन सा स्टेट्मेंट एक टपल क्रिएट करेगा:

Questions No: 14/28

Which of the following is a Python tuple?
निम्नलिखित में से कौन एक Python tuple है?

Questions No: 15/28

Suppose t = (1, 2, 4, 3), which of the following is incorrect?
मान लीजिए t = (1, 2, 4, 3), निम्न में से कौन गलत है?

Questions No: 16/28

What is the correct way to create a tuple with a single element?
किसी सिंगल एलिमेंट से टपल क्रिएट करने का सही तरीका क्या है?

Questions No: 17/28

How can you find the number of occurrences of an element in a tuple?
आप टपल में किसी एलिमेंट की अक्युरेन्सेस के नंबर को कैसे फाइंड कर सकते हैं?

Questions No: 18/28

Which one of the following is inmmutable data type?

Questions No: 19/28

What will be the output of the following?

print(sum(1,2,3))

Questions No: 20/28

List is mutable and Tuple is immutable?
लिस्ट परिवर्तनशील है और टपल अपरिवर्तनीय है?

Questions No: 21/28

What will be the output of the following Python code?

tuple1=(5,1,7,6,2)
tuple1.pop(2)
print(tuple1)

Questions No: 22/28

What will tuple('abc') return?
tuple('abc') क्या रिटर्न करेगा ?

Questions No: 23/28

Which one of the following is immutable data type ?
निम्नलिखित में से कौन सा इम्म्यूटेबल डेटा टाइप है?

Questions No: 24/28

Choose the correct option with respect to Python..
पायथन के संबंध में सही विकल्प चुनें।

Questions No: 25/28

Which of the following methods is not a string method in Python?
निम्नलिखित में से कौन सा मेथड पायथन में एक स्ट्रिंग मेथड नहीं है?

Questions No: 26/28

What is the data type of (1)?
(1) का डेटा प्रकार क्या है?

Questions No: 27/28

What is the output of the following statement ?

print ((2, 4) + (1, 5))

Questions No: 28/28

If a=(1,2,3,4), a[1:-1] is _________
यदि a = (1,2,3,4), एक [1: -1] _________ है