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. pseudo codes

B. syntax

C. flowcharts

D. programs


Report Bug


A. ab12ef12

B. abcdef12

C. ab12efcd

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


Report Bug


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

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

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

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


Report Bug


A. read()

B. readline()

C. readlines()

D. load()


Report Bug


A. Standard Input

B. Standard Output

C. Standard Errors

D. All of the mentioned


Report Bug


A. Since “susan” is not a value in the set, Python raises a KeyError exception
     चूँकि "सुसान" सेट में कोई वैल्यू नहीं है,Python एक की एरर एक्सेप्शन्स को उठाता है

B. It is executed fine and no exception is raised, and it returns None
     इसे एक्सक्यूट किया जाता है और कोई एक्सेप्शन्स नहीं उठाया जाता है, और यह कोई भी नहीं रिटर्न करता है

C. Since “susan” is not a key in the set, Python raises a KeyError exception
     चूँकि "सुसान" सेट में कोई की नहीं है,Python एक की एरर एक्सेप्शन्स को उठाता है

D. Since “susan” is not a key in the set, Python raises a syntax error
     चूंकि "सुसान" सेट में एक की नहीं है,Python एक सिंटेक्स एरर उठाता है


Report Bug


A. writeline (s)

B. write(s)

C. read(s)

D. None
     कोई नहीं


Report Bug


A. if
     इफ

B. for
     फॉर

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

D. None
     कोई नहीं


Report Bug


A. Subroutines

B. Files

C. Pseudo code

D. Modules


Report Bug


A. 4

B. 3

C. 2

D. 1


Report Bug


A. Circle
     सर्किल

B. Parallelogram
     समन्तचतुर्भुज

C. Diamond
     डायमंड

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


Report Bug


A. Error

B. 6

C. 4

D. 3


Report Bug


A. Low-level Language
     लो लेवल लैंग्वेज

B. High-level Language
     हाई लेवल लैंग्वेज

C. Middle-level Language
     मिडिल लेवल लैंग्वेज

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


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. They cannot be edited
     वे बदले नही जा सकते है

B. They can be edited
     वे बदले जा सकते है

C. Both of the above

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


Report Bug


A. Numpy
     नमपाई

B. Array
     ऐरे

C. dictionary
     डिक्शनरी

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


Report Bug


A. 0

B. 1

C. error
     एरर

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


Report Bug


A. number of arguments

B. number of arguments + 1

C. number of arguments – 1

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


Report Bug


A. reverse(l)

B. list(reverse[(l)])

C. reversed(l)

D. list(reversed(l))


Report Bug


A. Operands

B. Expression

C. operators

D. Equation


Report Bug


A. x | y

B. x ^ y

C. x & y

D. x – y


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

B. var

C. _var

D. try


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. System diagram

B. Management hierarchy

C. Flowcharts

D. Convenience diagrams


Report Bug


A. 0 2 1 3 2 4

B. 0 1 2 3 4 5

C. Infinite loop

D. 0 1 2 3


Report Bug


A. 5 4 3 1 0

B. 4 3 1 0

C. 4 3 2

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


Report Bug


A. write(s)

B. writelines (lines)

C. readlines (lines)

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


Report Bug


A. individual lines of a file.
     किसी फाइल की अलग-अलग लाइने ।

B. A list of remaining lines of the entire file
     संपूर्ण फाइल की शेष पंक्तियों की लिस्ट

C. Write individual lines
     अलग-अलग पंक्तियाँ लिखता है।

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


Report Bug


A. s[]

B. s.getitem(3)

C. s.__getitem__(3)

D. s.getItem(3)


Report Bug


A. round(45.8)

B. round(6352.898,2,5)

C. round()

D. round(7463.123,2,1)


Report Bug


A. It can not be imported the same way as we import our user-defined modules.
     यह उसी तरह से इंपोर्ट नही किए जा सकते हैं जैसे हम अपने यूजर-डिफाईन मॉड्यूल को इंपोर्ट करते हैं।

B. It can be imported the same way as we import our user-defined modules,
     यह उसी तरह से इंपोर्ट किए जा सकते हैं। जैसे हम अपने यूजर-डिफाईन मॉड्यूल को इंपोर्ट करते हैं।

C. Both
     दोनों

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


Report Bug


A. Sub Function

B. Recursion

C. Reverse Polish Notation

D. Traversal Algorithm


Report Bug


A. True True

B. True False

C. False True

D. False False


Report Bug


A. >=

B. <=

C. =

D. !=


Report Bug


A. try

B. Brackets
     ब्रैकेट्स

C. Indentation
     इंडेंटेशन

D. Catch
     कैच


Report Bug


A. write()

B. append()

C. add()

D. insert()


Report Bug


A. Parentheses, Exponential,Multiplication, Division, Addition, Subtraction
     कोष्ठक, घातीय, गुणा, भाग, जोड़, घटाव

B. Multiplication, Division, Addition, Subtraction, Parentheses, Exponential
     गुणा, भाग, जोड़, घटाव, कोष्ठक, घातीय

C. Division, Multiplication, Addition, Subtraction, Parentheses, Exponential
     भाग, गुणा, जोड़, घटाव, कोष्ठक, घातीय

D. Exponential,Parentheses,Multiplication, Division, Addition, Subtraction
     घातीय, कोष्ठक, गुणा, भाग, जोड़, घटाव


Report Bug


A. list1.insert(3, 5)

B. list1.insert(2, 5)

C. list1.add(3, 5)

D. list1.append(3, 5)


Report Bug


A. Identifiers

B. Function

C. Keywords

D. Literals


Report Bug


A. 0 1 2

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

C. error
     एरर

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


Report Bug


A. 4

