NIELIT O level - Programming and problem solving through python Mock Test

Exam Name
programming and problem solving through python
Student Name
Your Name
Remaining Time:
00:00:00
Question No: 1 Total Question : 100 Total Time : 90 Minutes
Report Bug


A. Machine language /     मशीन लैंग्वेज

B. Assembly language /     असेंब्ली लैंग्वेज

C. High-level language /     हाई-लेवल लैंग्वेज

D. None of these /     इनमें से कोई नही


Report Bug


A. 2

B. 33

C. 14

D. 25


Report Bug


A. %

B. /

C. //

D. ||


Report Bug


A. a_=3

B. _a=3

C. a?=3

D. All of these /     सभी


Report Bug


A. 0

B. 1

C. 2

D. 3


Report Bug


A. print s[0]

B. print s.lower()

C. s[1]='r'

D. print s.strip()


Report Bug


A. function_name()

B. call function_name()

C. ret function_name()

D. function function_name()


Report Bug


A. (‘ab’, ‘ef’)

B. (‘abef’)

C. (‘ab’, ‘cd’, ‘ef’)

D. 2


Report Bug


A. 2

B. 0

C. 1

D. error /     एरर


Report Bug


A. np.ndim(array_name)

B. array_name.ndim()

C. np.dim(array_name)

D. array_name.dim


Report Bug


A. Comments

B. Expressions

C. Tokens

D. Flow of control


Report Bug


A. else

B. raise

C. import

D. All of the mentioned /     इनमे से सभी


Report Bug


A. Looping

B. Selective

C. Sequence

D. None


Report Bug


A. {1: ‘A’, 2: ‘B’, 3: ‘C’}

B. Method update() doesn’t exist for dictionaries /     मैथड अपडेट () ड़िक्शनरी के लिए मौजूद नहीं है

C. {1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}

D. {4: ‘D’, 5: ‘E’}


Report Bug


A. write

B. writelineas /     writelines

C. dump

D. pickle


Report Bug


A. Arrow lines

B. Symbols

C. Annotation

D. Special symbols


Report Bug


A. a a a a a

B. a a a a a a

C. a a a a a a … infinite Time /     a a a a a a … infinite Time

D. a


Report Bug


A. {3, 4, 5},{3, 4, 5}, {3, 4, 5}

B. 3 4 5

C. syntax error

D. None of the above /     उपरोक्त में से कोई नहीं


Report Bug


A. space()

B. strip()

C. remove()

D. None of the above /     उपरोक्त में से कोई नहीं


Report Bug


A. String /     स्ट्रिंग

B. List /     लिस्ट

C. Tuple /     टपल

D. Dictionary /     डिक्शनरी


Report Bug


A. Tuples have structure; lists have an order

B. Tuples are homogeneous, lists are heterogeneous.

C. Tuples are immutable, lists are mutable.

D. All of them


Report Bug


A. swapcase /     स्वैपकेस

B. uppertolower() /     अप्परटूलोअर()

C. lowertoUpper() /     लोअरटूअप्पर()

D. None of these /     इनमें से कोई नहीं


Report Bug


A. []

B. [10, 8, 6]

C. [2, 5, 8]

D. [8, 5, 2]


Report Bug


A. Return the name of the user logged in to the terminal

B. Return the email of the user logged in to the terminal

C. Return the login time when user logged in to the terminal

D. None of the above


Report Bug


A. Variable names in Python cannot start with number. However, it can contain number in any other position of variable name. /     Python में वेरिएबल नेम नंबर से शुरू नहीं हो सकते हैं। हालाँकि, इसमें वेरिएबल नेम की किसी अन्य स्थिति में संख्या हो सकती है।

B. Variable names can start with an underscore. /     वेरिएबल नेम अंडरस्कोर से शुरू हो सकते हैं।

C. Data type of variable names should not be declared. /     डेटा प्रकार के वेरिएबल नेम डिक्लेयर नहीं किए जाने चाहिए।

