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

B. int

C. convert /     कन्वर्ट

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


Report Bug


A. 12.6

B. '12.6'

C. 12

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


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. 1 A 2 B 3 C

B. 1 2 3

C. A B C

D. 1:”A” 2:”B” 3:”C”


Report Bug


A. a b c d

B. 0 1 2 3

C. error /     एरर

D. 1 2 3 4


Report Bug


A. Compiler

B. Interpreters

C. Both Compiler and Interpreter /     Compiler और Interpreter दोनों

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


Report Bug


A. i.__add(j)

B. i.__add__(j)

C. i.__Add(j)

D. i.__ADD(j)


Report Bug


A. Error /     एरर

B. 2017-06-18

C. 18-06-2017

D. 06-18-2017


Report Bug


A. dlrowolleh

B. hello /     हेलो

C. world /     वर्ल्ड

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


Report Bug


A. 10

B. 20

C. Error

D. None


Report Bug


A. 1

B. 2

C. 3

D. 4


Report Bug


A. [0.0, 1.0]

B. (0.0, 1.0]

C. (0.0, 1.0)

D. [0.0, 1.0)


Report Bug


A. 123var

B. _var

C. if

D. var-name


Report Bug


A. -3.4

B. 3.4

C. 4.3

D. 3


Report Bug


A. An exception is thrown since the dictionary is empty /     डिक्शनरी खाली होने के बाद एक एक्सेप्शन रखा गया है

B. ‘ ‘

C. 1

D. 0


Report Bug


A. True /     सही

B. False /     ग़लत

C. Error /     एरर

D. None /     कोई नहीं


Report Bug


A. Read two words from file

B. Read two line from file

C. Read two character / two bytes

D. count the number of '2' in file


Report Bug


A. x | y

B. x ^ y

C. x & y

D. x – y


Report Bug


A. pseudo codes

B. syntax

C. flowcharts

D. programs


Report Bug


A. 5.0

B. 5

C. 4.0

D. 4


Report Bug


A. print(len(a))

B. print(min(a))

C. a.remove(5)

D. a[2]=45


Report Bug


A. 3

B. 2

C. 1

D. Error


Report Bug


A. a b c d

B. 0 1 2 3

C. error /     एरर

D. 1 2 3 4


Report Bug


A. 7

B. 8

C. 10

D. 6


Report Bug


A. 10

B. 20

C. Error

D. None


Report Bug


A. Python first searches the built-in namespace, then the global namespace and finally the local namespace. /     पायथन पहले बिल्ट-इन नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में लोकल नेमस्पेस की खोज करता है

B. Python first searches the built-in namespace, then the local namespace and finally the global namespace /     पायथन पहले बिल्ट-इन नेमस्पेस, फिर लोकल नेमस्पेस और अंत में ग्लोबल नेमस्पेस की खोज करता है

C. Python first searches the local namespace, then the global namespace and finally the built-in namespace /     पायथन पहले लोकल नेमस्पेस, फिर ग्लोबल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है

D. Python first searches the global namespace, then the local namespace and finally the built-in namespace /     पायथन पहले ग्लोबल नेमस्पेस, फिर लोकल नेमस्पेस और अंत में बिल्ट-इन नेमस्पेस की खोज करता है


Report Bug


A. +

B. *

C. **

D. //


Report Bug


A. Recursive Function

B. Lambda Function

C. Built-in Function

D. Generator Function


Report Bug


A. Provides a means of reuse of program code /     प्रोग्राम कोड के पुनः उपयोग का एक साधन प्रदान करता है

B. Provides a means of dividing up tasks /     कार्यों को विभाजित करने का एक साधन प्रदान करता है

C. Provides a means of reducing the size of the program /     प्रोग्राम के आकार को काम करने का एक साधन प्रदान करता है

D. Provides a means of testing individual parts of the program /     प्रोग्राम के अलग-अलग हिस्सों के परीक्षण का एक साधन प्रदान करता है


Report Bug


A. colon

B. statements indented at a lower, same level

C. indentation in any form

D. { }


Report Bug


A. try

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

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

