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. import numpy as np

B. import numPy

C. from python import numpy

D. using numpy


Report Bug


A. write()

B. append()

C. add()

D. insert()


Report Bug


A. a

B. abcd abcd abcd abcd

C. a a a a

D. none of the mentioned


Report Bug


A. Subroutines

B. Function

C. Definition

D. Modules


Report Bug


A. 4

B. 0

C. Error
     एरर

D. True
     सही


Report Bug


A. Rectangle
     आयत

B. Oval
     अंडाकार

C. Parallelogram
     चतुर्भुज

D. Diamond
     डायमंड


Report Bug


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

B. Symbols
     सिम्बल

C. Annotation
     एनोटेशन

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


Report Bug


A. 6

B. 24

C. 0

D. None of these


Report Bug


A. arr=np.array([1,2,3,4],dtype='float')

B. arr=np.array([1,2,3,4],dtype='f')

C. arr=np.array([1,2,3,4],dtype=float)

D. All of the above


Report Bug


A. change in shape of array

B. reshaping of array

C. get the shape of the array

D. All of above


Report Bug


A. (3,)

B. (2, )

C. (1,)

D. (0,)


Report Bug


A. 6 4

B. 4 6

C. 4 4

D. 6 6


Report Bug


A. Returns True if any key of the dictionary is true
     यदि डिक्शनरी की कोई भी key सही है, तो रिटर्न

B. Returns False if dictionary is empty
     यदि डिक्शनरी खाली है तो गलत है

C. Returns True if all keys of the dictionary are true
     यदि डिक्शनरी की सभी keys सही हैं, तो सही

D. Method any() doesn’t exist for dictionary
     मैथड किसी भी () शब्दकोश के लिए मौजूद नहीं है


Report Bug


A. a

B. ar+

C. r+

D. w


Report Bug


A. The outer loop must run fewer times than the inner loop.
     आउटर लूप को इनर लूप की तुलना में कम बार रन करना चाहिए।

B. Only for loops can be nested.
     केवल लूप के लिए नेस्ट किया जा सकता है।

C. Both for and while loops can be nested.
     for और while दोनों लूप को नेस्ट किया जा सकता है।

D. The inner loop runs only once for each iteration of the outer loop.
     इनर लूप आउटर लूप के प्रत्येक इट्रेशन के लिए केवल एक बार रन करता है।


Report Bug


A. infile.read(2)

B. infile.read()

C. infile.readlines()

D. infile.readline()


Report Bug


A. Write

B. Read

C. Append

D. Read and Write Both


Report Bug


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

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

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

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


Report Bug


A. 0,1,2,3

B. [0,1,2,3]

C. range(0, 4)

D. (0,1,2,3)


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. A variable can store any datatype type of value

B. A variable can store only numeric value

C. A variable can store only one type of value

D. A value of a variable is change each type when it run


Report Bug


A. 0

B. 1

C. 11

D. 10


Report Bug


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

B. // This is Comment

C. /* This is Comment */

D. # This is Comment


Report Bug


A. 100

B. -100

C. -101

D. 101


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. True

B. False

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. not

B. or

C. and

D. xor


Report Bug


A. Error

B. 1.0

C. 1.00

D. 1


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

B. assert

C. nonlocal

D. pass


Report Bug


A. 0

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

C. error
     एरर

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


Report Bug


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

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

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

D. { }


Report Bug


A. abc = 1,000,000

B. a b c = 1000 2000 3000

C. a,b,c = 1000, 2000, 3000

D. a_b_c = 1,000,000


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


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

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

C. fixed
     फिक्स्ड

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


Report Bug


A. shape ()

B. reshape()

C. change()

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


Report Bug


A. i.__add(j)

B. i.__add__(j)

C. i.__Add(j)

D. i.__ADD(j)


Report Bug


A. 3

B. 2

C. 1

D. Error


Report Bug


A. Input/Output

