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

B. Program

C. Pseudo code

D. Syntax


Report Bug


A. 3 33

B. 1 1

C. 5 6

D. 5 33


Report Bug


A. _val

B. val

C. try

D. _try_


Report Bug


A. Execution
     निष्पाद

B. Decision
     डिसिजन

C. Statement
     स्टेटमेंट

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


Report Bug


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

B. A

C. 5

D. C


Report Bug


A. np.array()

B. np.zeros()

C. np.empty()

D. All of the above


Report Bug


A. 2

B. False
     गलत

C. -3

D. -4


Report Bug


A. True True
     सही सही

B. False True
     गलत सही

C. False False
     गलत गलत

D. True False
     सही गलत


Report Bug


A. 10

B. 20

C. Error

D. None


Report Bug


A. zxxy

B. xyxxyyzxxy

C. xyxzxxy

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


Report Bug


A. int

B. list

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

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


Report Bug


A. 5 7

B. 7 5

C. 5 5

D. 7 7


Report Bug


A. Tuple
     टपल

B. Integer
     इन्टिजर

C. List
     लिस्ट

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


Report Bug


A. option A

B. option B

C. option C

D. option D


Report Bug


A. sys.version

B. sys.version()

C. sys.version(0)

D. sys.version(1)


Report Bug


A. 14

B. 1

C. 3

D. 2


Report Bug


A. (1,3)

B. (2,5)

C. (2,1)

D. (4,8)


Report Bug


A. A package manager

B. A loop structure

C. A file containing Python code

D. A variable type


Report Bug


A. if a> = 2:

B. if (a>= 2)

C. if (a => 22)

D. if a >= 22


Report Bug


A. Control flow
     कण्ट्रोल फ्लो

B. Terminal
     टर्मिनल

C. Processing
     प्रोसेसिंग

D. Decision
     डिसिशन


Report Bug


A. List

B. Dictionary

C. String

D. Tuple


Report Bug


A. Optimisers
     ऑप्टिमाइजर

B. Pandas
     पंडास

C. scipy ()
     स्पाइसी()

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


Report Bug


A. 3 1

B. 1 3

C. error
     एरर

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


Report Bug


A. Sub Function

B. Recursion

C. Reverse Polish Notation

D. Traversal Algorithm


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

B. Sequential

C. Simple

D. Loop


Report Bug


A. <class 'tuple'>

B. <class 'int'>

C. <class 'list'>

D. Error


Report Bug


A. 4

B. 0

C. 1

D. 8


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. List
     लिस्ट

B. Dictionary
     डिक्शनरी

C. Tuple
     टपल

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


Report Bug


A. 5

B. 10

C. 6

D. 11


Report Bug


A. Oval

B. Rectangle

C. Arrow

D. Diamond


Report Bug


A. 0

B. 1

C. 2

D. Error


Report Bug


A. t1=1,2,4

B. t1=(1,)

C. t1=tuple(“123”)

D. All of these
     ये सब


Report Bug


A. Python is proprietary software.

B. Python is open-source software.

C. Python is hardware dependent.

D. Python cannot run on Linux.


Report Bug


A. Yes

B. No

C. if / else not used in python

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


Report Bug


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

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

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

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


Report Bug


A. 5.354562653589793

B. 3.141592653589793

C. 7.867564234556778

D. 9.048495456553358


Report Bug


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

B. ‘hello’
     ‘हैलो’

C. [‘hello’]
     [‘हैलो’]

D. hello
     हैलो


Report Bug


A. python.help ()

B. help()

C. help.python()

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


Report Bug


A. #

B. &

C. *

D. **


Report Bug


A. ord()

B. min()

C. chr()

D. any()


Report Bug


A. Rectangle

B. A Circle

C. Parallelogram

D. A Diamond


Report Bug


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

B. Flow
     फ़्लो

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

D. Syntax
     सिंटेक्स


Report Bug


A. 1

B. 2

C. 3

D. 0


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. 7

B. 8

C. 6

D. 9


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

B. a b c

C. 0 a 1 b 2 c

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


Report Bug


A. bin()

B. int()

C. binary()

D. Zip()


Report Bug


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

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

C. Pseudocode
     शूडीकोड

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


Report Bug


A. lowercase
     लोअरकेस

B. UPPERCASE
     अपरकेस

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

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


Report Bug


A. Global namespace
     ग्लोबल नेमस्पेस

B. Public namespace
     पब्लिक नेमस्पेस

C. Built-in namespace
     बिल्ट-ईन नेमस्पेस

D. Local namespace
     लोकल नेमस्पेसं


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

B. 11

C. 10

D. 8


Report Bug


A. [(1, 2), (2, 4), (3, 9)]

B. [(2,4),(1,2),(3,9)]

C. Error because tuples are immutable
     एरर क्योंकि tuples अपरिवर्तनीय हैं

D. Error, tuple has no sort attribute
     एरर , टपल का कोई प्रकार नहीं है


Report Bug


A. Str and int

B. int and int

C. str and str

D. int and str


Report Bug


A. |

B. ||

C. or

D. &


Report Bug


A. .py

B. .python

C. .p

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


Report Bug


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

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

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

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


Report Bug


A. It’s easier to code some real-world problems using recursion than non-recursive equivalent
     नॉन-रिकर्सिव समकक्ष की तुलना में रिकर्शन का यूज़ करके कुछ रियल-वर्ल्ड की प्रॉब्लम्स को कोड करना आसान है

B. Recursive functions are easy to debug
     रिकर्सिव फ़ंक्शन को डीबग करना आसान है

C. Recursive calls take up a lot of memory
     रिकर्सिव कॉल बहुत सारी मेमोरी लेती हैं