D. Catch /     कैच


Report Bug


A. 1

B. 3

C. 9

D. 4


Report Bug


A. *

B. #

C. /

D. ?


Report Bug


A. and

B. or

C. not

D. All of the these /     ये सभी


Report Bug


A. print(t[3])

B. t[3] = 45

C. print(max(t))

D. print(len(t))


Report Bug


A. System diagram

B. Management hierarchy

C. Flowcharts

D. Convenience diagrams


Report Bug


A. ab12ef12

B. abcdef12

C. ab12efcd

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


Report Bug


A. True /     सही

B. False /     ग़लत

C. 0 /     शून्य

D. Error /     एरर


Report Bug


A. True /     सही

B. false /     गलत

C. ValueError occurs /     ValueError होती है

D. TypeError occurs /     TypeError होता है


Report Bug


A. a a a a a

B. a a a a a a

C. a a a a a a … infinite Time /     a a a a a a … infinite Time

D. a


Report Bug


A. Zip()

B. tuple()

C. list()

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


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. list1.remove(“hello”) /     लिस्ट1.रिमूव("हैलो")

B. list1.remove(hello) /     लिस्ट1.रिमूव(हैलो)

C. list1.removeAll(“hello”) /     लिस्ट1.रिमूव ऑल("हैलो")

D. list1.removeOne(“hello”) /     लिस्ट1.रिमूववन("हैलो")


Report Bug


A. ELL

B. ELLO

C. HELL

D. LL


Report Bug


A. Text file /     टेक्स्ट फाइल

B. Binary file /     बाइनरी फाइल

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

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


Report Bug


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

B. i i i i i i … infinite Time /     i i i i i i … अनंत समय

C. a a a a a a …

D. a b c d e f


Report Bug


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

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

C. fixed /     फिक्स्ड

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


Report Bug


A. White Space

B. ,

C. e

D. S


Report Bug


A. f.readlines()

B. f.readline()

C. f.read()

D. f.line()


Report Bug


A. dropna()

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

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

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


Report Bug


A. [2 4 1]

B. [3 4 1]

C. [2 3 1]

D. [2 4 3]


Report Bug


A. 10

B. 18

C. 79

D. 95


Report Bug


A. :=

B. =

C. ==

D. !=


Report Bug


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

B. Identifier /     आईडेन्टिफॉयर

C. code /     कोड

D. Debugging /     डिबगिंग


Report Bug


A. empty_tuple = ()

B. empty_tuple = tuple()

C. empty_tuple = []

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


Report Bug


A. Variables must be declared before use /     उपयोग करने से पहले वेरिएबल्स को घोषित करना आवश्यक है।

B. Data type is checked at compile time /     डेटा प्रकार की जाँच संकलन समय पर की जाती है

C. Variable type is determined at runtime /     वेरिएबल का प्रकार रनटाइम पर निर्धारित होता है।

D. Python has no data types /     पायथन में कोई डेटा प्रकार नहीं होते हैं।


Report Bug


A. break

B. assert

C. pass

D. continue


Report Bug


A. 4

B. 4.0

C. 2.5

D. None of These


Report Bug


A. [1, 2]

B. [1, 3]

C. [2, 3]

D. Error


Report Bug


A. Range /     रेंज

B. Input /     इनपुट

C. Open /     ओपेन

D. Pass /     पास


Report Bug


A. Machine language /     मशीन लैंग्वेज

B. Assembly language /     असेंब्ली लैंग्वेज

C. High-level language /     हाई-लेवल लैंग्वेज

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


Report Bug


A. float

B. str

C. set

D. int


Report Bug


A. The truncated decimal part of a number

B. The rounded integer value of a number.

C. The truncated integer value of a number.

D. The floor (largest integer less than or equal to the number).


Report Bug


A. mohan

B. MOHAN

C. Error

D. None of These


Report Bug


A. asc()

B. ord()

C. asci()

D. ascii()


Report Bug


A. 0.0 1.0

B. 0 1

C. error /     एरर

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


Report Bug


A. Only integers /     केवल पूर्णांक

