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

B. Function

C. Keywords

D. Literals


Report Bug


A. in

B. is

C. id

D. ==


Report Bug


A. High Level

B. Low Level

C. Procedural

D. Difficult


Report Bug


A. Numbering Python

B. Number in Python

C. Numerical Python

D. Number for Python


Report Bug


A. / /

B. >

C. and

D. ?


Report Bug


A. ord()

B. min()

C. chr()

D. any()


Report Bug


A. No Operation

B. No Action

C. Null Statement

D. Placeholder


Report Bug


A. List is not defined
     लिस्ट डिफाईन नहीं है

B. List index out of range
     लिस्ट इंडेक्स रेंज से बाहर है

C. List index out of bound
     लिस्ट इंडेक्स बाउंड से बाहर है

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


Report Bug


A. Iterating over a list.
     किसी लिस्ट को इटरेटिंग करना।

B. Iterating over a string.
     एक स्ट्रिंग पर इटरेटिंग.

C. Iterating over a dictionary.
     एक ड़िक्शनरी पर इटरेटिंग।

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


Report Bug


A. if a> = 2:

B. if (a>= 2)

C. if (a => 22)

D. if a >= 22


Report Bug


A. np.array()

B. np.zeros()

C. np.empty()

D. All of the above


Report Bug


A. 4

B. 5

C. 9

D. 8


Report Bug


A. Performance

B. Algorithmic Representation

C. Evaluation

D. Flowcharting


Report Bug


A. 5

B. 8

C. 2

D. 1


Report Bug


A. exp(x)

B. eval(str)

C. str(x)

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


Report Bug


A. Any Random Number

B. 0

C. 1

D. Error


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. x += 5

B. x *= 5

C. x = x ** 5

D. none of these


Report Bug


A. (1,3)

B. (2,5)

C. (2,1)

D. (4,8)


Report Bug


A. readline()
     readline

B. read()
     read

C. readinglines()

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


Report Bug


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

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

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

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


Report Bug


A. int

B. bool

C. float

D. None


Report Bug


A. A

B. B

C. C

D. D


Report Bug


A. File Found Error

B. File Not Exist Error

C. File Not Found Error

D. None of these


Report Bug


A. Write

B. Read

C. Append

D. Read and Write Both


Report Bug


A. True
     सही

B. false
     गलत

C. ValueError occurs
     ValueError होती है

D. TypeError occurs
     TypeError होता है


Report Bug


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

B. i i i i i i … infinite Time
     i i i i i i … अनंत समय

C. a a a a a a …

D. a b c d e f


Report Bug


A. error

B. 6

C. 1

D. 3


Report Bug


A. Lists

B. Dictionary

C. Tuples

D. Class


Report Bug


A. Input/Output, Decision, Repeat

B. Input, Output, Process

C. Loop, Input/Output, Process

D. Sequence, Selection, Repeat


Report Bug


A. Compiler
     कंपाइलर

B. Assembler
     असेंबलर

C. Translator
     ट्रांसलेटर

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


Report Bug


A. Text document
     टेक्स्ट डॉक्यूमेन्ट

B. Spreadsheet
     स्प्रेडशीट

C. reference
     रिफरेन्स

D. Database
     डाटाबेस


Report Bug


A. .module

B. .py

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

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


Report Bug


A. startswith()

B. startswith_prefix()

C. startswithwith()

D. startswiths()


Report Bug


A. Type conversion
     टाईप कन्वर्जन

B. Type casting
     टाईप कॉस्टिंग

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

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


Report Bug


A. 'm+nl'

B. 'mn1'

C. 'm n1'

D. 'm'


Report Bug


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

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

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

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


Report Bug


A. what

B. y

C. a

D. Error


Report Bug


A. HTTP

B. urllib

C. socket

D. header


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. indexing
     इन्डेक्सिंग

B. Replication
     रेप्लिकेशन

C. concatenation
     कॉन्केटनेशन

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


Report Bug


A. pickle

B. binary

C. unpickle

D. fstream


Report Bug


A. The program prints two rows 3 4 5 1 followed by 33 6 1 2
     प्रोग्राम दो रो 3 4 5 1 को प्रिंट करता है और उसके बाद 33 6 1 2

B. The program prints on row 3 4 5 1 33 6 1 2
     प्रोग्राम रो 3 4 5 1 33 6 1 2 पर प्रिंट करता है

C. The program prints two rows 3 4 5 1 followed by 33 6 1 2
     प्रोग्राम दो रो 3 4 5 1 को प्रिंट करता है और उसके बाद 33 6 1 2

D. The program prints two rows 1 3 4 5 followed by 1 2 6 33
     प्रोग्राम दो रो 1 3 4 5 प्रिंट करता है और उसके बाद 1 2 6 33


Report Bug


A. arr1 + arr2

B. add(arr1, arr2)

C. arr1.add(arr2)

D. elementwise_add(arr1, arr2)


Report Bug


A. 1

B. 1 2

C. 1 2 3 4 5 6 …

D. 1 3 5 7 9 11 … infinite time


Report Bug


A. //

B. %

C. &

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. 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. (3,1)

B. (4,2)

C. (5,7)

D. (1,3)


Report Bug


A. Keywords
     कीवर्ड

B. Identifiers
     आइंडेंटीफायर्स

C. Operators
     ऑपरेटर्स