B. Decision

C. Arithmetic instruction

D. Start/Stop


Report Bug


A. end
     अंतिम में

B. beginning
     शुरूआत में

C. anywhere in between the file
     फाइल में कहीं भी

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


Report Bug


A. An Algorithm
     एक एल्गोरिथ्म

B. A decision table
     एक डिसीज़न टेबल

C. A program
     एक प्रोग्राम

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


Report Bug


A. It is used for object serialization
     इसका उपयोग ऑब्जेक्ट सीरिअलाइजेशन के लिए किया जाता है

B. It is used for object deserialization
     इसका उपयोग ऑब्जेक्ट डीसीरिअलाइजेशन के लिए किया जाता है

C. All of the mentioned
     उल्लिखित सभी

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


Report Bug


A. break

B. while

C. continue

D. operators


Report Bug


A. Tuple
     टपल

B. Dictionary
     डिक्शनरी

C. List Comprehensions
     लिस्ट कम्प्रीहेन्सन

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


Report Bug


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

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

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

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


Report Bug


A. arr[-2]

B. arr[2]

C. arr[-1]

D. arr[1]


Report Bug


A. List
     लिस्ट

B. dictionary
     डिक्शनरी

C. Tuple
     टपल

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


Report Bug


A. def fun (a = 2, b = 3, c)

B. def fun(a = 2, b, c = 3)

C. def fun(a, b = 2, c = 3)

D. def fun(a, b, c = 3, d)


Report Bug


A. Find the shape of the array
     ऐरे का आकार खोजने

B. change the shape of array
     ऐरे का आकार बदलने

C. Display elements
     एलिमेन्ट डिस्प्ले करना

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


Report Bug


A. int(x [,base])

B. long(x [,base])

C. float(x)

D. str(x)


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. exit
     एग्जिट

B. break
     ब्रेक

C. continue
     कंटीन्यू

D. stop
     स्टॉप


Report Bug


A. print(list1[0])

B. print(list1[:2])

C. print(list1[:-2])

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


Report Bug


A. insert()

B. append()

C. extend()

D. add()


Report Bug


A. True
     सही

B. False
     गलत

C. None

D. Error
     एरर


Report Bug


A. Yes
     हाँ

B. No
     नहीं

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

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


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. 0

B. 1

C. True
     सही

D. False
     गलत


Report Bug


A. writelines()
     राइटलाइन्स()

B. write()
     राइट()

C. tell()
     टेल()

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


Report Bug


A. Type Casting

B. Data Transformation

C. Type modification

D. Variable Shifting


Report Bug


A. [0, 1, 2]

B. [0, 1, 2, 3]

C. [1, 2, 3]

D. [0, 2]


Report Bug


A. Tuple

B. Integer

C. String

D. List


Report Bug


A. In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
     इम्पोर्ट के रूप में "from-import", दो अंडरस्कोर से शुरू होने वाले आईडेन्टिफॉयर प्राइवेट होते हैं और इम्पोर्ट नहीं किए जाते हैं

B. dir() built-in function monitors the items in the namespace of the main module.
     dir () बिल्ट-इन फंक्शन मुख्य मॉड्यूल के नेमस्पेस में आइटम को देखता है ।

C. In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
     इम्पोर्ट के रूप में "from-import", सभी आईडेन्टिफॉयर चाहे वे प्राइवेट हों या पब्लिक, इम्पोर्ट किए जाते हैं ।

D. When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
     जब कोई मॉड्यूल लोड होता है, तो फ़ाइल एक्सटेंशन .pyc के साथ मॉड्यूल का एक कम्पाइल्ड वर्जन स्वचालित रूप से निर्मित होता है ।


Report Bug


A. More than one key isn’t allowed
     एक से अधिक key की अनुमति नहीं है

B. Keys must be immutable
     keys इम्यूटबल होनी चाहिए

