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

B. output

C. send

D. dump


Report Bug


A. List
     लिस्ट

B. Tuple
     टपल

C. Dictionary
     डिक्शनरी

D. None
     कोई नहीं


Report Bug


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

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

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

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


Report Bug


A. Module
     मॉड्यूल

B. Function
     फंक्शन

C. Folder
     फोल्डर

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


Report Bug


A. Hello

B. 949227

C. True

D. "2'


Report Bug


A. The variables used inside function are called local variables.
     फंक्शन के अंदर उपयोग किए जाने वाले वेरिएबल लोकल वेरिएबल कहलाते हैं।

B. The local variables of a particular function can be used inside other functions, but these cannot be used in global space.
     किसी विशेष फंक्शन के लोकल वेरिएबल का उपयोग अन्य फंक्शनो के अंदर किया जा सकता है, लेकिन इनका उपयोग ग्लोबल स्पेस में नहीं किया जा सकता है

C. The variables used outside function are called global variables.
     बाहरी फंक्शन का उपयोग करने वाले वेरिएबल को ग्लोबल वेरिएबल कहा जाता है

D. In order to change the value of global variable inside function, keyword global is used.
     फंक्शन के अंदर ग्लोबल वेरिएबल की वैल्यू को बदलने के लिए, कीवर्ड ग्लोबल का उपयोग किया जाता है।


Report Bug


A. pop
     पॉप

B. remove
     रिमूव

C. update
     अपडेट

D. sum
     सम


Report Bug


A. take a sequence, like a list, and arrange the items in ascending order

B. take a sequence, like a list, and reorganize the order of the items.

C. take a sequence, like a list, and arrange the items in descending

D. take a sequence, like a list, and return the same copy of sequence


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. Stack
     स्टैक

B. Queue
     क्यू

C. Pointer
     पॉइंटर

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


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. Type conversion
     टाईप कन्वर्जन

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

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

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


Report Bug


A. Making the code look clean
     कोड को साफ देखो

B. A complex task can be broken into sub-problems
     एक कॉम्प्लेक्स टास्क को सब-प्रॉब्लम्स में तोड़ा जा सकता है

C. Recursive calls take up less memory
     रिकर्सिव कॉल से मेमोरी कम लगती है

D. Sequence generation is easier than a nested iteration
     सीक्वेंस जनरेशन एक नेस्टेड पुनरावृत्ति की तुलना में आसान है


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

B. goto

C. try

D. except


Report Bug


A. while loop

B. for loop

C. do while loop

D. all of these
     इन सब


Report Bug


A. Pause the code for the specified number of seconds
     स्पेसिफ़िएड सेकंड के लिए कोड को पॉज़ करे

B. Return the specified number of seconds, in terms of milliseconds
     मिलीसेकेंड के टर्म में ,स्पेसिफ़िएड सेकंड रिटर्न करे

C. Stop the execution of the code
     कोड का एक्सक्यूशन स्टॉप करे

D. Return the output of the code had it been executed earlier by the specified number of seconds
     कोड का आउटपुट रिटर्न करे जिसे पहले स्पेसिफ़िएड सेकंड के द्वारा एक्सेक्यूट किया गया था


Report Bug


A. .pym

B. .pymodule

C. module

D. .py


Report Bug


A. A flowchart
     एक फ़्लोचार्ट

B. Step by step instructions used to solve a problem
     किसी समस्या को हल करने के लिए चरण दर चरण निर्देश का उपयोग किया जाता है

C. A flowchart or pseudo code
     एक फ़्लोचार्ट या सूड़ो कोड

D. A decision
     एक फैसला


Report Bug


A. Time.time()

B. datetime()

C. time.date()

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


Report Bug


A. 0

B. 1

C. 2

D. 3


Report Bug


A. True True
     सही सही

B. False True
     गलत सही

C. False False
     गलत गलत

D. True False
     सही गलत


Report Bug


A. 1

B. 9

C. 15

D. Error
     एरर


Report Bug


A. int x = 10

B. x = 10

C. var x = 10

D. x: 10


Report Bug


A. readlines()

B. read()

C. Both of the above

D. None of the above


Report Bug


A. 32

B. 33

C. 31

D. 30


Report Bug


A. list
     लिस्ट

B. set
     सेट

C. dictionary
     डिक्शनरी

D. tuple
     टपल


Report Bug


A. 5 4 3 1 0

B. 4 3 1 0

C. 4 3 2

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


Report Bug


A. Denoted by triple quotes for providing the specification of certain program elements
     कुछ प्रोग्राम एलीमेंटों के विनिर्देश प्रदान करने के लिए ट्रिपल कोट्स द्वारा अस्वीकृत

B. Design and implementation of specific functionality to be incorporated into a program
     एक प्रोग्राम में शामिल किए जाने के लिए विशिष्ट कार्यक्षमता का डिजाइन और कार्यान्वयन

