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. 0 1 2 3

B. 0 1 2 2

C. 3 3 3 3

D. error


Report Bug


A. Syntax errors

B. Semantic errors

C. logical errors

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


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. remove /     रिमूव

B. pop /     पॉप

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

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


Report Bug


A. seed() /     सीड()

B. sqrt()

C. factorial() /     फैक्टोरीअल()

D. print() /     प्रिंट ()


Report Bug


A. True /     ट्रू

B. False /     फॉल्स

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

D. NULL /     शून्य


Report Bug


A. 0

B. 1

C. error /     एरर

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


Report Bug


A. break

B. assert

C. pass

D. continue


Report Bug


A. 2 4 6 8 10 …

B. 2 4

C. 2 3

D. error /     एरर


Report Bug


A. [(1, 2), (2, 4), (3, 9)]

B. [(2,4),(1,2),(3,9)]

C. Error because tuples are immutable /     एरर क्योंकि tuples अपरिवर्तनीय हैं

D. Error, tuple has no sort attribute /     एरर , टपल का कोई प्रकार नहीं है


Report Bug


A. list /     लिस्ट

B. set /     सेट

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

D. tuple /     टपल


Report Bug


A. f = open("data.txt", "a")

B. f = Open("data.txt", "ab")

C. f= new("data.txt", "a")

D. open("data.txt", "a")


Report Bug


A. +5

B. -11

C. +11

D. -5


Report Bug


A. 0 1 2

B. a b c

C. 0 a 1 b 2 c

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


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. Required Argument

B. Keyword Argument

C. Default Argument

D. Decimal Argument


Report Bug


A. Python allows you to assign a single value to multiple variables simultaneously. /     पायथन आपको एक साथ अनेक वेरिएबल लिए एक वैल्यू निर्दिष्ट करने की अनुमति

B. You can assign multiple values to multiple variables by separating variables and values with commas. /     आप अनेक वेरिएबल के लिए अनेक वैल्यू को कॉमा के द्वारा अलग करके निर्दिष्ट कर सकते है.

C. You can assign the same value to multiple variables by using = consecutively.. /     आप एक ही वैल्यू को अनेक वेरिएबिलो के लिए = क्रमागत रूप से निर्दिष्ट कर सकते हैं

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


Report Bug


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

B. None /     कोई नहीं

C. Error /     एरर

D. [1,3,6,10]


Report Bug


A. Zip()

B. tuple()

C. list()

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


Report Bug


A. Operating System /     ऑपरेटिंग सिस्टम

B. Compiler /     कम्पाइलर

C. Implementation /     इम्प्लीमेंटेशन

D. Interpreter /     इंटरप्रेटर


Report Bug


A. Web development

B. Machine learning and scientific computing

C. Game development

D. Database management


Report Bug


A. PYTHONPATH /     पाइथनपाथ

B. PYTHONSTARTUP /     पाइथनस्टार्टअप

C. PYTHONCASEOK /     पाइथनकासोक

D. PYTHONHOME /     पाइथनहोम


Report Bug


A. True

B. False

C. None

D. Error


Report Bug


A. [0, 1, 2]

B. [0, 1, 2, 3]

C. [1, 2, 3]

D. [0, 2]


Report Bug


A. Time.altzone

B. alt.Timezone

C. zone.altTime

D. None /     कोई नहीं


Report Bug


A. [2,6,5J]

B. [5J,2,6]

C. Error

D. [6,5J,2]


Report Bug


A. 0

B. 4

C. 1

D. 2


Report Bug