C. Keys must be integers
     keys इन्टिजर होनी चाहिए

D. When duplicate keys encountered, the last assignment wins
     जब डुप्लिकेट keys का सामना करना पड़ा, तो लास्ट असाइनमेंट जीत गया


Report Bug


A. 15

B. 8

C. (8,7)

D. Error


Report Bug


A. Error
     एरर

B. -5

C. 5

D. 5.0


Report Bug


A. True
     सही

B. False
     ग़लत

C. 55

D. TypeError
     टाइपएरर


Report Bug


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

B. Flow
     फ़्लो

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

D. Syntax
     सिंटेक्स


Report Bug


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

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

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

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


Report Bug


A. Mutable data type
     म्यूटेबल डेटा टाइप

B. Allows duplicate values
     डुप्लिकेट वैल्यूज की अनुमति देता है

C. Data type with unordered values
     अव्यवस्थित वैल्यूज के साथ डेटा टाइप

D. Immutable data type
     इम्यूटबल डेटा टाइप


Report Bug


A. else
     ईल्स

B. raise
     रेज

C. import
     इंपोर्ट

D. All of the mentioned
     उल्लिखित सभी


Report Bug


A. and

B. or

C. not

D. All of the these
     ये सभी


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. Infinite Loop
     इन्फाईनाइट लूप

B. conditional loop
     कंडीशनल लूप

C. unlimited loop
     अनलिमीटेड लूप

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


Report Bug


A. 123var

B. _var

C. if

D. var-name


Report Bug


A. Warning

B. Error

C. Error

D. No Error


Report Bug


A. A function that calls itself
     एक फंक्शन जो स्वयं को कॉल करता है

B. A function that calls other functions
     एक फंक्शन जोअन्य कार्यो को कॉल करता है

C. Both (A) and (B)
     (A)और (B) दोनों

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


Report Bug


A. Standard Input
     स्टैंडर्ड इनपुट

B. Standard Output
     स्टैंडर्ड आउटपुट

C. Standard Errors
     स्टैंडर्ड एरर

D. All of the mentioned
     उल्लिखित सभी


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. error
     एरर


Report Bug


A. Free and Open Source

B. Freeware

C. Open source

D. Shareware


Report Bug


A. asc()

B. ord()

C. asci()

D. ascii()


Report Bug


A. try

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

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

D. Catch
     कैच


Report Bug


A. int

B. float

C. char

D. bool


Report Bug


A. else

B. import

C. print

D. all of these


Report Bug


A. List
     लिस्ट

B. Tuple
     टपल

C. Dictionary
     डिक्शनरी

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


Report Bug


A. not

B. %

C. and

D. +


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

B. Fibonacci sequence

C. Even numbers

D. Odd numbers


Report Bug


A. if
     इफ

B. for
     फॉर

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

D. None
     कोई नहीं


Report Bug


A. 15

B. 150

C. 200

D. 10


Report Bug


A. 3

B. 1

C. 2

D. 0


Report Bug


A. Interpreter

B. Identifiers

C. Keyword

D. Operators


Report Bug


A. 4

B. 5

C. 4.2

D. Error


Report Bug


A. 10

B. 18

C. 79

D. 95


Report Bug


A. %

B. //

C. /

D. **


Report Bug


A. function
     फंक्शन

B. tuple
     टपल

C. list
     लिस्ट

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


Report Bug


A. ValueError: attempt to assign sequence of size 6 to extended slice of size 5

B. [10, 2, 20, 4, 30, 6, 40, 8, 50, 60]

C. [1, 2, 10, 20, 30, 40, 50, 60]

D. [1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]


Report Bug


A. -3.4

B. 3.4

C. 4.3

D. 3


Report Bug


A. import random
     इम्पोर्ट रैंडम

B. random.h
     रैंडम.h

C. import.random
     इम्पोर्ट.रैंडम

D. random.random
     रैंडम.रैंडम




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