C. Defines the specification of how it is to be used
     इसका उपयोग कैसे करना है, इसके विनिर्देश को परिभाषित करता है

D. Any program that reuses code
     कोई भी प्रोग्राम जो कोड का पुनः उपयोग करता है


Report Bug


A. 0

B. None
     कोई नहीं

C. 3

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


Report Bug


A. Hello

B. Hello Hello

C. nothing

D. Hello Hello Hello Hello Hello


Report Bug


A. We can replace a recursive function by a non-recursive function.
     हम एक रिकर्सिव फंक्शन को एक नॉन-रिकर्सिव फंक्शन द्वारा प्रतिस्थापित कर सकते हैं।

B. The memory space taken by the recursive functions is more than that of non-recursive function,
     रिकर्सिव फंक्शनो द्वारा लिया गया मेमोरी स्पेस नॉन-रिकर्सिव फंक्शन की तुलना में अधिक है।

C. Running a recursive function is faster as compared to a non-recursive function.
     नॉन-रिकर्सिव फंक्शन की तुलना में रिकर्सिव फंक्शन को रन करना तेज़ होता है।

D. The process of recursion makes it easier for users to understand a program.
     रिकर्सन की प्रक्रिया उपयोगकर्ताओं के लिए प्रोग्राम को समझना आसान बनाती है


Report Bug


A. pop
     पॉप

B. remove
     रिमूव

C. dispose
     डिस्पोज

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


Report Bug


A. del

B. remove

C. delete

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


Report Bug


A. Flowchart

B. Program

C. Pseudo code

D. Syntax


Report Bug


A. getkeys ()

B. key()

C. keys()

D. None
     कोई नहीं


Report Bug


A. hello

B. ['h', 'e', 'l', 'l', 'o']

C. hel

D. HELLO


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

B. 97

C. 32

D. 67


Report Bug


A. Compiled Language
     कम्पाईल्ड लैंग्वेज

B. Markup Language
     मार्कअप लैंग्वेज

C. Interpreted Language
     इंटरप्रेटेड लैंग्वेज

D. Assembly Language
     असेंबली लैंग्वेज


Report Bug


A. Checks if two variables have the same value.
     चेक करता है कि क्या दो वैरिएबल की वैल्यू समान है।

B. Checks if two variables refer to the same object in memory.
     चेक करता है कि क्या दो वेरिएबल मेमोरी में एक ही ऑब्जेक्ट को रेफर करते हैं।

C. Assigns a value to a variable.
     किसी वेरिएबल को एक वैल्यू असाइन करता है.

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


Report Bug


A. +

B. -

C. *

D. ( )


Report Bug


A. 1 2 3

B. ‘A’ ‘B’ ‘C’

C. 1 ‘A’ 2 ‘B’ 3 ‘C’

D. Error, it should be: for i in a.items():
     एरर , यह होनी चाहिए: i in a.items () में:


Report Bug


A. within the file, it tells the end position.
     फाइल के भीतर, यह अंतिम स्थिति बताता है।

B. within the file, it tells the current position.
     फाइल के भीतर, यह वर्तमान स्थिति बताता है ।

C. it tells us if the file is opened.
     यह हमें बताता है कि फाइल खोली गई है या नहीं ।

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


Report Bug


A. int("123")

B. integer("123")