D. None of the above. /     उपरोक्त में से कोई नहीं


Report Bug


A. mutability

B. static typing

C. dynamic typing

D. immutability


Report Bug


A. 4

B. 5

C. 6

D. 7


Report Bug


A. [“john”, “peter”]

B. [“john”:40, “peter”:45]

C. (“john”, “peter”)

D. (“john”:40, “peter”:45)


Report Bug


A. -3.4

B. 3.4

C. 4.3

D. 3


Report Bug


A. 5

B. 10

C. 6

D. 11


Report Bug


A. Only the first condition is checked. /     केवल फर्स्ट कंडीशन को चेक किया जाता है.

B. All conditions are checked, even if one is True. /     सभी कंडीशंस को चेक किया जाता है,यदि कोई सत्य हो।

C. It behaves the same as if-elif. /     यह if-elif जैसा ही बिहेव करता है।

D. It raises an error. /     यह एक एरर उत्पन्न करता है.


Report Bug


A. End of File /     फाईल का अंत

B. End of Line /     लाईन का अंत

C. End of Statement /     स्टेटमेंट का अंत

D. End of program /     प्रोग्राम का अंत


Report Bug


A. 3

B. 4

C. 5

D. 6


Report Bug


A. the shape is the number of rows

B. the shape is the number of columns

C. the shape is the number of element in each dimension

D. Total number of elements in array


Report Bug


A. remove /     रिमूव

B. pop /     पॉप

C. discard /     डिस्कार्ड

D. dispose /     डिस्पोज़


Report Bug


A. is

B. in

C. on

D. at


Report Bug


A. Exponential /     एक्सपोनेंशियल

B. Addition /     एडिशन

C. Multiplication /     मल्टीप्लिकेशन

D. Parentheses /     पैरेंथेसेस


Report Bug


A. d.size()

B. len(d)

C. size(d)

D. d.len ()


Report Bug


A. close.fp

B. fp.close()

C. file.exit()

D. None of these /     इनमें से कोई नहीं


Report Bug


A. (3,1)

B. (4,2)

C. (5,7)

D. (1,3)


Report Bug


A. ELL

B. ELLO

C. HELL

D. LL


Report Bug


A. factorial()

B. print()

C. seed()

D. sqrt()


Report Bug


A. Mathematical and logical operations on arrays. /     सरणियों पर गणितीय और तार्किक संचालन

B. Fourier transforms and routines for shape manipulation. /     आकार हेरफेर के लिए फूरियर रूपांतरण और दिनचर्या।

C. Operations related to linear algebra. /     रैखिक बीजगणित से संबंधित संचालन।

D. All of the above /     ऊपर के सभी


Report Bug


A. Lists /     लिस्ट्स

B. Dictionary /     ड़िक्शनरी

C. String /     सेट

D. All of the mentioned /     उल्लिखित सभी


Report Bug


A. True /     सही

B. False /     ग़लत

C. 55

D. TypeError /     टाइपएरर


Report Bug


A. a b c d

B. 0 1 2 3

C. error /     एरर

D. none of the mentioned /     उल्लेखित कोई नहीं


Report Bug


A. *

B. #

C. /

D. ?


Report Bug


A. not

B. %

C. and

D. +


Report Bug


A. {1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’}

B. None /     कोई नहीं

C. Error /     एरर

D. [1,3,6,10]


Report Bug


A. Interpreter generates an object program from the source program /     दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है

B. Interpreter is a kind of translator /     Interpreter अनुवादक का एक प्रकार है

C. Interpreter analysis each source statement every time it is to be executed /     Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है

D. None of the above /     इनमे से कोई भी नहीं


Report Bug


A. True /     सही

B. False /     ग़लत

C. 55

D. TypeError /     टाइपएरर


Report Bug


A. Returns None

B. Throws a KeyError

C. Creates a new key with a default value

D. Crashes the program /     प्रोग्राम को क्रैश कर देता है


Report Bug


A. list1.sum(5)

B. list1.add(5)

C. listl.append(5)

