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. Welco

B. me to

C. Welcome to Python

D. e to


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. (3,)

B. (2, )

C. (1,)

D. (0,)


Report Bug


A. True

B. False

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. continue

B. break

C. pass

D. goto


Report Bug


A. def fun (a = 2, b = 3, c)

B. def fun(a = 2, b, c = 3)

C. def fun(a, b = 2, c = 3)

D. def fun(a, b, c = 3, d)


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. 4.5

B. 4.0

C. 4

D. Error


Report Bug


A. Testing

B. Debugging

C. logical error

D. Algorithm


Report Bug


A. int

B. bool

C. void

D. None /     कोई नहीं


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. _x=2

B. x=3

C. _xyz_=5

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


Report Bug


A. 1abc

B. $12a

C. _xy 1

D. @python


Report Bug


A. abc def

B. ABC DEF

C. Abc def

D. Abc Def


Report Bug


A. Diamond box /     डॉयमन्ड बॉक्स

B. rectangular box /     आयताकार बॉक्स

C. Circle shape /     सर्किल शेप

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


Report Bug


A. One

B. Two

C. Three

D. Any Number of Times


Report Bug


A. To make a Matrix with all element 0 /     सभी एलिमेन्टो 0 के साथ एक मैट्रिक्स बनाने के लिए

B. To make a Matrix with all diagonal element /     सभी डॉयगोनल एलीमेन्टो के साथ एक मैट्रिक्स बनाने के लिए

C. To make a Matrix with first Row 0 /     पहली रो में 0 के साथ एक मैट्रिक्स बनाने के लिए

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


Report Bug


A. .python

B. .py

C. .p

D. .pyt


Report Bug


A. Identifiers

B. Function

C. Keywords

D. Literals


Report Bug


A. a b c d

B. 0 1 2 3

C. error /     एरर

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


Report Bug


A. empty_tuple = ()

B. empty_tuple = tuple()

C. empty_tuple = []

D. Both A and B /     ए और बी दोनों


Report Bug


A. Strings

B. Characters

C. Integers

D. None of These


Report Bug


A. Nothing is printed

B. 8

C. Error, method pow doesn’t exist in math module

D. Error, the statement should be: print(pow(2,3))


Report Bug


A. 0

B. 1

C. 10

D. 1.0


Report Bug


A. List /     लिस्ट

B. dictionary /     डिक्शनरी

C. Tuple /     टपल

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


Report Bug


A. Error /     एरर

B. 2017-06-18

C. 18-06-2017

D. 06-18-2017


Report Bug


A. Heeeo

B. Heelo

C. Heleo

D. None /     कोई नहीं


Report Bug


A. Range /     रेंज

B. Input /     इनपुट

C. Open /     ओपेन

D. Pass /     पास


Report Bug


A. [‘A’,’B’,’C’]

B. [‘B’,’C’,’A’]

C. [5,7,9]

D. [9,5,7]


Report Bug


A. A stage of all projects

B. Finding broken code

C. Evaluating deliverable to find errors

D. None of the above


Report Bug


A. sqrt

B. rhombus

C. add

D. Sub


Report Bug


A. 4

B. 5

C. 6

D. 7


Report Bug


A. Better programming

B. easy testing and debugging

C. Efficient Coding

D. All


Report Bug


A. True

B. False

C. 1

D. Error


Report Bug


A. count()

B. len()

C. index()

D. find()


Report Bug


A. Indexing /     इंडेक्सिंग

B. Slicing /     स्लाइसिंग

C. Reshaping /     रिशेपिंग

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


Report Bug


A. Str

B. int

C. convert /     कन्वर्ट

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


Report Bug


A. End Of Folder

B. Exit Open File

C. End Of File

D. Error On File


Report Bug


A. [3,2,4]

B. [2,3,4]

C. Error /     एरर

D. [3,4,2]


Report Bug


A. Oval or Pill Shape /     ओवल या पिल शेप

B. Rectangle /     आयत

C. Diamond /     डॉयमण्ड

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


Report Bug


A. 4

B. 7

C. 9

D. 8


Report Bug


A. float

B. integer

C. string

D. boolean


Report Bug


A. float(‘10’) /     float(‘10’)

B. int(‘10’) /     int(‘10’)

C. float(’10.8’) /     float(’10.8’)

D. int(’10.8’) /     int(’10.8’)


Report Bug


A. Identity Matrix /     पहचान मैट्रिक्स

B. Upper triangle Matrix /     ऊपरी त्रिकोण मैट्रिक्स