B. Only floating-point numbers /     केवल फ़्लोटिंग-पॉइंट संख्याएँ

C. Homogeneous, but can be integers or floating-point numbers /     एक पारकर के डाटा , लेकिन पूर्णांक या फ़्लोटिंग-पॉइंट संख्याएं हो सकती हैं

D. Heterogeneous, supporting a mix of data types /     विषम, डेटा प्रकारों के मिश्रण का समर्थन करता है


Report Bug


A. end /     अंतिम में

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

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

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


Report Bug


A. %

B. /

C. \\

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


Report Bug


A. True /     सही

B. False /     गलत

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. Can contain multiple statements

B. Can have only one expression

C. Must use return statement

D. Cannot take arguments


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. set (x)

B. dict(d)

C. frozenset(s)

D. chr(x)


Report Bug


A. 1

B. 2

C. 3

D. 0


Report Bug


A. ^

B. **

C. ^^

D. exp()


Report Bug


A. Heeeo

B. Heelo

C. Heleo

D. None /     कोई नहीं


Report Bug


A. Find errors from the program /     प्रोग्राम में से एरर का पता लगाने के लिए

B. Check the functionality of the program /     प्रोग्राम की कार्यक्षमता जाँच करने के लिए

C. Black box testing /     ब्लैक बॉक्स टेस्टिंग

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


Report Bug


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

B. ‘hello’ /     ‘हैलो’

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

D. hello /     हैलो


Report Bug


A. Interpreter /     इंटरप्रेटर

B. Compiler /     कम्पाइलर

C. Combination of Compiler and Interpreter /     कंपाइलर और इंटरप्रेटर का संयोजन

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


Report Bug


A. 4

B. 7

C. 9

D. 8


Report Bug


A. -1

B. 4

C. 3

D. 1


Report Bug


A. directs the order of execution of the statements in the program

B. dictates what happens before the program starts and after it terminates

C. defines program-specific data structures

D. manages the input and output of control characters


Report Bug


A. 5

B. 6

C. 7

D. 0


Report Bug


A. 11

B. 8

C. 1

D. 0


Report Bug


A. sqrt()

B. add()

C. rhombus()

D. home()


Report Bug


A. s={abs}

B. s={4, ‘abc’, (1,2)}

C. s={2, 2.2, 3, ‘xyz’}

D. s={san}


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. 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. {'a': 5, 'b': 6,'a': 7 }

B. {'a': 7, 'b': 6}

C. {'a': 5, 'b': 6 }

D. Key Error


Report Bug


A. [‘AB’, ‘CD’]

B. [‘ab’, ‘cd’, ‘AB’, ‘CD’]

C. [‘ab’, ‘cd’]

D. Infinite Loop /     अनंत लूप


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. [‘Bangalore’, ‘Pune’, ‘Hyderabad’]

B. [‘Bangalore’, ‘Pune’, ‘Delhi’]

C. [‘Bangalore’, ‘Mumbai’, ‘Delhi’]

D. [‘Bangalore’, ‘Mumbai’, ‘Hyderabad’]


Report Bug


A. ; (semicolon)

B. ,(Comma)

C. : (colan)

D. None of these /     कोई नही


Report Bug


A. Sequence

B. Branch

C. Loop

D. Condition


Report Bug


A. arrow /     एरो

B. circle /     सर्किल

C. box /     बॉक्स

D. parallelogram /     समान्तरचतुचतुर्भुज


Report Bug


A. Identity Matrix /     पहचान मैट्रिक्स

B. Upper triangle Matrix /     ऊपरी त्रिकोण मैट्रिक्स

C. Lower Triangle Matrix /     निचली त्रिकोण मैट्रिक्स

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


Report Bug


A. for

B. while

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

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


Report Bug


A. sequence()

B. range()

C. list()

D. loop()


Report Bug


A. int /     इंट

B. null /     नल

C. None /     कोई नहीं

D. An exception is thrown without the return statement /     रिटर्न स्टेटमेंट के बिना अपवाद को थ्रो कर दिया जाता है


Report Bug


A. 2

B. 33

C. 14

D. 25




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