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. Return
     रिटर्न

B. pass
     पास

C. for
     फॉर

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


Report Bug


A. ab

B. rw

C. a+

D. r+


Report Bug


A. One Time

B. Two Time

C. Any Number of Time

D. we can not change the value of variable


Report Bug


A. 6

B. 1

C. 0

D. 7


Report Bug


A. Any Random Number

B. 0

C. 1

D. Error


Report Bug


A. 0 1 2 3 4 …

B. 3 4

C. 0

D. error
     एरर


Report Bug


A. English
     इंग्लिश

B. PHP
     पीएचपी

C. C
     सी

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


Report Bug


A. Built in datatype
     डेटाटाइप में बनाना

B. Derived datatype
     प्राप्त डेटाटाइप

C. concrete datatype
     कंक्रीट डेटाटाइप

D. Abstract datatype
     एब्स्ट्रैक्ट डेटाटाइप


Report Bug


A. [1,2,3,4] [1,2,3,4]

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

C. Syntax error

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


Report Bug


A. os.rename(existing_name, new_name)

B. fq.name = ‘new_name.txt’

C. os.rename(fp, new_name)

D. os.set_name(existing_name, new_name)


Report Bug


A. Flowchart

B. Program

C. Pseudo Code

D. Syntax


Report Bug


A. (‘ab’, ‘cd’, ”)

B. (‘ab’, ‘cd’)

C. error
     एरर

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


Report Bug


A. not

B. %

C. and

D. +


Report Bug


A. read()

B. Readline()

C. write()

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


Report Bug


A. int

B. bool

C. float

D. None


Report Bug


A. True

B. False

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. File Found Error

B. File Not Exist Error

C. File Not Found Error

D. None of these


Report Bug


A. 5

B. 8

C. 2

D. 1


Report Bug


A. 4.5

B. 5

C. 4

D. 4.6


Report Bug


A. Subroutines

B. Function

C. Files

D. Modules


Report Bug


A. Value Error
     वैल्यू एरर

B. Syntax Error
     सिन्टैक्स एरर

C. Logical Error
     लॉजीकल एरर

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


Report Bug


A. 4

B. 3

C. 2

D. 1


Report Bug


A. Syntax errors

B. Semantic errors

C. logical errors

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


Report Bug


A. 5

B. 1

C. 10

D. 0


Report Bug


A. for

B. while

C. do while

D. None of the above


Report Bug


A. mutability

B. static typing

C. dynamic typing

D. immutability


Report Bug


A. delete all the trailing characters
     सभी ट्रेलिंग कैरेक्टर्स को डिलीट करने

B. delete all the leading characters
     सभी लिडिंग कैरेक्टर्स को डिलीट करने

C. delete all the leading and trailing characters
     सभी लिडिंग और ट्रेलिंग कैरेक्टर्स को डिलीट करने

D. delete upper case characters
     अपरकेस कैरेक्टर्स को डिलीट करने के लिए


Report Bug


A. [13, 56, 17, [87], 45, 67]

B. [13, 56, 17, 87, 45, 67]

C. [13, 56, 17, 87,[ 45, 67]]

D. [13, 56, 17, [87], [45, 67]]


Report Bug


A. A machine learning library
     एक मशीन लर्निंग लाइब्रेरी

B. A web development framework
     एक वेब डेवलोपमेन्ट फ्रेमवर्क

C. A numerical computing library in Python
     एक संख्यात्मक कंप्यूटिंग लाइब्रेरी

D. A data visualization tool
     एक डेटा विज़ुअलाइज़ेशन उपकरण


Report Bug


A. Error
     एरर

B. Any integer between 3.5 and 7, including 7
     3.5 और 7 के बीच कोई भी पूर्णांक, जिसमें 7 भी शामिल हैं

C. Any integer between 3.5 and 7, excluding 7
     3.5 और 7 के बीच कोई भी पूर्णांक, 7 को छोड़कर

D. The integer closest to the mean of 3.5 and 7
     पूर्णांक 3.5 और 7 के माध्य से निकटतम है


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


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. O(n)

B. O (log n)

C. O(n2)

D. O (n log n)


Report Bug


A. dump()

B. load()

C. Both A and B

D. None of the above


Report Bug


A. np.array()

B. np.zeros()

C. np.empty()

D. All of the above


Report Bug


A. 5

B. 5.0

C. 10

D. Error
     एरर


Report Bug


A. what

B. y

C. a

D. Error


Report Bug


A. form
     फॉर्म

B. access
     एक्सेज

C. import
     इंपोर्ट

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


Report Bug


A. True
     सही

B. False
     गलत

C. Error
     एरर

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


Report Bug


A. Compiler
     कम्पाइलर

B. Debugger
     डीबगर

C. Editor
     एडिटर

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


Report Bug


A. file_object=open(file_name,mode)

B. open(file_object,file_name,mode)

C. file_open(file_object,file_name,mode)

D. file_object=file_open(file_name,mode)


Report Bug


A. [2 4 1 3 5 ]

B. [5 9 1]

C. 15

D. ValueError


Report Bug


A. .module

B. .py

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

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


Report Bug