D. Statements
     स्टेटमेंट्स


Report Bug


A. generates a list of numbers, to iterate over with for loops
     लिस्ट ऑफ नंबर्स को जनरेट करना ताकि वो फॉर लूप पर इटरेट हो ।

B. immediate exit from the innermost loop structure.
     इनरमोस्ट लूप में से इमीडियेट एग्जिट

C. returned an iterator a sequence object.
     सीक्वेंस ऑब्जेक्ट का इटरेटर रिटर्न करता है।

D. Arranging numbers whether in ascending or descending order.
     संख्याओं को आरोही या अवरोही क्रम में व्यवस्थित करना ।


Report Bug


A. Yes
     हाँ

B. No
     नहीं

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

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


Report Bug


A. True
     सही

B. False
     गलत

C. Error
     एरर

D. None
     कोई नहीं


Report Bug


A. _

B. &

C. %

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


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. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. list
     लिस्ट

B. set
     सेट

C. dictionary
     डिक्शनरी

D. tuple
     टपल


Report Bug


A. d.size()

B. len(d)

C. size(d)

D. d.len ()


Report Bug


A. 9

B. 4

C. 9.0

D. 4.0


Report Bug


A. int

B. list

C. dictionary
     ड़िक्शनरी

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


Report Bug


A. 65536

B. 33

C. 169

D. None of the above


Report Bug


A. Repeating a process in a loop

B. Calling a function from within itself

C. Using a loop to iterate over elements

D. Breaking down a problem into smaller subproblems


Report Bug


A. 7

B. 1

C. 0

D. 5


Report Bug


A. function
     फंक्शन

B. tuple
     टपल

C. list
     लिस्ट

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


Report Bug


A. 0

B. 4

C. 1

D. 2


Report Bug


A. [‘A’,’B’,’C’]

B. [‘B’,’C’,’A’]

C. [5,7,9]

D. [9,5,7]


Report Bug


A. [‘ab’, ‘ef’, ‘gh’]

B. [‘ab’, ‘ef’, ‘gh’, ”]

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

D. (‘ab’, ‘ef’, ‘gh’, ”)


Report Bug


A. close.fp

B. fp.close()

C. file.exit()

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


Report Bug


A. 6

B. 1

C. 2

D. Error
     एरर


Report Bug


A. True
     सही

B. False
     ग़लत

C. 55

D. TypeError
     टाइपएरर


Report Bug


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

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

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

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


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. Arithmetic or Relational expression

B. Arithmetic or Logical expression

C. Relational or Logical expression

D. Arithmetic


Report Bug


A. Oval

B. Rectangle

C. Arrow

D. Diamond


Report Bug


A. readall()

B. read()

C. readcharacter()

D. readchar()


Report Bug


A. 11

B. 8

C. 1

D. 0


Report Bug


A. True
     सही

B. False
     ग़लत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. 34

B. 40

C. 50

D. None
     कोई नहीं


Report Bug


A. An algorithm

B. A decision table

C. A program

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


Report Bug


A. print(t[3])

B. t[3] = 45

C. print(max(t))

D. print(len(t))


Report Bug


A. read binary

B. write binary

C. append binary

D. read write


Report Bug


A. Segments
     सेग्मेंट्स

B. Modules
     मॉडुल्स

C. Units
     यूनिट्स

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


Report Bug


A. [‘h’, ‘e’, ‘l’, ‘l’, ‘o’]

B. [‘hello’]

C. [‘llo’]

D. [‘olleh’]


Report Bug


A. float(‘10’)
     float(‘10’)

B. int(‘10’)
     int(‘10’)

C. float(’10.8’)
     float(’10.8’)

D. int(’10.8’)
     int(’10.8’)


Report Bug


A. a+√b

B. a+√b j

C. a+bj

D. a+√j


Report Bug


A. Machine language
     मशीन लैंग्वेज

B. Assembly language
     असेंब्ली लैंग्वेज

C. High-level language
     हाई-लेवल लैंग्वेज

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


Report Bug


A. 4

B. 3.4

C. error
     एरर

D. 5


Report Bug


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

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

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

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


Report Bug


A. NumPy arrays have contiguous memory location
     NumPy सरणियों में सन्निहित स्मृति स्थान होता है

B. They are more speedy to work with
     उनके साथ काम करने की गति अधिक होती है

C. They are more convenient to deal with
     वे निपटने के लिए अधिक सुविधाजनक हैं

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


Report Bug


A. Oval or Pill Shape
     ओवल या पिल शेप

B. Rectangle
     आयत

C. Diamond
     डॉयमण्ड

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


Report Bug


A. True
     सही

B. False
     ग़लत

C. 0
     शून्य

D. Error
     एरर


Report Bug


A. .py

B. .pyth

C. .python

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


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

B. Statement box

C. Error box

D. If-statement box


Report Bug


A. 8

B. Error, unsupported operand ‘+’ for sets

C. 6

D. Nothing is displayed
     कुछ भी डिस्प्लेड नहीं है


Report Bug


A. int

B. bool

C. void

D. None
     कोई नहीं


Report Bug


A. [“john”, “peter”]

B. [“john”:40, “peter”:45]

C. (“john”, “peter”)

D. (“john”:40, “peter”:45)


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. Error, 6
     एरर,6

B. 12, Error
     12,एरर

C. 12, 6

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




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