D. Programs using recursion take longer time than their non-recursive equivalent
     रिकर्शन का यूज़ करने वाले प्रोग्राम अपने नॉन-रिकर्सिव समकक्ष की तुलना में अधिक समय लेते हैं


Report Bug


A. variable
     वैरिएबल

B. literal
     लिटरल

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

D. comment
     कमेंट


Report Bug


A. <class 'int'>

B. <class ‘str'>

C. <class ‘bool'>

D. Error
     एरर


Report Bug


A. The values of a dictionary can be accessed using keys
     एक ड़िक्शनरी के वैल्यूज की key का यूज़ करके पहुँचा जा सकता है

B. The keys of a dictionary can be accessed using values
     वैल्यूज का यूज़ करके एक ड़िक्शनरी की key तक पहुँचा जा सकता है

C. Dictionaries aren’t ordered
     डिक्शनरीज़ का ऑर्डर्ड नहीं दिया गया है

D. Dictionaries are mutable
     डिक्शनरीज़ परस्पर हैं


Report Bug


A. Interpreter generates an object program from the source program
     दुभाषिया स्रोत कार्यक्रम से एक वस्तु कार्यक्रम उत्पन्न करता है

B. Interpreter is a kind of translator
     Interpreter अनुवादक का एक प्रकार है

C. Interpreter analysis each source statement every time it is to be executed
     Interpreter प्रत्येक स्रोत विवरण को हर बार निष्पादित करता है

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


Report Bug


A. Decomposing complex problems into simpler pieces
     कॉम्प्लेक्स समस्याओं को सरल टुकडों मे विभाजित करना ।

B. Reducing duplication of code
     कोड का दोहराव कम करना

C. both A and B
     तथा B दोनों

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


Report Bug


A. True True

B. False True

C. False False

D. True False


Report Bug


A. Assert
     एजर्ट

B. List
     लिस्ट

C. Tuple
     टपल

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


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

B. lambda(x): x+1

C. lambda x: x+1

D. def lambda(x): x+1


Report Bug


A. strptime()

B. strftime()

C. Both A and B

D. None of the above


Report Bug


A. Every recursive function must have a base case
     प्रत्येक रिकर्सिव फंक्शन का एक बेस केस अवश्य होना चाहिए

B. Infinite recursion can occur if the base case isn't properly mentioned
     यदि बेस केस का उल्लेख उपयुक्त रूप में न किया गया हो तो इन्फाइनाईट रिकर्शन हो सकता है

C. A recursive function makes the code easier to understand
     एक रिकर्सिव फंक्शन कोड को समझने में आसान बनाता है

D. Every recursive function must have a return value
     प्रत्येक रिकर्सिव फंक्शन की एक रिटर्न वैल्यू अवश्य होनी चाहिए


Report Bug


A. Append File

B. Write File

C. Read File

D. Read and Write both


Report Bug


A. Built in datatype

B. Derived datatype

C. Concrete datatype

D. Abstract datatype


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. \n

B. \t

C. \\

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


Report Bug


A. [‘Apple’, ‘Ball’, ‘Cobra’]

B. [‘Ball’, ‘Apple’, ‘Cobra’]

C. [‘Cobra’, ‘Apple’, ‘Ball’]

D. Invalid syntax for sort()
     सॉर्ट() के लिए इनवैलिड सिंटैक्स


Report Bug


A. d = {}

B. d = {“john”:40, “peter”:45}

C. d = {40:”john”, 45:”peter”}

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


Report Bug


A. %

B. //

C. /

D. **


Report Bug


A. AB!@

B. ab12

C. aB!2

D. aB1@


Report Bug


A. Flowchart

B. Identifier

C. Code

D. Debugging


Report Bug


A. (1)

B. (1,)

C. [1]

D. {1}


Report Bug


A. function

B. def

C. fun

D. define


Report Bug


A. if (x > 0):

B. if x > 0

C. if x > 0 then:

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


Report Bug


A. Welco

B. me to

C. Welcome to Python

D. e to


Report Bug


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

B. Modules
     मॉडुल्स

C. Units
     यूनिट्स

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


Report Bug


A. dlrowolleh

B. hello
     हेलो

C. world
     वर्ल्ड

D. helloworld
     हेलोवर्ल्ड


Report Bug


A. f = open('data.txt'); f.read()

B. f = open('data.txt','r'); f.read(n)

C. myfile = open('data.txt'); f.readline()

D. f= open('data.txt'); f.readlines()


Report Bug


A. [5 7 9]

B. [1 2 3 4 5 6]

C. 21

D. Error


Report Bug


A. 0 1 2 3 4 …

B. 3 4

C. 0

D. error
     एरर


Report Bug


A. abcd

B. ABCD

C. error
     एरर

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


Report Bug


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

B. i i i i i i …

C. a b c d e f

D. abcdef


Report Bug


A. array_split()

B. split()

C. split_array()

D. hstack() and vstack()


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. del dic("tiger")

B. dic["tiger"].delete()

C. delete(dic.["tiger'])

D. del dic["tiger"]


Report Bug


A. [2 4 1]

B. [3 4 1]

C. [2 3 1]

D. [2 4 3]


Report Bug


A. Use multiple write() statements.

B. Use writelines() method.

C. Use writeLine() method.

D. Use append() method.


Report Bug


A. Statement
     स्टेटमेंट

B. Program
     प्रोग्राम

C. Flow chart
     फ्लोचार्ट

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


Report Bug


A. 16

B. 32

C. 64

D. None of These


Report Bug


A. 10

B. 9

C. 7

D. 6




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