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. Numbering Python
     नंबरिंग पायथन

B. Number In Python
     पायथन में नंबर

C. Numerical Python
     न्यूमेरिक पायथन

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


Report Bug


A. True
     सही

B. False
     ग़लत

C. 55

D. TypeError
     टाइपएरर


Report Bug


A. getkeys ()

B. key()

C. keys()

D. None
     कोई नहीं


Report Bug


A. [0.0, 1.0]

B. (0.0, 1.0]

C. (0.0, 1.0)

D. [0.0, 1.0)


Report Bug


A. 120

B. 25

C. 1,2,3,4,5

D. Error


Report Bug


A. Machine language

B. Assembly language

C. High-level language

D. None of the above


Report Bug


A. a a a a a a

B. a

C. no output
     नो आउटपुट

D. error
     एरर


Report Bug


A. 5.5

B. 3.5

C. 1

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


Report Bug


A. 3

B. 4

C. 5

D. 6


Report Bug


A. input(“Enter a string”)
     इनपुट(“Enter a string”)

B. eval(input(“Enter a string”))
     eval (इनपुट(“Enter a string”))

C. enter(“Enter a string”)
     एंटर(“Enter a string”)

D. eval(enter(“Enter a string”))
     eval(एंटर(“Enter a string”))


Report Bug


A. and

B. or

C. not

D. Assignment


Report Bug


A. String

B. Tuples

C. Set

D. None of these


Report Bug


A. True

B. False

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. abcd

B. ABCD

C. error
     एरर

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


Report Bug


A. 0

B. 1

C. 10

D. 1.0


Report Bug


A. Object-oriented programming
     ऑब्जेक्ट ओरियन्टेड प्रोग्रामिंग

B. Structured programming
     स्ट्रक्चर्ड प्रोग्रामिंग

C. Functional programming
     फंक्शनल प्रोग्रामिंग

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


Report Bug


A. Guido van Rosum
     गुइडो वैन रोसुम

B. Travis Oliphant
     ट्रैविस ओलिफांट

C. Wes McKinney
     वेस मैककिनी

D. Jim Hugunin
     जिम हुगुनिन


Report Bug


A. objects
     ऑब्जेक्ट्स

B. style
     स्टाइल

C. memory
     मेमोरी

D. None
     कोई नहीं


Report Bug


A. True

B. False

C. None
     कोई नहीं

D. Error
     एरर


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

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

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

D. { }


Report Bug


A. Numbering Python
     नबरिंग पाइथन

B. Number In Python
     नबरिंग इन पाइथन

C. Numerical Python
     नुमेरिकल पाइथन

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


Report Bug


A. \\n

B. \n

C. New line

D. Error
     एरर


Report Bug


A. 3 5 6

B. 6 3 5

C. 5 6 3

D. 6 5 3


Report Bug


A. i.__add(j)

B. i.__add__(j)

C. i.__Add(j)

D. i.__ADD(j)


Report Bug


A. 0 1 2 0

B. 0 1 2

C. 0 0 1 0 2

D. error


Report Bug


A. one-star followed by a valid identifier
     एक के बाद एक वैलिड आइडेंटिफायर

B. one underscore followed by a valid identifier
     एक वैलिड आइडेंटिफायर के बाद एक अंडरस्कोर

C. two stars followed by a valid identifier
     दो स्टार्स के बाद एक वैलिड आइडेंटिफायर है

D. two underscores followed by a valid identifier
     वैलिड आइडेंटिफायर द्वारा दो अंडरस्कोर


Report Bug


A. pass
     पास

B. null
     नल

C. empty
     इम्पटी

D. None
     कोई नहीं


Report Bug


A. f.readlines()

B. f.readline()

C. f.read()

D. f.line()


Report Bug


A. length

B. length()

C. len()

D. None
     कोई नहीं


Report Bug


A. An algorithm

B. A decision table

C. A program

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


Report Bug


A. 0

B. 1

C. 11

D. 10


Report Bug