C. Lower Triangle Matrix /     निचली त्रिकोण मैट्रिक्स

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


Report Bug


A. eval /     एवल

B. nonlocal /     नॉनलोकल

C. assert /     अस्सेर्ट

D. finally /     फाइनली


Report Bug


A. exp(x)

B. int (x)

C. chr (x)

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


Report Bug


A. import random /     इम्पोर्ट रैंडम

B. random.h /     रैंडम.h

C. import.random /     इम्पोर्ट.रैंडम

D. random.random /     रैंडम.रैंडम


Report Bug


A. Machine language

B. Assembly language

C. High-level language

D. None of the above


Report Bug


A. 1 A 2 B 3 C

B. 1 2 3

C. A B C

D. 1:”A” 2:”B” 3:”C”


Report Bug


A. 4.5

B. 4.6

C. 4.57

D. 4.56


Report Bug


A. Interactive Mode

B. Script Mode

C. Combination of Interactive and Script modes

D. All of these


Report Bug


A. Error

B. 6

C. 4

D. 3


Report Bug


A. .mod

B. .module

C. .py

D. .python


Report Bug


A. fun

B. function

C. def

D. define


Report Bug


A. or

B. equal

C. and

D. not


Report Bug


A. strptime()

B. strftime()

C. Both A and B

D. None of the above


Report Bug


A. Algorithm /     एल्गोरिदम

B. Flowchart /     फ्लोचॉर्ट

C. Pseudocode /     शूडीकोड

D. All of these /     इनमें से सभी


Report Bug


A. None

B. { None:None, None:None, None:None}

C. {1:None, 2:None, 3:None}

D. { }


Report Bug


A. numpy.linspace()

B. numpy.range()

C. numpy.arrange()

D. numpy.spaceline()


Report Bug


A. Method displays the directory of a process. /     मेथड एक प्रक्रिया की डॉयरेक्ट्री को प्रदर्शित करता है।

B. Method displays the current working directory of a process. /     मेथड किसी प्रक्रिया की वर्तमान वर्किंग डॉयरेक्ट्री को प्रदर्शित करती है।

C. Method create file of a process. /     मेथड एक प्रक्रिया की फ़ाइल बनाता है।

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


Report Bug


A. array_split()

B. split()

C. split_array()

D. hstack() and vstack()


Report Bug


A. User-defined name /     यूजर - डिफाइन्ड नेम

B. Pre-defined name /     प्री-डिफाइन्ड नेम

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

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


Report Bug


A. Every recursive function must have a base case /     प्रत्येक रिकर्सिव फ़ंक्शन का बेस केस होना चाहिए

B. Infinite recursion can occur if the base case isn’t properly mentioned /     यदि बेस केस का प्रॉपर्ली मेंशन्ड नहीं किया गया है तो इनफिनिट रिकर्शन हो सकती है

C. A recursive function makes the code easier to understand /     एक रिकर्सिव फ़ंक्शन कोड को समझने में आसान बनाता है

D. Every recursive function must have a return value /     प्रत्येक रिकर्सिव फ़ंक्शन का रिटर्न वैल्यू होना चाहिए


Report Bug


A. datetime.utc()

B. datetime.datetime.utc()

C. datetime.utcnow()

D. datetime.datetime.utcnow()


Report Bug


A. 7 9 4

B. 4 7 9

C. 9 4 7

D. 4 7 9


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. <class 'int'>

B. <class ‘str'>

C. <class ‘bool'>

D. Error /     एरर


Report Bug


A. A recursive function that has two base cases /     एक रिकर्सिव फ़ंक्शन जिसमें दो बेस केसेस हैं

B. A function where the recursive functions leads to an infinite loop /     एक फ़ंक्शन जहां रिकर्सिव फ़ंक्शन एक इनफिनिट लूप की ओर जाता है

C. A recursive function where the function doesn’t return anything and just prints the values /     एक रिकर्सिव फ़ंक्शन जहां फ़ंक्शन कुछ भी वापस नहीं करता है और केवल वैल्यूज को प्रिंट करता है

D. A function where the recursive call is the last thing executed by the function /     एक फ़ंक्शन जहां रिकर्सिव कॉल फ़ंक्शन द्वारा एक्सेक्यूटेड लास्ट चीज़ है


Report Bug


A. True True

B. False True

C. False False

D. True False


Report Bug


A. 2

B. 0

C. 1

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


Report Bug


A. Brackets

B. Quotes

C. Braces

