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. 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. [[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. It supports automatic garbage collection

B. It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java

C. Both of the above

D. None of the above


Report Bug


A. 1

B. 3

C. 2

D. 4


Report Bug


A. del

B. remove

C. removeAll

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


Report Bug


A. 0

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

C. error
     एरर

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


Report Bug


A. Built in datatype

B. Derived datatype

C. Concrete datatype

D. Abstract datatype


Report Bug


A. eval

B. assert

C. nonlocal

D. pass


Report Bug


A. Arguments

B. Subroutines

C. Function

D. Definition


Report Bug


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

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

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

D. { }


Report Bug


A. pop()

B. delete()

C. remove_last()

D. delete_last()


Report Bug


A. Hello WordWordWordWordWord

B. Hello Word 5

C. Hello Word,Word,Word,Word,Word

D. Hello HelloHelloHelloHelloHello


Report Bug


A. True

B. False

C. Only in Functions

D. Only in modules


Report Bug


A. One Time

B. Two Time

C. Any Number of Time

D. we can not change the value of variable


Report Bug


A. count()

B. len()

C. index()

D. find()


Report Bug


A. 10

B. 9

C. 4

D. All of the mentioned above


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

B. try

C. val

D. with


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. _val

B. val

C. try

D. _try_


Report Bug


A. abc=2,00,000

B. a,b,c=200,300,400

C. a_b_c= 2,00,000

D. abc=200 300 400


Report Bug


A. An algorithm

B. A decision table

C. A program

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


Report Bug


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

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

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

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


Report Bug


A. To execute when the loop is terminated using break.
     ब्रेक का यूज़ करके लूप टर्मिनेट होने पर एक्सक्यूट करना।

B. To execute after the loop completes without encountering a break.
     लूप कम्पलीट होने के बाद बिना किसी रुकावट के एक्सक्यूट करना।

C. To restart the loop.
     लूप को रीस्टार्ट करने के लिए

D. To execute before the loop starts
     लूप रीस्टार्ट होने से पहले एक्सक्यूट करना


Report Bug


A. 12.6

B. '12.6'

C. 12

D. syntax error
     सिंटेक्स एरर


Report Bug


A. To create an infinite loop.
     एक इन्फनिट लूप क्रिएट करने के लिए.

B. To check additional conditions when the first if condition is False.
     एडिशनल कंडीशनल्स को चेक करने के लिए जब फर्स्ट कंडीशन गलत हो।

C. To end the if block.
     if ब्लॉक को ख़त्म करने के लिए.

D. To execute code unconditionally.
     कोड को अनकंडिशनली एक्सक्यूट करना।


Report Bug


A. True

B. False

C. Machine dependent

D. Error


Report Bug


A. True
     ट्रू

B. False
     फॉल्स

C. Infinite
     इन्फाईनाइट

D. NULL
     शून्य


Report Bug


A. int("123")

B. integer("123")

C. int["123“]

D. (int) “123”


Report Bug


A. Python Visual Machine

B. Python Visual Mode

C. Python Virtual Machine

D. Python Virtual Mode


Report Bug


A. **

B. //

C. is

D. not in


Report Bug


A. [10, 8, 6]

B. [9, 7, 5]

C. [6, 8, 10]

D. [5, 7, 9]


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

B. Tuple
     टपल

C. Dictionary
     डिक्शनरी

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


Report Bug


A. floating

B. float

C. int

D. integer


Report Bug


A. eval

B. nonlocal

C. assert

D. finally


Report Bug


A. To execute if the loop terminates normally without a break.
     यदि लूप बिना किसी ब्रेक के सामान्य रूप से टर्मिनेट हो जाता है तो एक्सक्यूट करने के लिए।

B. To execute after every iteration..
     प्रत्येक इट्रेशन के बाद एक्सक्यूट करने के लिए..

C. To handle errors in the loop.
     लूप में एरर को हैंडल करने के लिए.

D. To terminate the loop.
     लूप को टर्मिनेट करने के लिए.


Report Bug


A. 10

B. 18

C. 79

D. 95


Report Bug


A. open_file()

B. file_open()

C. open()

D. read_file()


Report Bug


A. .py

B. .python

C. .pt

D. .pyt


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

B. 12, Error
     12,एरर

C. 12, 6

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


Report Bug


A. Indexing
     इंडेक्सिंग

B. Slicing
     स्लाइसिंग

C. Reshaping
     रिशेपिंग

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


Report Bug


A. (1)

B. (1,)

C. [1]

D. {1}


Report Bug


A. Comma Space Value

B. Comma Separated Value

C. Common spaced Value

D. Compact Structure View


Report Bug


A. tell()
     टेल()

B. write()
     राइट()

C. Writelines()
     राइटलाइन्स()

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


Report Bug


A. x += 5

B. x *= 5

C. x = x ** 5

D. none of these


Report Bug


A. slicer
     स्लाईसर

B. Slicing
     स्लाईसिंग

C. Membership
     मेंबरशिप

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


Report Bug


A. Checks if an element exists within a sequence.
     चेक करता है कि कोई एलिमेंट्स किसी सीक्वेंस में मौजूद है या नहीं।

B. Checks for inequality between two variables.
     दो वैरिएबल्स के बीच इनक्वॉलिटी को चेक करता है।

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

D. Checks the length of a sequence.
     किसी सीक्वेंस की लेंथ को चेक करता है


Report Bug


A. Arithmetic or Relational expression

B. Arithmetic or Logical expression

C. Relational or Logical expression

D. Arithmetic


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. List of tuple

B. Tuple of List

C. Array of Tuples

D. Invalid Type


Report Bug


A. Variable

B. Literals

C. Identifiers

D. Comment


Report Bug


A. go

B. pass

C. over

D. ;


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. Mutable data type
     म्यूटेबल डेटा टाइप

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

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

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


Report Bug


A. Ab cd ef

B. Ab cd eF

C. Ab Cd Ef

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


Report Bug


A. Flow Lines
     फ्लो लाइन्स

B. circle
     सर्किल

C. diamond
     डायमंड

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


Report Bug


A. Rectangle

B. Parallelogram

C. Circle

D. Diamond


Report Bug


A. ['llo']

B. ['hello']

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

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


Report Bug


A. 3

B. 5

C. 25

D. 1


Report Bug


A. Factor
     फैक्टर

B. integer number
     पूर्णांक संख्या

C. unique number
     यूनिक नंबर

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


Report Bug


A. [x<0 in l]

B. [x for x<0 in l]

C. [x in l for x<0]

D. [x for x in l if x<0]


Report Bug


A. dropna()

B. Reference
     रेफ़्रेन्स

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

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


Report Bug


A. a b c d

B. 0 1 2 3

C. error
     एरर

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


Report Bug


A. numpy.linspace()

B. numpy.range()

C. numpy.arrange()

D. numpy.spaceline()


Report Bug


A. Yes, list mutable and tuple immutable

B. No, list and tuple both are mutable

C. No, list and tuple both are in immutable

D. No, just opposite, list immutable and tuple mutable


Report Bug


A. writeline (s)

B. write(s)

C. read(s)

D. None
     कोई नहीं


Report Bug


A. variable
     वैरिएबल

B. literal
     लिटरल

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

D. comment
     कमेंट


Report Bug


A. del dic("tiger")

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

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

D. del dic["tiger"]


Report Bug


A. Input/Output

B. Decision

C. Arithmetic instruction

D. Start/Stop


Report Bug


A. Warning

B. Error

C. Error

D. No Error


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

B. Expressions

C. Tokens

D. Flow of control


Report Bug


A. getopt

B. os

C. getarg

D. main


Report Bug


A. break

B. while

C. continue

D. operators


Report Bug


A. 0

B. 1

C. 11

D. 10


Report Bug


A. 16

B. 4

C. 8

D. 64


Report Bug


A. val()

B. print()

C. print In()

D. const()


Report Bug


A. Tuples (seq)

B. list(seq)

C. dict (seq)

D. None
     कोई नहीं


Report Bug


A. A built-in Python function
     एक अंतर्निहित पायथन फ़ंक्शन

B. A one-line anonymous function
     एक-पंक्ति वाला अनाम फ़ंक्शन

C. Lambda is a function in python but user can not use it.
     लैम्ब्डा पायथन में एक फंक्शन है लेकिन उपयोगकर्ता इसका उपयोग नहीं कर सकता।

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


Report Bug


A. 3 1

B. 1 3

C. error
     एरर

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


Report Bug


A. Interpreter

B. Identifiers

C. Keyword

D. Operators


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. [2 4 1]

B. [2 3 1]

C. [3 4 1]

D. [2 4 3]


Report Bug


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

B. // This is Comment

C. /* This is Comment */

D. # This is Comment


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

B. %

C. and

D. +


Report Bug


A. []

B. ()

C. {}

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


Report Bug


A. True True

B. True False

C. False True

D. False False


Report Bug


A. int

B. list

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

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


Report Bug


A. bin()

B. int()

C. binary()

D. Zip()


Report Bug


A. Math.Pi

B. Circle()

C. Pandas
     पंडास

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


Report Bug


A. print(arr[3,0])

B. print(arr[1,2])

C. print(arr[7,2])

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


Report Bug


A. a=b=c=1

B. a,b,c=1

C. a, b, c = 1, "python", 1.5

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


Report Bug


A. 20

B. 20.0

C. 28

D. 28.0


Report Bug


A. Algorithm

B. flowchart

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

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


Report Bug


A. dropna()

B. Pandas
     पंडास

C. read_csv()

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


Report Bug


A. Union

B. Intersection

C. Difference

D. None of the above




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