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. Interpreter
     इंटरप्रेटर

B. Compiler
     कम्पाइलर

C. Combination of Compiler and Interpreter
     कंपाइलर और इंटरप्रेटर का संयोजन

D. all of these
     ऊपर के सभी


Report Bug


A. what

B. y

C. a

D. Error


Report Bug


A. seed()
     सीड()

B. sqrt()

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

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


Report Bug


A. 6

B. 18

C. 10

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


Report Bug


A. x += 5

B. x *= 5

C. x = x ** 5

D. none of these


Report Bug


A. min()

B. divmod()

C. all()

D. float()


Report Bug


A. enumerate()
     इनूमरेट()

B. all()
     ऑल()

C. chr()

D. max()
     मैक्स()


Report Bug


A. Strings can be modified using indexing.
     इंडेक्सिंग का यूज़ करके स्ट्रिंग्स को मॉडिफाइड किया जा सकता है।

B. Strings are immutable.
     स्ट्रिंग्स इम्म्यूटेबल हैं.

C. Strings can only contain alphabetic characters.
     स्ट्रिंग्स में केवल अल्फ़ाबेट कैरेक्टर्स हो सकते हैं।

D. Strings must end with a newline character.
     स्ट्रिंग्स को एक न्यूलाइन कैरेक्टर के साथ एन्ड होना चाहिए।


Report Bug


A. numpy.maximum()

B. numpy.arraymax()

C. numpy.amax()

D. numpy.big()


Report Bug


A. Flowchart
     फ्लोचार्ट

B. Algorithm
     एल्गोरिदम

C. Process
     प्रोसेस

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


Report Bug


A. Strings

B. Characters

C. Integers

D. None of These


Report Bug


A. (3,)

B. (2, )

C. (1,)

D. (0,)


Report Bug


A. This is a square array with ones on the main diagonal.
     यह एक वर्गाकार ऐरे है जिसमें मुख्य विकर्ण पर एक होता हैं।

B. This is a normal array.
     यह एक सामान्य ऐरे है

C. This is a array with ones on the main diagonal.
     यह मुख्य विकर्ण पर एक के साथ एक ऐरे है ।

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


Report Bug


A. Ab cd-ef

B. Ab Cd-ef

C. Ab Cd-Ef

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


Report Bug


A. email

B. ca$h

C. marks10

D. Python2Shar


Report Bug


A. pi

B. anonymous
     अनाम

C. lambda

D. none of the above
     उपरोक्त में से कोई


Report Bug


A. pi()

B. piFun()

C. Fun()

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


Report Bug


A. pickle

B. binary

C. unpickle

D. fstream


Report Bug


A. True
     सही

B. False
     ग़लत

C. 0
     शून्य

D. Error
     एरर


Report Bug


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

B. dict([[1,”A”],[2,”B”]])

C. {1,”A”,2”B”}

D. { }


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. 0.0 1.0

B. 0 1

C. error
     एरर

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


Report Bug


A. ab

B. rw

C. a+

D. r+


Report Bug


A. Terminal

B. Process

C. Input/Output

D. Decision


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

B. Initialization

C. Input/Output

D. None of Mentioned


Report Bug


A. A comment

B. }

C. end

D. A line that is indented less than the previous line


Report Bug


A. True

B. False

C. Machine dependent

D. Error


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. >=

B. <=

C. =

D. !=


Report Bug


A. Find the shape of the array
     ऐरे का आकार खोजने

B. change the shape of array
     ऐरे का आकार बदलने

C. Display elements
     एलिमेन्ट डिस्प्ले करना

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


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


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. f.seek(-10, 0)

B. f.seek(10,0)

C. f.seek(-10, 1)

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


Report Bug


A. 12.6

B. '12.6'

C. 12

D. syntax error
     सिंटेक्स एरर


Report Bug


A. read()

B. readline()

C. readlines()

D. load()


Report Bug


A. Numbering Python

