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. {‘d’, ‘c’, ‘m’, ‘l’, ‘p’, ‘c’}

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

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

D. None of These


Report Bug


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

B. Runtime Error
     रनटाइम एरर

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

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


Report Bug


A. 6

B. 1

C. 0

D. 7


Report Bug


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

B. Flow
     फ्लो

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

D. syntax
     सिन्टैक्स


Report Bug


A. startswith()

B. startswith_prefix()

C. startswithwith()

D. startswiths()


Report Bug


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

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

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

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


Report Bug


A. (‘ab’, ‘ef’)

B. (‘abef’)

C. (‘ab’, ‘cd’, ‘ef’)

D. 2


Report Bug


A. 1

B. 2

C. 4

D. 5


Report Bug


A. list1.addEnd (5)

B. list1.addLast (5)

C. list1.append (5)

D. list1.add(5)


Report Bug


A. email

B. ca$h

C. marks10

D. Python2Shar


Report Bug


A. 0

B. 1

C. 3

D. 2


Report Bug


A. False
     गलत

B. True
     सही

C. Syntax error for issuperset() method
     Issuperset () विधि के लिए सिंटैक्स एरर

D. Error, no method called issuperset() exists
     एरर, कोई मैथड जिसे ssuperset कहा जाता है () मौजूद है


Report Bug


A. unichr (x)

B. oct (x)

C. chr(x)

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


Report Bug


A. Tuple
     टपल

B. Integer
     इन्टिजर

C. List
     लिस्ट

D. Both tuple and integer
     टपल और इन्टिजर दोनों


Report Bug


A. m, y, , n, a, m, e, , i, s, , x,

B. m, y, , n, a, m, e, , i, s, , x

C. my, name, is, x,

D. error
     एरर


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


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. Exponential
     घातीय

B. Parentheses
     कोष्ठक

C. Multiplication
     गुणन

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


Report Bug


A. (3,)

B. (4,)

C. 1

D. 3


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. Only integers
     केवल पूर्णांक

B. Only floating-point numbers
     केवल फ़्लोटिंग-पॉइंट संख्याएँ

C. Homogeneous, but can be integers or floating-point numbers
     एक पारकर के डाटा , लेकिन पूर्णांक या फ़्लोटिंग-पॉइंट संख्याएं हो सकती हैं

D. Heterogeneous, supporting a mix of data types
     विषम, डेटा प्रकारों के मिश्रण का समर्थन करता है


Report Bug


A. not

B. %

C. and

D. +


Report Bug


A. close_file()

B. file_close()

C. close()

D. end_file()


Report Bug


A. / /

B. >

C. and

D. ?


Report Bug


A. Return
     रिटर्न

B. pass
     पास

C. for
     फॉर

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


Report Bug


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

B. Python package Installer
     पायथन पैकेज इंस्टालर

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

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


Report Bug


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

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

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

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


Report Bug


A. []

B. [10, 8, 6]

C. [2, 5, 8]

D. [8, 5, 2]


Report Bug


A. Wed

B. Wednesday
     वेडन्सडे

C. 2

D. 3


Report Bug


A. Array

B. List

C. Matrix

D. Tuple


Report Bug


A. PYTHONPATH
     पाइथनपाथ

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

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

D. PYTHONHOME
     पाइथनहोम


Report Bug


A. 10

B. 18

C. 79

D. 95


Report Bug


A. 4

B. 16

C. 6

D. 2


Report Bug


A. 0,1,2,3

B. [0,1,2,3]

C. range(0, 4)

D. (0,1,2,3)


Report Bug


A. a B C D

B. a b c d

C. A B C D

D. error


Report Bug


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

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

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

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


Report Bug


A. Performs integer division and returns the integer part.
     इन्टिजर डिवीज़न करता है और इन्टिजर पार्ट रिटर्न करता है।

B. Performs normal division and returns a float.
     नॉर्मल डिवीज़न करता है और एक फ़्लोट रिटर्न करता है।

C. Performs modulus operation.
     मॉडुलुस ऑपरेशन करता है

D. Performs exponential calculation.
     एक्सपोनेंशियल कैलकुलेशन करता है.


Report Bug


A. No Operation

B. No Action

C. Null Statement

D. Placeholder


Report Bug


A. .py

B. .pyth

C. .python

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


Report Bug


A. 1

B. 9

C. 15

D. Error
     एरर


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. write(s)

B. writelines (lines)

C. readlines (lines)

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


Report Bug


A. zxxy

B. xyxxyyzxxy

C. xyxzxxy

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


Report Bug


A. getkeys()

B. key()

C. keys()

D. none of the mentioned


Report Bug


A. from package import all

B. from package import *

C. from package include all

D. from package include*


Report Bug


A. A*A=8

B. A*=8

C. A*8=A

D. A=*8


Report Bug


A. read()

B. Readline()

C. write()

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


Report Bug


A. close.fp

B. fp.close()

C. file.exit()

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


Report Bug


A. 5

B. 4

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. .py

B. .python