A. ('abc’)

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

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

D. Error
     एरर


Report Bug


A. **

B. //

C. is

D. not in


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. eval

B. assert

C. nonlocal

D. pass


Report Bug


A. Interpreter

B. Identifiers

C. Keyword

D. Operators


Report Bug


A. Sub algorithm

B. Recursion

C. Polish notation

D. Traversal algorithm


Report Bug


A. [ 2 4 3 5]

B. [ 6 20]

C. [ 6 12 10 20]

D. 26


Report Bug


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

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

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

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


Report Bug


A. Option A

B. Option B

C. Option C

D. Option D


Report Bug


A. error
     एरर

B. zxxyxyy

C. z

D. zxxy


Report Bug


A. klmn klmn klmn klmn

B. k

C. kkk

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


Report Bug


A. identity( )

B. id( )

C. refnum( )

D. ref( )


Report Bug


A. A comment

B. }

C. end

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


Report Bug


A. for

B. while

C. Both A and B
     A तथा B दोनों

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


Report Bug


A. 11

B. 9

C. 5

D. 4


Report Bug


A. [2 4 1]

B. [3 4 1]

C. [2 3 1]

D. [2 4 3]


Report Bug


A. rank
     रैंक

B. dtype
     डीटाइप

C. shape
     शेप

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


Report Bug


A. 0

B. 1

C. KeyError: 1

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


Report Bug


A. Pointers
     पॉइंटर

B. Loops
     लूप्स

C. Dynamic Typing
     डॉयनामिक टाइपिंग

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


Report Bug


A. 3.33

B. 3

C. 4

D. Error
     एरर


Report Bug


A. Ray temilson
     रे टेमिलसन

B. Guido van Rossum
     गाइडो वॉन रोसम

C. Tim Berner
     टिम बर्नर

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


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. \\n

B. \n

C. New line

D. Error
     एरर


Report Bug


A. directs the order of execution of the statements in the program

B. dictates what happens before the program starts and after it terminates

C. defines program-specific data structures

D. manages the input and output of control characters


Report Bug


A. Error, copy() method doesn’t exist for dictionaries
     एरर, डिक्शनरीज़ के लिए कॉपी () मैथड मौजूद नहीं है

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

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

D. “None” is printed
     "कोई नहीं" प्रिंट है


Report Bug


A. list
     लिस्ट

B. tuple
     टपल

C. set
     सेट

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


Report Bug


A. function
     फ़ंक्शन

B. method
     मेथड

C. def
     डीइएफ

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


Report Bug


A. capitalize()

B. title()

C. upper()

D. swapcase()


Report Bug


A. [‘AB’, ‘CD’]

B. [‘ab’, ‘cd’, ‘AB’, ‘CD’]

C. [‘ab’, ‘cd’]

D. Infinite Loop
     अनंत लूप


Report Bug


A. 4

B. 5

C. 0

D. 1


Report Bug


A. 0 1 2

B. 1 2 3

C. 0 1 2 3

D. Error


Report Bug


A. -3.4

B. 3.4

C. 4.3

D. 3


Report Bug


A. A rectangle

B. A rhombus

C. A parallelogram

D. A circle


Report Bug


A. 0

B. 4

C. 1

D. 2


Report Bug


A. Type Casting

B. Data Transformation

C. Type modification

D. Variable Shifting


Report Bug


A. val

B. raise

C. try

D. with


Report Bug


A. Built in datatype
     डेटाटाइप में बनाना

B. Derived datatype
     प्राप्त डेटाटाइप

C. Concrete datatype
     कंक्रीट डेटाटाइप

D. Abstract datatype
     एब्स्ट्रैक्ट डेटाटाइप


Report Bug


A. {‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}

B. {‘m’, ‘l’, ‘p’, ‘c’}

C. {‘d’, ‘c’, ‘m’, ‘a’}

D. None of These


Report Bug


A. error

B. 6

C. 1

D. 3


Report Bug


A. int

B. array

C. tuple

D. list


Report Bug


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

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

C. Pseudocode
     शूडीकोड

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


Report Bug


A. list1.shuffle()

B. shuffle(list1)

C. random.shuffle(list1)

D. random.shuffleList(list1)


Report Bug


A. 10 0

B. 10 2

C. 2 2

D. 10 1


Report Bug


A. Error
     एरर

B. -1

C. 1

D. 0


Report Bug


A. 20.0

B. 20

C. 40.0

D. 40


Report Bug


A. / /

B. >

C. and

D. ?


Report Bug


A. (3,)

B. (4,)

C. 1

D. 3


Report Bug


A. True True
     सही सही

B. False True
     गलत सही

C. False False
     गलत गलत

D. True False
     सही गलत


Report Bug


A. Block
     ब्लॉक

B. {}

C. Indentation
     इंडेशन

D. loop
     लूप


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

B. -

C. *

D. ( )


Report Bug


A. sep

B. newline

C. end

D. next


Report Bug


A. Python first searches the built-in namespace, then the global namespace and finally the local namespace.
     पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है

B. Python first searches the built-in namespace, then the local namespace and finally the global namespace
     पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है

C. Python first searches the local namespace, then the global namespace and finally the built-in namespace
     पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है

D. Python first searches the global namespace, then the local namespace and finally the built-in namespace
     पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है


Report Bug


A. pi

B. anonymous
     अनाम

C. lambda

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


Report Bug


A. from package import all

B. from package import *

C. from package include all

D. from package include*


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. List
     लिस्ट

B. Tuple
     टपल

C. Dictionary
     डिक्शनरी

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




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