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. enumerate()
     इनूमरेट()

B. all()
     ऑल()

C. chr()

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


Report Bug


A. remove((), file_name))

B. remove (new_file_name, current_file_name,)

C. remove (file_name)

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


Report Bug


A. file.writelines(sequence)

B. fileObject.writelines()

C. fileObject.writelines(sequence)

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


Report Bug


A. and

B. or

C. not

D. Assignment


Report Bug


A. a b c d

B. 0 1 2 3

C. error
     एरर

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


Report Bug


A. softspace

B. mode

C. closed

D. rename


Report Bug


A. built-in functions

B. user-defined functions

C. py function

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


Report Bug


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

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

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

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


Report Bug


A. 100

B. -100

C. -101

D. 101


Report Bug


A. 1

B. 3

C. 9

D. 4


Report Bug


A. / /

B. >

C. and

D. ?


Report Bug


A. Interactive Mode

B. Script Mode

C. Combination of Interactive and Script modes

D. All of these


Report Bug


A. General input symbol

B. Operation on data

C. Online use of keyboard

D. Output data screen


Report Bug


A. sys.platform

B. sys.path

C. sys.readline

D. sys.argv


Report Bug


A. Method returns true if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns false
     यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड ट्रू रिटर्न करता है। यदि नहीं, तो यह फॉल्स रिर्न करता टहै।

B. Method returns False if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns True
     यदि स्ट्रिंग में सभी कैरेक्टर अल्फान्यूमेरिक संख्याएँ (या तो अक्षर या संख्याएँ) हैं, तो मेथड फॉल्स रिटर्न करता है। यदि नहीं, तो यह ट्रू रिटर्न करता है।

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

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


Report Bug


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

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

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

D. All of the above


Report Bug


A. variable
     वैरिएबल

B. literal
     लिटरल

C. identifier
     आइडेंटिफायर

D. comment
     कमेंट


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. It skips the current iteration and goes to the next iteration.
     यह प्रेजेंट इट्रेशन को स्किप कर देता है और नेक्स्ट इट्रेशन पर चला जाता है।

B. It terminates the loop entirely
     यह लूप को पूरी तरह से टर्मिनेट कर देता है।

C. It does nothing.
     यह कुछ नहीं करता.

D. It restarts the loop.
     यह लूप को रीस्टार्ट करता है।


Report Bug


A. softspace
     सॉफ्ट स्पेस

B. mode
     मोड

C. closed
     क्लोस्ड

D. rename
     रिनेम


Report Bug


A. List

B. Dictionary

C. String

D. Tuple


Report Bug


A. continue

B. check
     चेक

C. range
     रेंज

D. break
     ब्रेक


Report Bug


A. [0]

B. 0

C. [0.00]

D. Error
     एरर


Report Bug


A. 2 3 4

B. 1 2 3 4

C. 2

D. None of These


Report Bug


A. Input/Output, Decision, Repeat
     इनपुट/आउटपुट, डिसीज़न,रीपीट

B. Input, Output, Process
     इनपुट, आउटपुट, प्रॉसेस

C. Loop, Input/Output, Process
     लूप, इनपुट/आउटपुट, प्रॉसेस

D. Sequence, Selection, Repeat
     सीक्वेंस,सेलेक्शन,रीपीट


Report Bug


A. .module

B. .py

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

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


Report Bug


A. a a a a a

B. a a a a a a

C. a a a a a a … infinite Time
     a a a a a a … infinite Time

D. a


Report Bug


A. Str

B. int

C. convert
     कन्वर्ट

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


Report Bug


A. int

B. bool

C. void

D. None


Report Bug


A. Batter Programming
     बेहतर प्रोग्रामिंग

B. Optimized Coding
     अनुकूलित कोडिंग

C. Systematic testing
     व्यवस्थित परीक्षण

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


Report Bug


A. list.contains(value)

B. list.index(value)