D. list1.addelement(5)


Report Bug


A. [10,34,56,[95]]

B. [10,23,56,[78]]

C. [10,23,56,[95]]

D. [10,34,56,[78]]


Report Bug


A. [‘ab’, ‘ef’, ‘ghcd’]

B. [‘ab’, ‘efcdghcd’]

C. [‘abcdef’, ‘ghcd’]

D. none of the mentioned /     उल्लेखित कोई नहीं


Report Bug


A. a

B. abcd abcd abcd

C. a a a a

D. none of the mentioned /     उल्लेखित कोई नहीं


Report Bug


A. TypeError

B. Rajat 20

C. Name age

D. None of these


Report Bug


A. startswith()

B. startswith_prefix()

C. startswithwith()

D. startswiths()


Report Bug


A. #

B. &

C. *

D. **


Report Bug


A. Low, Enclosing, Global and Built-in

B. Local, Enclosing, Global and Built-in

C. Local, Ending, Global and Built-in

D. Light, Emitting, Global and Built-in


Report Bug


A. static

B. global

C. public

D. extern


Report Bug


A. Error, dictionary in a dictionary can’t exist /     एरर,डिक्शनरी में ड़िक्शनरी मौजूद नहीं है

B. ‘Numbers’: {1: 56, 3: 7}

C. {‘Numbers’: {1: 56}, ‘Letters’: {4: ‘B’}}

D. {‘Numbers’: {1: 56, 3: 7}, ‘Letters’: {4: ‘B’}}


Report Bug


A. exit /     एग्जिट

B. break /     ब्रेक

C. continue /     कंटीन्यू

D. stop /     स्टॉप


Report Bug


A. A

B. Daman

C. Error

D. n


Report Bug


A. 1

B. 1 2

C. 1 2 3 4 5 6 …

D. 1 3 5 7 9 11 … infinite time


Report Bug


A. 1

B. 2

C. 3

D. 0


Report Bug


A. [2,3,4]

B. 3

C. 2

D. An exception is thrown /     एक एक्सेप्शन फेंक दिया जाता है


Report Bug


A. make a matrix with first column 0 /     पहले कॉलम 0 के साथ एक मैट्रिक्स बनाएं

B. make a matrix with all elements 0 /     सभी तत्वों के साथ एक मैट्रिक्स बनाएं 0

C. make a matrix with diagonal elements 0 /     विकर्ण तत्वों के साथ एक मैट्रिक्स बनाएं 0

D. All of the above /     ऊपर के सभी


Report Bug


A. wd[4:]

B. wd[:4]

C. wd[-5:]

D. wd[:-4]


Report Bug


A. True /     ट्रू

B. False /     फॉल्स

C. Infinite /     इन्फाईनाइट

D. NULL /     शून्य


Report Bug


A. print(arr[2:4])

B. print(arr[2:5])

C. print(arr[2:6])

D. print(arr[3:6])


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. append()

B. insert()

C. index()

D. remove()


Report Bug


A. Error, tuple slicing doesn’t exist /     एरर,टप्पल स्लाइसिंग मौजूद नहीं है

B. [2,3]

C. (2,3,4)

D. (2,3)


Report Bug


A. 6

B. 1

C. 1.5

D. Error


Report Bug


A. re

B. regex

C. pyregex

D. none of the mentioned /     उल्लिखित कोई नहीं


Report Bug


A. sys.argv

B. sys.readline

C. sys.path

D. sys.platform


Report Bug


A. ['llo']

B. ['hello']