B. Number in Python

C. Numerical Python

D. Number for Python


Report Bug


A. 5

B. 1

C. 10

D. 0


Report Bug


A. go

B. pass

C. over

D. ;


Report Bug


A. Warning

B. Error

C. Error

D. No Error


Report Bug


A. write()

B. append()

C. add()

D. insert()


Report Bug


A. ab

B. rw

C. r+

D. w+


Report Bug


A. Flowchart
     फ़्लोचार्ट

B. Flow
     फ़्लो

C. Algorithm
     एल्गोरिथम

D. Syntax
     सिंटेक्स


Report Bug


A. 10

B. 9

C. 4

D. All of the mentioned above


Report Bug


A. An exception is thrown since the dictionary is empty
     डिक्शनरी खाली होने के बाद एक एक्सेप्शन रखा गया है

B. ‘ ‘

C. 1

D. 0


Report Bug


A. List is mutable & Tuple is immutable
     सूची परिवर्तनशील है और टपल अपरिवर्तनीय है

B. List is immutable & Tuple is mutable
     सूची अपरिवर्तनीय है और टपल परिवर्तनशील है

C. Both List and Tuple are Mutable
     लिस्ट और टपल दोनों परिवर्तनशील हैं

D. Both List and Tuple are Immutable
     सूची और टपल दोनों अपरिवर्तनीय हैं


Report Bug


A. np.concatenate()

B. np.join()

C. np.array_join()

D. np.join_array()


Report Bug


A. break

B. while

C. continue

D. operators


Report Bug


A. 2 3 4 5 6 1

B. 6 1 2 3 4 5

C. 2 3 4 5 6 6

D. 1 1 2 3 4 5


Report Bug


A. selection

B. repetition

C. sequence

D. flow


Report Bug


A. .py

B. .python

C. .pt

D. .pyt


Report Bug


A. end
     अंतिम में

B. beginning
     शुरूआत में

C. anywhere in between the file
     फाइल में कहीं भी

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


Report Bug


A. IDLE

B. Spyder

C. Jupyter Notes

D. Sublime Test


Report Bug


A. def function function_name():

B. declare function function_name():

C. def function_name():

D. declare function_name():


Report Bug


A. read binary

B. write binary

C. append binary

D. read write


Report Bug


A. 16

B. 32

C. 64

D. None of These


Report Bug


A. slicer
     स्लाईसर

B. Slicing
     स्लाईसिंग

C. Membership
     मेंबरशिप

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


Report Bug


A. \a

B. \t

C. \n

D. \b


Report Bug


A. [ ]

B. [1 2 3 4 5]

C. [5 4 3 2 1]

D. [1 2 3 4]


Report Bug


A. range(0,3,1)

B. range(1,4,1)

C. range(1,3)

D. range(1,3,0)


Report Bug


A. [10, 8, 6]

B. [9, 7, 5]

C. [6, 8, 10]

D. [5, 7, 9]


Report Bug


A. a b c d

B. 0 1 2 3

C. error
     एरर

D. 1 2 3 4


Report Bug


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

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

C. Reshaping
     रिशेपिंग

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


Report Bug


A. val()

B. print()

C. print In()

D. const()


Report Bug


A. <<

B. **

C. |

D. %


Report Bug


A. 12.6

B. '12.6'

C. 12

D. Syntax Error


Report Bug


A. 1st_string

B. my_string_1

C. _mySring

D. infomax


Report Bug


A. {1: 5}

B. {1: 5, 2: 3}

C. Error, syntax error for pop() method
     एरर, पॉप () मैथड के लिए सिंटैक्स एरर

D. {1: 5, 3: 4}


Report Bug


A. dlroW olleH

B. Hello Worl

C. D

D. error


Report Bug


A. arr=np.float([1,2,3,4])

B. arr=np.array([1,2,3,4]).toFloat()

C. arr=np.array([1,2,3,4],dtype='float')