A. collection of integer number
     इंटीजर नंबर का संग्रह

B. collection of string
     स्ट्रिंग का संग्रह

C. collection of same data type
     समान डेटा प्रकार का संग्रह

D. collection of different data type
     विभिन्न प्रकार के डेटा का संग्रह


Report Bug


A. 0

B. 1

C. 4

D. 2


Report Bug


A. constructs an iterator from elements of an iterable for which a function returns true.
     एक इटरेबल के एलिमेन्टो से एक इटरेटर का निर्माण करता है जिससे एक फंक्शन true परिणाम देता है।

B. filters the given sequence with the help of a function that tests each element in the sequence to be true or not.
     दिए गए अनुक्रम को एक फंक्शन की सहायता से फ़िल्टर करता है जो अनुक्रम में प्रत्येक एलिमेन्ट को सत्य या गलत होने का परीक्षण करता है ।

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

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


Report Bug


A. [4,5, 6

B. [7]

C. [1, 2,3, 4]

D. 7


Report Bug


A. create()

B. list()

C. tuple()

D. array()


Report Bug


A. Type Casting

B. Data Transformation

C. Type modification

D. Variable Shifting


Report Bug


A. { }

B. set()

C. [ ]

D. ( )


Report Bug


A. os

B. fileutils

C. filesystem

D. io


Report Bug


A. 30

B. 25

C. 20

D. 50


Report Bug


A. Integrated Development and Learning Environment

B. Interpreted Development and Language Environment

C. Integrated Development and Language Environment

D. Integrated Designing and Language Environment


Report Bug


A. [2 4 1 3 5 ]

B. [5 9 1]

C. 15

D. ValueError


Report Bug


A. Identifiers

B. Function

C. Keywords

D. Literals


Report Bug


A. round(45.8)

B. round(6352.898,2,5)

C. round()

D. round(7463.123,2,1)


Report Bug


A. list(array)
     लिस्ट(ऐरे)

B. list.array
     लिस्ट.ऐरे

C. array.list
     ऐरे.लिस्ट

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


Report Bug


A. Error
     एरर

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

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

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


Report Bug


A. Passing –O when running python

B. Assertions are disabled by default

C. Both A and B are wrong

D. Assertions cannot be disabled in python


Report Bug


A. zxxy

B. xyxxyyzxxy

C. xyxzxxy

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


Report Bug


A. lowercase
     लोअरकेस

B. UPPERCASE
     अपरकेस

C. Capitalized
     कैपिटलाईज्ड

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


Report Bug


A. Arithmetic

B. Relational

C. Logical

D. Assignment


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

B. read()

C. close()

D. tell()


Report Bug


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

B. all()
     ऑल()

C. chr()

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


Report Bug


A. [2 3 4 5]

B. [3 4 5 6]

C. [1 2 3 4]

D. [2 4 6 8]


Report Bug


A. \n

B. \t

C. \\

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


Report Bug


A. +

B. *

C. %

D. None
     कोई नहीं


Report Bug


A. Identifiers
     Identifier

B. constant

C. syntax

D. expression


Report Bug


A. 3 1

B. 1 3

C. error
     एरर

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


Report Bug


A. (2 , 4), (4 , 5)

B. (3 , 9)

C. (2, 4, 1, 5)

D. Invalid Syntax


Report Bug


A. softspace

B. mode

C. closed

D. rename


Report Bug


A. str1[ : : -1 ]

B. str1[ : : 1 ]

C. str1[ : -1 : -1 ]

D. None
     कोई नहीं


Report Bug


A. yes
     हाँ

B. no
     नहीं

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

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


Report Bug


A. (1)

B. (1,)

C. [1]

D. {1}


Report Bug


A. 16

B. 32

C. 64

D. None of These


Report Bug


A. int

B. bool

C. void

D. None


Report Bug


A. np.array()

B. np.zeros()

C. np.empty()

D. All of the above


Report Bug


A. .py

B. .python

C. .ppt

D. .pyt


Report Bug


A. raise

B. try

C. val

D. with


Report Bug


A. A rectangle

B. A rhombus

C. A parallelogram

D. A circle


Report Bug


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

B. Concatenation
     कंकटेनशन

C. Deletion of elements
     एलिमेंट्स का विलोपन

D. Iteration
     इट्रेशन


Report Bug


A. Ab cd ef

B. Ab cd eF

C. Ab Cd Ef

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


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. Stack
     स्टैक

B. Queue
     क्यू

C. Pointer
     पॉइंटर

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


Report Bug


A. 6

B. 8

C. 9

D. 11


Report Bug


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

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

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

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


Report Bug


A. min()

B. divmod()

C. all()

D. float()


Report Bug


A. Tuples (seq)

B. list(seq)

C. dict (seq)

D. None
     कोई नहीं


Report Bug


A. Identifiers

B. Functions

C. Keywords

D. Literals


Report Bug


A. asc()

B. ord()

C. asci()

D. ascii()


Report Bug


A. We can find the dimension of the array

B. Size of array

C. Operational activities on Matrix

D. None of the mentioned above


Report Bug


A. ['h', 'e', 'l', 'l', 'o']

B. [' hello']

C. ['llo']

D. ['olleh']


Report Bug


A. [3, 4, 5, 20, 5, 25, 1, 3, 34, 5]

B. [1, 3, 3, 4, 5, 5, 20, 25, 34, 5]

C. [25, 20, 5, 5, 4, 3, 3, 1, 34, 5]

D. [1, 3, 4, 5, 20, 5, 25, 3, 34, 5]


Report Bug


A. Error, 6
     एरर,6

B. 12, Error
     12,एरर

C. 12, 6

D. Error, Error
     एरर,एरर


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. Built in datatype
     डेटाटाइप में बनाना

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

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

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


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. []

B. [10, 8, 6]

C. [2, 5, 8]

D. [8, 5, 2]


Report Bug


A. rb+

B. rb-

C. Wb

D. None
     कोई नहीं


Report Bug


A. .

B. *

C. ->

D. &


Report Bug


A. last index
     लास्ट इंडेक्स

B. first index
     फर्स्ट इंडेक्स

C. middle index
     मीडिल इंडेक्स

D. end index
     इंड इंडेक्स


Report Bug


A. for

B. goto

C. continue

D. break


Report Bug


A. We can replace a recursive function by a non-recursive function.
     हम एक रिकर्सिव फंक्शन को एक नॉन-रिकर्सिव फंक्शन द्वारा प्रतिस्थापित कर सकते हैं।

B. The memory space taken by the recursive functions is more than that of non-recursive function,
     रिकर्सिव फंक्शनो द्वारा लिया गया मेमोरी स्पेस नॉन-रिकर्सिव फंक्शन की तुलना में अधिक है।

C. Running a recursive function is faster as compared to a non-recursive function.
     नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन को रन करना तेज़ होता है।

D. The process of recursion makes it easier for users to understand a program.
     रिकर्सन की प्रक्रिया उपयोगकर्ताओं के लिए प्रोग्राम को समझना आसान बनाती है


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. Runtime error
     रनटाइम एरर

B. Syntax error
     सिंटेक्स एरर

C. logical error
     लॉजिकल एरर

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


Report Bug


A. Program gets into an infinite loop
     प्रोग्राम एक इन्फनिट लूप में जाता है

B. Program runs once
     प्रोग्राम एक बार चलता है

C. Program runs n number of times where n is the argument given to the function
     प्रोग्राम n की नंबर को चलाता है जहां n फ़ंक्शन के लिए दिया गया आर्ग्यमन्ट है

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


Report Bug


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

B. (‘ab’, ‘cd’)

C. error
     एरर

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


Report Bug


A. int x = 10

B. x = 10

C. var x = 10

D. x: 10


Report Bug


A. def function function_name():

B. declare function function_name():

C. def function_name():

D. declare function_name():


Report Bug


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

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

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

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




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