C. list.contains(value)

D. value in list


Report Bug


A. 3

B. 3.3

C. 0

D. error


Report Bug


A. sys.argv

B. sys.readline

C. sys.path

D. sys.platform


Report Bug


A. parallelogram
     समांतर चतुर्भुज

B. Diamond shape
     डॉयमेन्ड शेप

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

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


Report Bug


A. 6

B. 1

C. 2

D. Error
     एरर


Report Bug


A. empty_tuple = ()

B. empty_tuple = tuple()

C. empty_tuple = []

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


Report Bug


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

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

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

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


Report Bug


A. 3 1

B. 1 3

C. error
     एरर

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


Report Bug


A. a=2,b=3,c=4

B. a,b,c=2,3,4

C. a=2;b=3;c=4

D. Both b and c
     बी और सी दोनों


Report Bug


A. ; (semicolon)

B. ,(Comma)

C. : (colan)

D. None of these
     कोई नही


Report Bug


A. 1 2 3 4

B. 4 3 2 1

C. error
     एरर

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


Report Bug


A. 31 characters
     31 कैरेक्टर

B. 63 characters
     63 कैरेक्टर

C. No limit but 79 characters for better redability
     कोई नहीं परन्तु 79 कैरेक्टर

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


Report Bug


A. 4.5

B. 4.0

C. 4

D. Error


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

B. Interpreter

C. Executer

D. Translator


Report Bug


A. 0

B. None
     कोई नहीं

C. 3

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


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

B. .module

C. .py

D. .python


Report Bug


A. 11

B. 8

C. 1

D. 0


Report Bug


A. 6

B. 8

C. 9

D. 11


Report Bug


A. 0 1 2

B. None None None
     कोई नहीं कोई नहीं

C. error
     एरर

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


Report Bug


A. -1

B. 4

C. 3

D. 1


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. mutability

B. static typing

C. dynamic typing

D. immutability


Report Bug


A. 2

B. 33

C. 14

D. 25


Report Bug


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

B. (‘ab’, ‘cd’)

C. error
     एरर

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


Report Bug


A. Option A

B. Option B

C. Option C

D. Option D


Report Bug


A. Subtracting two numbers
     दो संख्याओं को घटने

B. Comparing two data values
     दो डेट मनो की तुलना करने

C. Providing output to the user
     उपयोगकर्ता को आउटपुट प्रदान करने

D. Adding two numbers
     दो नंबर जोड़ना


Report Bug


A. Interpreter
     इंटरप्रेटर

B. Compiler
     कम्पाइलर

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

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


Report Bug


A. ab

B. rw

C. a+

D. r+


Report Bug


A. Hello

B. 949227

C. True

D. "2'


Report Bug


A. 10

B. 21

C. 12

D. 28


Report Bug


A. 4

B. 3.4

C. error
     एरर

D. 5


Report Bug


A. *

B. **

C. <

D. ==


Report Bug


A. Decimal

B. Octal

C. Hexadecimal

D. Roman


Report Bug


A. my_string_1

B. 1st_string

C. foo

D. _myvar


Report Bug


A. X^y

B. X**y

C. X^^y

D. None of the mentioned


Report Bug


A. Removes all spaces from the string.
     स्ट्रिंग से सभी स्पेसेस को रिमूव कर देती है.

B. Removes the first and last character of the string.
     स्ट्रिंग का फर्स्ट और लास्ट कैरेक्टर को रिमूव कर देता है।

C. Removes whitespace from the beginning and end of the string.
     स्ट्रिंग के बिगनिंग और एन्ड से वाइटस्पेस को रिमूव करता है।

D. Converts the string into a list of characters.
     स्ट्रिंग को कैरेक्टर्स की लिस्ट में कन्वर्ट करता है।


Report Bug


A. Yes

B. No

C. if / else not used in python

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


Report Bug


A. Comma Space Value

B. Comma Separated Value