D. arr=np.farray([1,2,3,4])


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. remove ()

B. clear()

C. removelist ()

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


Report Bug


A. [2, 6, 4]

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

C. [1, 3, 2, 1, 3, 2]

D. [1, 3, 2, 3, 2, 1]


Report Bug


A. val

B. raise

C. try

D. with


Report Bug


A. execute python

B. go python

C. python

D. run python


Report Bug


A. ndarray

B. narray

C. nd_array

D. darray


Report Bug


A. List

B. Dictionary

C. Set

D. None of the Above


Report Bug


A. f.readlines()

B. f.readline()

C. f.read()

D. f.line()


Report Bug


A. String
     स्ट्रिंग

B. List
     लिस्ट

C. Tuple
     टपल

D. Dictionary
     डिक्शनरी


Report Bug


A. np.ndim(array_name)

B. array_name.ndim()

C. np.dim(array_name)

D. array_name.dim


Report Bug


A. True
     सही

B. False
     गलत

C. Error
     एरर

D. None
     कोई नहीं


Report Bug


A. int

B. bool

C. float

D. None


Report Bug


A. x | y

B. x ^ y

C. x & y

D. x – y


Report Bug


A. Error

B. 50

C. 100

D. 20


Report Bug


A. file_exists()

B. exists_file()

C. os.path.exists()

D. check_file()


Report Bug


A. 32

B. 67

C. 91

D. 80


Report Bug


A. random

B. randrange

C. randomrange

D. rand


Report Bug


A. A set of main modules.
     मुख्य मॉड्यूल का एक सेट

B. A folder of python modules
     पायथन मॉड्यूल का एक फोल्डर

C. A number of files containing Python definitions and statements.
     अनेक फाइलें जिनमें पायथन डेफिनेशन और स्टेटमेन्ट शामिल हैं

D. A set of programs making use of Python modules.
     पायथन मॉड्यूल का उपयोग करने वाले प्रोग्रामों का एक सेट है


Report Bug


A. identifier followed by an equal to sign and the default value
     आइडेंटिफाइड साइन और डिफ़ॉल्ट वैल्यू के बराबर होता है

B. identifier followed by the default value within backticks (“)
     आइडेंटीफायर के पीछे डिफ़ॉल्ट वैल्यू के बाद (&quot;)

C. identifier followed by the default value within square brackets ([])
     स्क्वायर ब्रैकेट्स ([]) के भीतर डिफ़ॉल्ट वैल्यू के बाद आइडेंटीफायर

D. identifier
     आइडेंटीफायर


Report Bug


A. int(x [,base])

B. long(x [,base])

C. float(x)

D. str(x)


Report Bug


A. print(sys)

B. print(dir.sys)

C. print(dir[sys])

D. print(dir(sys))


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

B. [0,1,2,3]

C. range(0, 4)

D. (0,1,2,3)


Report Bug


A. 2

B. 3

C. The number are equal

D. None of These


Report Bug


A. Making the code look clean
     कोड को साफ देखो

B. A complex task can be broken into sub-problems
     एक कॉम्प्लेक्स टास्क को सब-प्रॉब्लम्स में तोड़ा जा सकता है

C. Recursive calls take up less memory
     रिकर्सिव कॉल से मेमोरी कम लगती है

D. Sequence generation is easier than a nested iteration
     सीक्वेंस जनरेशन एक नेस्टेड पुनरावृत्ति की तुलना में आसान है


Report Bug


A. .module

B. .py

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

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


Report Bug


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

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

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

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


Report Bug


A. Testing
     टेस्टिंग

B. Delivery
     डिलीवरी

C. Idea
     आईडिया

D. Development
     विकास


Report Bug


A. os

B. fileutils

C. filesystem

D. io


Report Bug


A. xyzp = 5,000,000

B. xyzp = 5000 6000 7000 8000

C. x, y, z,p = 5000, 6000, 7000, 8000

D. x_y_z_p = 5,000,000




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