C. .ppt

D. .pyt


Report Bug


A. 4

B. 5

C. 0

D. 1


Report Bug


A. Read two words from file

B. Read two line from file

C. Read two character / two bytes

D. count the number of '2' in file


Report Bug


A. 0

B. None
     कोई नहीं

C. 3

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


Report Bug


A. 3

B. 3.3

C. 0

D. error


Report Bug


A. 5.354562653589793

B. 3.141592653589793

C. 7.867564234556778

D. 9.048495456553358


Report Bug


A. True True

B. True False

C. False True

D. False False


Report Bug


A. It supports automatic garbage collection

B. It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java

C. Both of the above

D. None of the above


Report Bug


A. {'Joey': 1, 'Rachel': 2, 'Phoebe': 2}

B. {“Joey”:1,”Rachel”:}

C. {“Joey”:1,”Phoebe”:2}

D. Error


Report Bug


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

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

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

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


Report Bug


A. 64

B. 512

C. 729

D. Error
     एरर


Report Bug


A. 0

B. 1

C. error
     एरर

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


Report Bug


A. 89

B. [1,2,3,4]

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

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


Report Bug


A. colon

B. statements indented at a lower, same level

C. indentation in any form

D. { }


Report Bug


A. anywhere in between the file
     फ़ाइल के बीच में कही भी

B. End
     अंत

C. beginning
     आरम्भ में

D. second line of the file
     फ़ाइल की दूसरी पंक्ति


Report Bug


A. Use multiple write() statements.

B. Use writelines() method.

C. Use writeLine() method.

D. Use append() method.


Report Bug


A. 4.0 + float(3)

B. 5.3 + 6.3

C. 5.0 + 3

D. 3 + 7


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

B. (space)

C. ,

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


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

B. anonymous
     अनाम

C. lambda

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


Report Bug


A. [10,20,30,10,20,30]

B. [20,40,60]

C. [10,20,30,20,40,60]

D. None
     कोई नहीं


Report Bug


A. 3

B. 1

C. 2

D. 0


Report Bug


A. Identifier

B. Expression

C. Syntax

D. Task


Report Bug


A. a+√b

B. a+√b j

C. a+bj

D. a+√j


Report Bug


A. 0 1 2 3 0

B. 0 1 2 0

C. 0 1 2

D. error
     एरर


Report Bug


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

B. Membership
     मेंबरशिप

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

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


Report Bug


A. readlines()

B. read()

C. Both of the above

D. None of the above


Report Bug


A. Keywords

B. Identifires

C. Token

D. Statement


Report Bug


A. 55

B. 10

C. 5

D. Type Error
     एरर टाइप करें


Report Bug


A. 0

B. 1

C. 4

D. 2


Report Bug


A. 5

B. 23

C. 18

D. Invalid syntax for sum method, too many arguments
     सम मैथड के लिए इनवैलिड सिंटैक्स, बहुत सारे आर्ग्यमन्ट


Report Bug


A. >>>

B. <<<

C. #

D. <<


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. l=[]

B. l=list()

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

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


Report Bug


A. rank
     रैंक

B. dtype
     डीटाइप

C. shape
     शेप

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


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. d.delete(“john”:40)
     d.delete ( &quot;जॉन&quot;: 40)

B. d.delete(“john”)
     d.delete ( &quot;जॉन&quot;)

C. del d[“john”]
     डेल डी [&quot;जॉन&quot;]

D. del d(“john”:40)
     डेल डी (&quot;जॉन&quot;: 40)


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. d.size()

B. len(d)

C. size(d)

D. d.len ()


Report Bug


A. int

B. bool

C. void

D. None


Report Bug


A. Interactive Mode

B. Script Mode

C. Both Interactive Mode or Script Mode

D. None of These


Report Bug


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

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

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

D. { }


Report Bug


A. arr1 + arr2

B. add(arr1, arr2)

C. arr1.add(arr2)

D. elementwise_add(arr1, arr2)


Report Bug


A. else

B. import

C. print

D. all of these


Report Bug


A. [ 2 4 3 5]

B. [ 6 20]

C. [ 6 12 10 20]

D. 26


Report Bug


A. difficult syntax error in a program
     किसी प्रोग्राम में कठिन सिंटैक्स एरर

B. logical error in a programm
     एक प्रोग्राम में लॉजिकल एरर

C. Both a and b
     A और B दोनों

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


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 will raise an IndexError.
     यह एक IndexError बढ़ाएगा।

B. It will iterate once with a default value of None.
     यह कोई नहीं के डिफ़ॉल्ट वैल्यू के साथ एक बार ईट्रेट होगा।

C. It will not execute the loop body.
     यह लूप बॉडी एक्सक्यूट नहीं करेगा.

D. It will run indefinitely.
     यह अनिश्चित काल तक रन करेगा


Report Bug


A. 4

B. 5

C. 9

D. 8


Report Bug


A. [0, 2, 4]

B. [1, 3, 5]

C. [0, 1, 2, 5]

D. [0, 5, 2]




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