C. int["123“]

D. (int) “123”


Report Bug


A. <!-- This is Comment -->

B. // This is Comment

C. /* This is Comment */

D. # This is Comment


Report Bug


A. eval

B. nonlocal

C. assert

D. finally


Report Bug


A. 1 2 3

B. 123

C. Error

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


Report Bug


A. 0

B. 1

C. -1

D. 2


Report Bug


A. Indexed

B. Sliced

C. Iterated

D. All of the mentioned above


Report Bug


A. True

B. False

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. List

B. Dictionary

C. Tuple

D. Array


Report Bug


A. mutable
     परिवर्तनशील

B. immutable
     अपरिवर्तनशील

C. fixed
     फिक्स्ड

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


Report Bug


A. [[1, 2], [3, 1.5], [0.5, 0.5]]

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

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

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


Report Bug


A. 4

B. 5

C. 9

D. 8


Report Bug


A. [2 3 4 5]

B. [3 4 5 6]

C. [1 2 3 4]

D. [2 4 6 8]


Report Bug


A. Oval

B. Rectangle

C. Arrow

D. Diamond


Report Bug


A. {1: ‘A’, 2: ‘B’, 3: ‘C’, 4: ‘D’}

B. None
     कोई नहीं

C. Error
     एरर

D. [1,3,6,10]


Report Bug


A. Integer

B. Complex Number

C. None

D. String


Report Bug


A. 0

B. 1

C. 11

D. 10


Report Bug


A. Size, shape
     साइज़ और आकार

B. memory consumption
     मेमोरी खपत

C. data type of array
     डेटा प्रकार

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


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

B. sys.readline

C. sys.path

D. sys.platform


Report Bug


A. the shape is the number of rows

B. the shape is the number of columns

C. the shape is the number of element in each dimension

D. Total number of elements in array


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. make a matrix with first column 0
     पहले कॉलम 0 के साथ एक मैट्रिक्स बनाएं

B. make a matrix with all elements 0
     सभी तत्वों के साथ एक मैट्रिक्स बनाएं 0

C. make a matrix with diagonal elements 0
     विकर्ण तत्वों के साथ एक मैट्रिक्स बनाएं 0

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


Report Bug


A. int

B. float

C. bool

D. dict


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. (‘abef’)

B. (‘abef’, ‘cd’, ”)

C. (‘abef’, ”, ”)

D. error
     एरर


Report Bug


A. floating

B. float

C. int

D. integer


Report Bug


A. Array of tuples
     Tuples का ऐरे

B. List of tuples
     Tuples की लिस्ट

C. Tuples of lists
     लिस्ट्स के Tuples

D. Invalid type
     इनवैलिड टाइप


Report Bug


A. Math.Pi

B. Circle()

C. Pandas
     पंडास

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


Report Bug


A. 2

B. 0

C. error
     एरर

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


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. Tuples have structure; lists have an order

B. Tuples are homogeneous, lists are heterogeneous.

C. Tuples are immutable, lists are mutable.

D. All of them


Report Bug


A. False Code

B. Representation of Code

C. Both A and B

D. None of these


Report Bug


A. -3.4

B. 3.4

C. 4.3

D. 3


Report Bug


A. Testing

B. Syntax error

C. Runtime error

D. Debugging


Report Bug


A. Strings can be modified using indexing.
     इंडेक्सिंग का यूज़ करके स्ट्रिंग्स को मॉडिफाइड किया जा सकता है।

B. Strings are immutable.
     स्ट्रिंग्स इम्म्यूटेबल हैं.

C. Strings can only contain alphabetic characters.
     स्ट्रिंग्स में केवल अल्फ़ाबेट कैरेक्टर्स हो सकते हैं।

D. Strings must end with a newline character.
     स्ट्रिंग्स को एक न्यूलाइन कैरेक्टर के साथ एन्ड होना चाहिए।


Report Bug


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

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

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

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


Report Bug


A. Error

B. 6

C. 4

D. 3


Report Bug


A. (‘cd’)

B. (”)

C. (‘cd’, ”, ”)

D. (”, ‘cd’, ”)


Report Bug


A. 5 characters
     5 वर्ण

B. 5 words
     5 शब्द

C. 5 lines
     5 पंक्तिया

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


Report Bug


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

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

C. Pseudocode
     शूडोकोड

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


Report Bug


A. pi()

B. piFun()

C. Fun()

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


Report Bug


A. This is a square array with ones on the main diagonal.
     यह एक वर्गाकार ऐरे है जिसमें मुख्य विकर्ण पर एक होता हैं।

B. This is a normal array.
     यह एक सामान्य ऐरे है

C. This is a array with ones on the main diagonal.
     यह मुख्य विकर्ण पर एक के साथ एक ऐरे है ।

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


Report Bug


A. List
     लिस्ट

B. dictionary
     डिक्शनरी

C. Tuple
     टपल

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


Report Bug


A. del dic("tiger")

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

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

D. del dic["tiger"]


Report Bug


A. ID returns the identity of the object
     आईडी ऑब्जेक्ट की पहचान रिटर्न करता है।

B. Even object doesn't have a unique Id
     प्रत्येक ऑब्जेक्ट की यूनिक आईडी नही होती है

C. All of the mentioned
     उपरोक्त सभी

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


Report Bug


A. True
     सही

B. 2

C. 3

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


Report Bug


A. A computer language
     एक कंप्यूटर भाषा

B. A step by step procedure for solving a problem
     किसी समस्या को हल करने के लिए चरण दर चरण प्रक्रिया

C. A branch of mathematics
     गणित की एक शाखा

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


Report Bug


A. Flowchart

B. Identifier

C. Code

D. Debugging


Report Bug


A. Arrow lines.
     ऐरो लाइन्स

B. Symbols
     सिम्बल

C. Annotation
     एनोटेशन

D. Special symbols
     विशेष सिम्बल


Report Bug


A. Arithmetic

B. Relational

C. Logical

D. Assignment


Report Bug


A. ab

B. rw

C. r+

D. w+


Report Bug


A. keys, keys

B. key values, keys

C. keys, key values

D. key values, key values


Report Bug


A. ord()

B. min()

C. chr()

D. any()


Report Bug


A. Interpreter

B. Modem

C. Compiler

D. Operating system


Report Bug


A. raise

B. try

C. val

D. with


Report Bug


A. Statements

B. Control

C. Structure

D. Indentation




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