D. Parentheses


Report Bug


A. [7, 19, 45, 89]

B. [2, 4, 22, 72]

C. [4, 7, 19, 2, 89, 45, 72, 22]

D. [24, 7, 19, 22, 45, 72, 89]


Report Bug


A. Keywords /     कीवर्ड

B. Identifiers /     आइंडेंटीफायर्स

C. Operators /     ऑपरेटर्स

D. Statements /     स्टेटमेंट्स


Report Bug


A. 0.0 1.0

B. 0 1

C. error /     एरर

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


Report Bug


A. Repeating a process in a loop

B. Calling a function from within itself

C. Using a loop to iterate over elements

D. Breaking down a problem into smaller subproblems


Report Bug


A. Quick response code /     क्विक रिस्पांस कोड

B. Same format in which the data is held in memory /     उसी प्रारूप में जिसमे डेट को मेमोरी में रखा जाता है

C. ASCII format /     एएससीआईआई प्रारूप

D. Unicode format /     यूनिकोड फॉर्मेट


Report Bug


A. 123var

B. _var

C. if

D. var-name


Report Bug


A. del

B. remove

C. delete

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


Report Bug


A. in

B. is

C. id

D. ==


Report Bug


A. 4

B. 16

C. 6

D. 2


Report Bug


A. ord()

B. ord(‘ ‘)

C. ord(”)

D. ord(“”)


Report Bug


A. yes /     हाँ

B. no /     नहीं

C. machine dependent /     मशीन डिपेंडेंट

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


Report Bug


A. To execute when the loop is terminated using break. /     ब्रेक का यूज़ करके लूप टर्मिनेट होने पर एक्सक्यूट करना।

B. To execute after the loop completes without encountering a break. /     लूप कम्पलीट होने के बाद बिना किसी रुकावट के एक्सक्यूट करना।

C. To restart the loop. /     लूप को रीस्टार्ट करने के लिए

D. To execute before the loop starts /     लूप रीस्टार्ट होने से पहले एक्सक्यूट करना


Report Bug


A. Integer

B. String

C. Floating point

D. None of these


Report Bug


A. Hello

B. Hello Hello

C. nothing

D. Hello Hello Hello Hello Hello


Report Bug


A. Hello

B. 949227

C. True

D. "2'


Report Bug


A. 6

B. 8

C. 9

D. 11


Report Bug


A. 1 and itself

B. 1 and 2

C. All numbers

D. 2 and itself


Report Bug


A. dictionary()

B. set()

C. tuple()

D. list()


Report Bug


A. It is mandatory to have_main_function in python. /     पायथन में _main_function होना अनिवार्य है ।

B. It is not mandatory to have _main_function in python. /     पायथन में _main_function होना अनिवार्य नही है ।

C. It is mandatory to have any function in python. /     पायथन में कोई फंक्शन होना अनिवार्य है ।

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


Report Bug


A. Link, Load, Code, Compile, & Execute /     लिंक, लोड, कोड, कम्पाइल, एवं एक्सीक्यूट

B. Code, Compile, Link, Execute & Load /     कोड, कम्पाइल, लिंक, एक्सीक्यूट एवं लोड

C. Code, Compile, Link, load & Execute /     कोड, कम्पाइल, लिंक, लोड एवं एक्सीक्यूट

D. Compile, Code, Link, load, & Execute /     कम्पाइल, कोड, लिंक, लोड एवं एक्सीक्यूट


Report Bug


A. 0 1 2 3 4

B. 1 2 3 4 5 6

C. 1 2 3 4 5

D. None of these


Report Bug


A. AB!@

B. ab12

C. aB!2

D. aB1@


Report Bug


A. Integer

B. Float

C. String

D. All of These


Report Bug


A. Recursive Function

B. Lambda Function

C. Built-in Function

D. Generator Function


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. Find errors from the program /     प्रोग्राम में से एरर का पता लगाने के लिए

B. Check the functionality of the program /     प्रोग्राम की कार्यक्षमता जाँच करने के लिए

C. Black box testing /     ब्लैक बॉक्स टेस्टिंग

D. All of the above /     उपर्युक्त सभी


Report Bug


A. 1

B. 3

C. 5

D. 7


Report Bug


A. Web development

B. Machine learning and scientific computing

C. Game development

D. Database management


Report Bug


A. Docstring /     डॉकस्ट्रिंग

B. Python Package Index /     पायथन पैकेज इंडेक्स

C. both a & b /     a तथा b दोनों

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