C. Common spaced Value

D. Compact Structure View


Report Bug


A. Ab cd-ef

B. Ab Cd-ef

C. Ab Cd-Ef

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


Report Bug


A. numpy.linspace()

B. numpy.range()

C. numpy.arrange()

D. numpy.spaceline()


Report Bug


A. 0 1 2 3 0

B. 0 1 2 0

C. 0 1 2

D. error
     एरर


Report Bug


A. 4

B. 7

C. 9

D. 8


Report Bug


A. count()

B. len()

C. index()

D. find()


Report Bug


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

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

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

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


Report Bug


A. xyyxyyxyxyxxy

B. 12y12y1212x12

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

D. error
     एरर


Report Bug


A. ['', 'b', 'bb', 'bbb']

B. ['b,'bb', "bbb', "bbbb']

C. ['b','bb', bbb']

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


Report Bug


A. abc = 1,000,000

B. a b c = 1000 2000 3000

C. a,b,c = 1000, 2000, 3000

D. a_b_c = 1,000,000


Report Bug


A. variable
     वेरिएबल

B. literal
     लिटरल

C. identifier
     आइडेंटिफायर

D. comment
     कमेंट


Report Bug


A. count()

B. upper()

C. strip()

D. All the above
     ऊपर के सभी


Report Bug


A. String
     स्ट्रिंग

B. List
     लिस्ट

C. Tuple
     टपल

D. Dictionary
     डिक्शनरी


Report Bug


A. form
     फॉर्म

B. access
     एक्सेज

C. import
     इंपोर्ट

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


Report Bug


A. ^

B. **

C. ^^

D. exp()


Report Bug


A. error
     एरर

B. do nothing, it is a placeholder for a function that is yet to be implemented
     कुछ भी न करें, यह एक फ़ंक्शन के लिए एक प्लेसहोल्डर है जिसे अभी तक लागू नहीं किया गया है

C. shuffle the elements of the list in-place
     सूची के एलिमेंट्स को इन-प्लेस में शफल करें

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


Report Bug


A. Interactive Mode

B. Script Mode

C. Both Interactive Mode or Script Mode

D. None of These


Report Bug


A. . List is mutable & Tuple is immutable

B. List is immutable & Tuple is mutable

C. Both are mutable

D. Both are immutable


Report Bug


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

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

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

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


Report Bug


A. 0

B. 3

C. 2.3

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


Report Bug


A. Yes
     हाँ

B. No
     नहीं

C. Can't say
     कह नहीं सकता

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


Report Bug


A. 0.0

B. 0

C. 1.0

D. 1


Report Bug


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

B. A

C. 5

D. C


Report Bug


A. 3 -3

B. 4 -4

C. 3 -4

D. 3 3


Report Bug


A. list
     लिस्ट

B. tuple
     टपल

C. class
     क्लास

D. dictionary
     डिक्शनरी


Report Bug


A. oval
     अंडाकार

B. rectangle
     आयत

C. arrow
     एरो

D. diamond
     डायमंड


Report Bug


A. np.array()

B. np.zeros()

C. np.empty()

D. All of the above


Report Bug


A. Error
     एरर

B. Either 3 or 4

C. Any integer other than 3 and 4
     3 और 4 के अलावा कोई भी इन्टिजर

D. Any decimal value between 3 and 4
     3 और 4 के बीच कोई भी डेसिमल वैल्यू


Report Bug


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

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

C. Reshaping
     रिशेपिंग

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


Report Bug


A. 1 → B, 2 → C, 3 → A, 4 → D

B. 1 → A, 2 → B, 3 → D, 4 → C

C. 1 → D, 2 → A, 3 → F, 4 → B

D. 1 → B, 2 → F, 3 → C, 4 → A


Report Bug


A. floating

B. float

C. int

D. integer




Attempted 0
Not Attempted 100
Current 1
Choose Question
Latest Current Affairs 2025 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