A. ('abc’)

B. ('a', 'b', 'c’)

C. ['a', 'b', 'c’]

D. Error /     एरर


Report Bug


A. else

B. import

C. print

D. all of these


Report Bug


A. More than one key can have the same value /     एक से अधिक key की वैल्यू समान हो सकती है

B. The values of the dictionary can be accessed as dict[key] /     ड़िक्शनरी के वैल्यूज को एक्सेस्सड के रूप में देखा जा सकता है [key]

C. Values of a dictionary must be unique /     एक ड़िक्शनरी की वैल्यूज यूनिक होनी चाहिए

D. Values of a dictionary can be a mixture of letters and numbers /     एक ड़िक्शनरी की वैल्यूज लेटर्स और नंबर्स का मिक्चर हो सकता है


Report Bug


A. ab

B. rw

C. r+

D. w+


Report Bug


A. algorithmic /     एल्गोरिथिमक

B. heuristic /     हेरिस्टिक

C. random /     यादृच्छिक

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


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. Addition and Subtraction /     एडिशन और सब्ट्रैक्शन

B. Multiplication, Division and Addition /     मल्टीप्लिकेशन,डिवीज़न और एडिशन

C. Multiplication, Division, Addition and Subtraction /     मल्टीप्लिकेशन,डिवीज़न एडिशन और सब्ट्रैक्शन

D. Addition and Multiplication /     एडिशन और मल्टीप्लिकेशन


Report Bug


A. numpy.maximum()

B. numpy.arraymax()

C. numpy.amax()

D. numpy.big()


Report Bug


A. 6 4

B. 4 6

C. 4 4

D. 6 6


Report Bug


A. function

B. def

C. fun

D. define


Report Bug


A. Concatenation /     कॉनकैटनेशन

B. Membership /     मेंबरशिप

C. Slicing /     स्लाईसिंग

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


Report Bug


A. abc

B. 5

C. {"abc":5}

D. error


Report Bug


A. 0

B. 1

C. 2

D. 3


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

B. Read

C. Append

D. Read and Write Both


Report Bug


A. read_csv()

B. csv_read()

C. csv.write()

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


Report Bug


A. Current date only /     केवल वर्तमान तिथि

B. UTC time /     यूटीसी का समय

C. Current date and time /     वर्तमान दिनांक और समय

D. Current time only /     केवल वर्तमान समय


Report Bug


A. Error

B. [ ]

C. None

D. 5


Report Bug


A. 30

B. 25

C. 20

D. 50


Report Bug


A. High Level

B. Object Oriented

C. Low Level

D. Both A and B


Report Bug


A. Infinite Loop /     इन्फाईनाइट लूप

B. conditional loop /     कंडीशनल लूप

C. unlimited loop /     अनलिमीटेड लूप

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


Report Bug


A. True

B. False

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. -1

B. 4

C. 3

D. 1


Report Bug


A. [1 5 2]

B. [1 5 4]

C. [2 3 4]

D. [2 5 4]


Report Bug


A. Number /     नंबर

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

C. List /     लिस्ट

D. Slice /     स्लाइस


Report Bug


A. sep

B. separator

C. end

D. tab


Report Bug


A. Compiler /     कम्पाइलर

B. Debugger /     डीबगर

C. Editor /     एडिटर

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


Report Bug


A. 15

B. 8

C. (8,7)

D. Error


Report Bug


A. Ab cd-ef

B. Ab Cd-ef

C. Ab Cd-Ef

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


Report Bug


A. re

B. regex

C. pyregex

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


Report Bug


A. count()

B. strip()

C. upper()

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


Report Bug


A. 32

B. 33

C. 31

D. 30


Report Bug


A. sqrt

B. rhombus

C. add

D. Sub


Report Bug


A. 1 and itself

B. 1 and 2

C. All numbers

D. 2 and itself


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. n

B. 1rn@

C. rn

D. r


Report Bug


A. abcd

B. ABCD

C. error /     एरर

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


Report Bug


A. True /     सही

B. False /     गलत

C. None

D. Error /     एरर


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

B. 10

C. 50

D. Error /     एरर


Report Bug


A. Algorithm

B. Diagram

C. Machine code

D. Flowchart


Report Bug


A. 10

B. 9

C. 4

D. All of the mentioned above


Report Bug


A. program

B. Flowchart

C. statement

D. Algorithm


Report Bug


A. get()

B. seek()

C. tell()

D. cur()


Report Bug


A. go

B. pass

C. over

D. ;


Report Bug


A. Block /     ब्लॉक

B. {}

C. Indentation /     इंडेशन

D. loop /     लूप


Report Bug


A. Error, invalid syntax /     एरर,इनवैलिड सिंटैक्स

B. A

C. 5

D. C


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

B. break

C. continue

D. goto


Report Bug


A. dump()

B. load()

C. Both A and B

D. None of the above


Report Bug


A. [1, 2, 3]

B. [1, 2, 3, 4]

C. [4]

D. Error


Report Bug


A. Compiled Language /     कम्पाईल्ड लैंग्वेज

B. Markup Language /     मार्कअप लैंग्वेज

C. Interpreted Language /     इंटरप्रेटेड लैंग्वेज

D. Assembly Language /     असेंबली लैंग्वेज


Report Bug


A. True /     सही

B. False /     गलत

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. numpy.array(list)

B. numpy.array(list, dtype=float)

C. Both a and b

D. None of the above


Report Bug


A. It creates a new Python list. /     यह एक नई पायथन सूची बनाता है।

B. It creates a NumPy array. /     यह एक NumPy ऐरे बनाता है।

C. It performs element-wise addition. /     यह तत्व-वार जोड़ करता है।

D. It calculates the mean of an array. /     यह किसी ऐरे के माध्य की गणना करता है।


Report Bug


A. 1 2 3 4

B. 4 5 6 7

C. 1 3 8 12

D. 2 5 9 13


Report Bug


A. Checks if two variables have the same value. /     चेक करता है कि क्या दो वैरिएबल की वैल्यू समान है।

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

C. Assigns a value to a variable. /     किसी वेरिएबल को एक वैल्यू असाइन करता है.

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


Report Bug


A. [0]

B. [1]

C. [1, 0]

D. [0, 1]


Report Bug


A. Interactive Mode

B. Script Mode

C. Combination of Interactive and Script modes

D. All of these


Report Bug


A. <!-- This is Comment -->

B. // This is Comment

C. /* This is Comment */

D. # This is Comment


Report Bug


A. 1abc

B. $12a

C. _xy 1

D. @python


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

B. Expression

C. Portability

D. Reliability


Report Bug


A. The program prints two rows 3 4 5 1 followed by 33 6 1 2 /     प्रोग्राम दो रो 3 4 5 1 को प्रिंट करता है और उसके बाद 33 6 1 2

B. The program prints on row 3 4 5 1 33 6 1 2 /     प्रोग्राम रो 3 4 5 1 33 6 1 2 पर प्रिंट करता है

C. The program prints two rows 3 4 5 1 followed by 33 6 1 2 /     प्रोग्राम दो रो 3 4 5 1 को प्रिंट करता है और उसके बाद 33 6 1 2

D. The program prints two rows 1 3 4 5 followed by 1 2 6 33 /     प्रोग्राम दो रो 1 3 4 5 प्रिंट करता है और उसके बाद 1 2 6 33


Report Bug


A. Error /     एरर

B. Flexibility /     फ्लेक्सीबिल्टी

C. Portability /     पोर्टेबिल्टी

D. Reliability /     रीलायबिल्टी


Report Bug


A. abc def

B. ABC DEF

C. Abc def

D. Abc Def


Report Bug


A. space /     स्पेस

B. colon /     कोलन

C. semi colon /     सेमी कोलन

D. None /     कोई नहीं


Report Bug


A. 4.5

B. 5

C. 4

D. 4.6


Report Bug


A. Looping

B. Selective

C. Sequence

D. None


Report Bug


A. [2, 4, 6]

B. [1, 2, 3, 1, 2, 3]

C. Error

D. [1, 4, 9]


Report Bug


A. True

B. False

C. KeyError

D. None


Report Bug


A. 4

B. 5

C. 0

D. 1


Report Bug


A. ; (semicolon)

B. ,(Comma)

C. : (colan)

D. None of these /     कोई नही




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