B. 5

C. 6

D. 7


Report Bug


A. PYTHONPATH
     पाइथनपाथ

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

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

D. PYTHONHOME
     पाइथनहोम


Report Bug


A. *

B. +

C. &

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


Report Bug


A. sets the file's current position at the offset.
     फ़ाइल की वर्तमान स्थिति को ऑफ़सेट पर सेट करता है।

B. sets the file's previous position at the offset.
     फ़ाइल की पिछली स्थिति ऑफ़सेट पर सेट करता है।

C. sets the file's current position within the file.
     फ़ाइल के भीतर फ़ाइल की वर्तमान स्थिति सेट करता है।

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


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. a_=3

B. _a=3

C. a?=3

D. All of These


Report Bug


A. (‘cd’)

B. (”)

C. (‘cd’, ”, ”)

D. (”, ‘cd’, ”)


Report Bug


A. [1, 4]

B. [1,3, 4]

C. [4,3]

D. [1,3]


Report Bug


A. stack
     स्टैक

B. macro
     मैक्रो

C. micro
     माइक्रो

D. union
     यूनियन


Report Bug


A. 12.6

B. '12.6'

C. 12

D. syntax 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. if

B. if-else

C. elif

D. if-else-if


Report Bug


A. dictionary()

B. set()

C. tuple()

D. list()


Report Bug


A. *

B. **

C. <

D. ==


Report Bug


A. import numpy as np

B. import numPy

C. from python import numpy

D. using numpy


Report Bug


A. RAM
     रैम

B. CPU
     सीपीयू

C. ROM
     रोम

D. Control Unit
     कण्ट्रोल यूनिट


Report Bug


A. Break stops the execution of entire program

B. Break halts the execution and forces the control out of the loop

C. Break forces the control out of the loop and starts the execution of next iteration

D. Break halts the execution of the loop for certain time frame


Report Bug


A. 3

B. 3.3

C. 0

D. error


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

B. regex

C. pyregex

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


Report Bug


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

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

C. Pseudocode
     शूडोकोड

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


Report Bug


A. 0

B. 1

C. error
     एरर

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


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. f.seek(-10, 0)

B. f.seek(10,0)

C. f.seek(-10, 1)

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


Report Bug


A. 1 2 3 4

B. 4 5 6 7

C. 1 3 8 12

D. 2 5 9 13


Report Bug


A. do..while

B. while

C. for

D. if..elif


Report Bug


A. factorial()

B. print()

C. seed()

D. sqrt()


Report Bug


A. Tells you the current position within the file.

B. Tells the size of file you read

C. Tells the start position of the file.

D. Tells the end position of the file.


Report Bug


A. 16

B. 4

C. 8

D. 64


Report Bug


A. 0

B. 3

C. 2.3

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


Report Bug


A. +5

B. -11

C. +11

D. -5


Report Bug


A. arange
     अरेंज

B. aspace
     एस्पेस

C. aline
     अलाइन

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


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. 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
     &quot;कोई नहीं&quot; प्रिंट है


Report Bug


A. while loop

B. for loop

C. do while loop

D. all of these
     इन सब


Report Bug


A. C

B. C++

C. JAVA

D. PHP


Report Bug


A. .

B. #

C. /

D. ?


Report Bug


A. Identifiers

B. Functions

C. keywords

D. Literals


Report Bug


A. pass

B. break

C. continue

D. goto


Report Bug


A. Mathematical and logical operations on arrays.
     सरणियों पर गणितीय और तार्किक संचालन

B. Fourier transforms and routines for shape manipulation.
     आकार हेरफेर के लिए फूरियर रूपांतरण और दिनचर्या।

C. Operations related to linear algebra.
     रैखिक बीजगणित से संबंधित संचालन।

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


Report Bug


A. User-defined name
     यूजर - डिफाइन्ड नेम

B. Pre-defined name
     प्री-डिफाइन्ड नेम

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

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


Report Bug


A. 4

B. 3

C. 5

D. 7


Report Bug


A. [2, 6, 4]

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

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

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


Report Bug


A. +

B. *

C. -

D. All of the mentioned
     सभी का उल्लेख है


Report Bug


A. Built in datatype

B. Derived datatype

C. Concrete datatype

D. Abstract datatype


Report Bug


A. if a> = 2:

B. if (a>= 2)

C. if (a => 22)

D. if a >= 22


Report Bug


A. space
     स्पेस

B. colon
     कोलन

C. semi colon
     सेमी कोलन

D. None
     कोई नहीं


Report Bug


A. %

B. /

C. \\

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


Report Bug


A. Top down method

B. Bottom up method

C. Coding

D. None of the above


Report Bug


A. Testing
     टेस्टिंग

B. Debugging
     डिबगिंग

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

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


Report Bug


A. variable
     वेरिएबल

B. literal
     लिटरल

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

D. comment
     कमेंट


Report Bug


A. Guido van Rossum

B. Travis Oliphant

C. Wes McKinney

D. Jim Hugunin


Report Bug


A. write

B. writelineas
     writelines

C. dump

D. pickle


Report Bug


A. 1 2

B. 1 2 3

C. 1 2 3 4

D. 1 2 3 4 5


Report Bug


A. +

B. -

C. *

D. ( )


Report Bug


A. Interface
     इंटरफेस

B. Modularity
     मॉड्यूलेरिटी

C. Client
     क्लाइंट

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


Report Bug


A. a b c d e f

B. abcdef

C. i i i i i i …

D. error


Report Bug


A. def fun1(**kwargs)

B. def fun1(args*)

C. No, it is not possible in Python

D. def fun1(*data)


Report Bug


A. Constructors

B. Retriever

C. Finder

D. Selectors




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