M3 Part 5 NamePhone Number 1 / 50 [1,2,3] + [4,5] का output क्या होगा? [1,2,3,4,5] Error [1, 2, 3, 4, 5] [1,2,3][4,5] 2 / 50 Python में sequence data types का मतलब क्या है? केवल numbers Ordered collection of elements केवल strings केवल dictionary 3 / 50 "Python"[2:5] का output क्या है? tho yth thor hon 4 / 50 "Python"[::-1] का output क्या है? Python nohtyP Pytho Error 5 / 50 "Python"[0] का output क्या है? )P 'P' y Error 6 / 50 List comprehension किसके लिए use होता है? Sorting Searching Short way of creating lists Formatting 7 / 50 “Python” * 2 का output क्या है? Error None PythonlPython PythonPython 8 / 50 min((4, 8, 2)) का result क्या होगा? 8 None 2 4 9 / 50 max([4, 8, 2]) का result क्या होगा? 4 2 8 None 10 / 50 len([10, 20, 30]) का result क्या होगा? 2 4 3 None 11 / 50 Tuple में एक ही element लिखने के लिए क्या जरूरी है? केवल value लिखना Value के बाद comma ( , ) लगाना केवल () None 12 / 50 Tuple unpacking का मतलब क्या है? List में बदलना Tuple values को variables में assign करना None Tuple delete करना 13 / 50 “Python”[-1] का output क्या है? P y o n 14 / 50 String slicing “Hello”[1:4] का output क्या होगा? Hel ell llo He 15 / 50 List की पूरी values clear करने के लिए कौन-सा method use होता है? remove() del() clear() pop() 16 / 50 List से index के अनुसार element delete करने का तरीका कौन-सा है? list.delete(index) del list[index] list.remove(index) clear() 17 / 50 List से item remove करने के लिए कौन-सा method सही है? delete() discard() remove() clear() 18 / 50 List से multiple elements जोड़ने के लिए कौन-सा method use होता है? add() extend() append() insert() 19 / 50 List में एक particular index पर item insert करने के लिए कौन-सा method use होता है? add() append() insert() extend() 20 / 50 List में item जोड़ने के लिए कौन-सा method use होता है? insert() append() add() push() 21 / 50 Last element access करने के लिए कौन-सा index use किया जा सकता है? 0 -1 1 None 22 / 50 List में index number किससे start होता है? 1 0 2 -1 23 / 50 String mutable होती है या immutable? Mutable None Immutable Both 24 / 50 Tuple mutable है या immutable? Mutable Immutable Both None 25 / 50 List mutable होती है या immutable? Immutable Mutable Both None 26 / 50 String किससे define होती है? [] {} () Quotes (“ ” or ‘ ’) 27 / 50 Tuple किससे define होता है? {} [] “” () 28 / 50 List किससे define होती है? () {} [] “” 29 / 50 Python में कौन-कौन से sequence data types आते हैं? list, tuple, string range bytes, bytearray सभी 30 / 50 ",".join(["a","b","c"]) का output क्या है? abc a,b,c a b c Error 31 / 50 "123".isdigit() का output क्या है? False True Error None 32 / 50 "cat".isalpha() का output क्या है? False None Error True 33 / 50 [1,2,3]*2 का output क्या होगा? [1,2,3] Error [1,2,3,1,2,3] [1,2,3,1,2,3] 34 / 50 "apple".index("p") का output क्या है? 2 Error 3 1 35 / 50 "banana".count("a") का output क्या है? 2 6 3 5 36 / 50 "hello"[0:10] का output क्या होगा? Error hello None he 37 / 50 tuple([1,2,3]) का output क्या होगा? [1,2,3] None (1,2,3) Error 38 / 50 list("abc") का output क्या होगा? abc Error None ['a','b','c'] 39 / 50 "python".replace("py","ja") का output क्या है? python Error japyhon jathon 40 / 50 "python".find("t") का output क्या है? 3 4 2 -1 41 / 50 " python ".strip() का output क्या होगा? " python " Error "python" " python " 42 / 50 "hello".capitalize() का output क्या है? Hello None HELLO Hello 43 / 50 "hello world".title() का output क्या है? hello world Hello World HELLO WORLD None 44 / 50 "Python".lower() का output क्या है? PYTHON PyThOn None python 45 / 50 "Python".upper() का output क्या है? python None PYTHON PyThOn 46 / 50 [10,20,30].pop() का output क्या है? 10 20 30 Error 47 / 50 "z" not in "cat" का result क्या है? Error None True False 48 / 50 "a" in "cat" का result क्या है? False None Error True 49 / 50 "apple" in ["apple","banana"] का result क्या है? False Error None True 50 / 50 "A"*5 का output क्या है? AAAAA 'AAAAA' Error None Your score isThe average score is 84% 0% Restart quiz