C. ['h', 'e', l', 'l', 'o'] /     ['h', 'e', 'l', 'l', 'o']

D. None of the above /     इनमें से कोई नहीं


Report Bug


A. Any Random Number

B. 0

C. 1

D. Error


Report Bug


A. 32

B. 33

C. 31

D. 30


Report Bug


A. closed /     क्लोज्ड

B. softspace /     सॉफ्टस्पेस

C. rename /     रीनेम

D. None of the above. /     उपर्युक्त में से कोई नहीं


Report Bug


A. change in shape of array

B. reshaping of array

C. get the shape of the array

D. All of above


Report Bug


A. Time.time()

B. datetime()

C. time.date()

D. None of the above /     उपर्युक्त में से कोई नहीं


Report Bug


A. 5.0

B. 5

C. 4.0

D. 4


Report Bug


A. Checks if an element exists within a sequence. /     चेक करता है कि कोई एलिमेंट्स किसी सीक्वेंस में मौजूद है या नहीं।

B. Checks for inequality between two variables. /     दो वैरिएबल्स के बीच इनक्वॉलिटी को चेक करता है।

C. Checks if two variables refer to the same object. /     चेक करता है कि क्या दो वैरिएबल्स एक ही ऑब्जेक्ट् को रेफर करते हैं।

D. Checks the length of a sequence. /     किसी सीक्वेंस की लेंथ को चेक करता है


Report Bug


A. Filled with Zero /     शून्य से भरा हुआ

B. Filled with Blank space /     रिक्त स्थान से भरा हुआ

C. Filled with random garbage value /     रैंडम गार्बेज मूल्य से भरा हुआ

D. Filled with One /     एक से भरा हुआ


Report Bug


A. ELGB ( enclosed, local,global, built-in).

B. LEGB (local, enclosed,global, built-in ).

C. Both of the above /     उपर्युक्त दोनों

D. None of these /     इनमें से कोई नहीं


Report Bug


A. Error /     एरर

B. Either 3 or 4

C. Any integer other than 3 and 4 /     3 और 4 के अलावा कोई भी इन्टिजर

D. Any decimal value between 3 and 4 /     3 और 4 के बीच कोई भी डेसिमल वैल्यू


Report Bug


A. [1,2,3]

B. [1,3]

C. [2,3]

D. Error


Report Bug


A. Clears all key-value pairs /     सभी की-वैल्यू पेयर्स क्लियर करता है

B. Updates a specific key /     किसी स्पेसिफ़िक कीज़ को अपडेट्स करता है

C. Merges another dictionary into the current one /     किसी अन्य ड़िक्शनरी को प्रेजेंट ड़िक्शनरी में मर्ज कर देता है

D. Removes all values /     सभी वैल्यूज रिमूव कर देता है


Report Bug


A. 0

B. 3

C. 2.3

D. none of the mentioned /     उल्लेखित कोई नहीं


Report Bug


A. 5

B. 1

C. 10

D. 0


Report Bug


A. Error /     एरर

B. -1

C. 1

D. 0


Report Bug


A. It supports automatic garbage collection. /     यह स्वचालित गारबेज कलेक्शन को सपोर्ट करता है।

B. It can be easily integrated with C, C++,Com, ActiveX, CORBA, and Java. /     इसे आसानी से C, C++,Com, ActiveX, CORBA और Java के साथ एकीकृत किया जा सकता है।

C. Both of the above /     ऊपर के दोनों

D. None of the above /     इनमे से कोई भी नहीं


Report Bug


A. It skips the current iteration and goes to the next iteration. /     यह प्रेजेंट इट्रेशन को स्किप कर देता है और नेक्स्ट इट्रेशन पर चला जाता है।

B. It terminates the loop entirely /     यह लूप को पूरी तरह से टर्मिनेट कर देता है।

C. It does nothing. /     यह कुछ नहीं करता.

D. It restarts the loop. /     यह लूप को रीस्टार्ट करता है।


Report Bug


A. 7

B. 8

C. 10

D. 6


Report Bug


A. Selection

B. Sequential

C. Simple

D. Loop


Report Bug


A. Algorithm

B. Diagram

C. Machine code

D. Flowchart


Report Bug


A. break

B. assert

C. pass

D. continue


Report Bug


A. 1

B. (space)

C. ,

D. none of the mentioned /     उल्लेखित कोई नहीं




Attempted 0
Not Attempted 100
Current 1
Choose Question
Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad