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

B. macro
     मैक्रो

C. micro
     माइक्रो

D. union
     यूनियन


Report Bug


A. getopt

B. os

C. getarg

D. main


Report Bug


A. try

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

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

D. Catch
     कैच


Report Bug


A. Method displays the directory of a process.
     मेथड एक प्रक्रिया की डॉयरेक्ट्री को प्रदर्शित करता है।

B. Method displays the current working directory of a process.
     मेथड किसी प्रक्रिया की वर्तमान वर्किंग डॉयरेक्ट्री को प्रदर्शित करती है।

C. Method create file of a process.
     मेथड एक प्रक्रिया की फ़ाइल बनाता है।

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


Report Bug


A. a is the smallest number

B. b is the smallest number

C. c is the smallest number
     cis the smallest number

D. stop


Report Bug


A. (3,)

B. (4,)

C. 1

D. 3


Report Bug


A. [‘abcdefcdghcd’]

B. ‘abcdefcdghcd’

C. error
     एरर

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


Report Bug


A. float(‘10’)
     float(‘10’)

B. int(‘10’)
     int(‘10’)

C. float(’10.8’)
     float(’10.8’)

D. int(’10.8’)
     int(’10.8’)


Report Bug


A. 19

B. 18

C. 17

D. Error
     एरर


Report Bug


A. Integer

B. String

C. Floating point

D. None of these


Report Bug


A. giga bytes

B. mega bytes

C. byte

D. bits


Report Bug


A. [ ]

B. [1 2 3 4 5]

C. [5 4 3 2 1]

D. [1 2 3 4]


Report Bug


A. for

B. While

C. do-while

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


Report Bug


A. _val

B. val

C. try

D. _try_


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. Loop
     लूप

B. Process
     प्रोसेस

C. Decision
     डिसिशन

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


Report Bug


A. [“john”, “peter”]

B. [“john”:40, “peter”:45]

C. (“john”, “peter”)

D. (“john”:40, “peter”:45)


Report Bug


A. __init__

B. in

C. it

D. on


Report Bug


A. 2 3 4

B. 1 2 3 4

C. 2

D. None of These


Report Bug


A. True
     सही

B. 2

C. 3

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


Report Bug


A. Boxes
     बॉक्स

B. Circles
     सर्किल

C. Arrows
     एरो

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


Report Bug


A. Error
     एरर

B. Any integer between 3.5 and 7, including 7
     3.5 और 7 के बीच कोई भी पूर्णांक, जिसमें 7 भी शामिल हैं

C. Any integer between 3.5 and 7, excluding 7
     3.5 और 7 के बीच कोई भी पूर्णांक, 7 को छोड़कर

D. The integer closest to the mean of 3.5 and 7
     पूर्णांक 3.5 और 7 के माध्य से निकटतम है


Report Bug


A. open_file()

B. file_open()

C. open()

D. read_file()


Report Bug


A. 2

B. 0

C. 1

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


Report Bug


A. pseudo codes
     pseudo कोड

B. syntax
     वाक्य - विन्यास

C. flowcharts
     फ़्लोचार्ट

D. programs
     प्रोग्राम्स


Report Bug


A. Hello

B. Hello Hello

C. nothing

D. Hello Hello Hello Hello Hello


Report Bug


A. {'Joey': 1, 'Rachel': 2, 'Phoebe': 2}

B. {“Joey”:1,”Rachel”:}

C. {“Joey”:1,”Phoebe”:2}

D. Error


Report Bug


A. Exponential
     घातीय

B. Parentheses
     कोष्ठक

C. Multiplication
     गुणन

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


Report Bug


A. close_file()

B. file_close()

C. close()

D. end_file()


Report Bug


A. 1

B. 2

C. 3

D. 4


Report Bug


A. Range
     रेंज

B. Input
     इनपुट

C. Open
     ओपेन

D. Pass
     पास


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

B. is

C. assert

D. All
     सभी


Report Bug


A. exit
     एग्जिट

B. break
     ब्रेक

C. continue
     कंटीन्यू

D. stop
     स्टॉप


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. list1.sum(5)

B. list1.add(5)

C. listl.append(5)

D. list1.addelement(5)


Report Bug


A. 5 5 1 2 3

B. 5 1 2 3 4

C. 2 3 4 5 1

D. 2 3 4 5 5


Report Bug


A. 1 2 3

B. 123

C. Error

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


Report Bug


A. 0 1 2

B. 0 1 2 0 1 2 0 1 2 …

C. None None None
     कोई नहीं कोई नहीं

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


Report Bug


A. -9

B. 9

C. 6

D. -6


Report Bug


A. Math.Pi

B. Circle()

C. Pandas
     पंडास

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


Report Bug


A. ,worl

B. worl

C. world

D. oworld


Report Bug


A. closed
     क्लोज्ड

B. softspace
     सॉफ्टस्पेस

C. rename
     रीनेम

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


Report Bug


A. d.size()
     d.साइज़()

B. len(d)
     लेन (d)

C. size(d)
     साइज़(d)

D. d.len()
     d.लेन()


Report Bug


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

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

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

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


Report Bug


A. 28

B. 739

C. 829

D. 64


Report Bug


A. Heap

B. Stack

C. Uninitialized data segment

D. None of the above


Report Bug


A. [3, 4, 5, 20, 5, 25, 1]

B. [1, 3, 3, 4, 5, 5, 20, 25]

C. [3, 5, 20, 5, 25, 1, 3]

D. [1, 3, 4, 5, 20, 5, 25]


Report Bug


A. print('Hello Word')

B. print("Hello Word")

C. print(Hello Word)

D. Both A and B


Report Bug


A. Flowchart

B. Program

C. Pseudo Code

D. Syntax


Report Bug


A. Read mode

B. Write mode

C. Append mode

D. Binary mode


Report Bug


A. In Python, a tuple can contain only integers as its elements.
     पायथन में, एक टपल में इसके एलीमेंट के रूप में केवल इंटीजर हो सकते हैं।

B. In Python, a tuple can contain only strings as its elements.
     पायथन में, एक टपल में इसके एलीमेंट के रूप में केवल स्ट्रींग हो सकते हैं।

C. In Python, a tuple can contain both integers and strings as its elements.
     पायथन में, एक टपल में इसके एलीमेंट के रूप में इंटीजर और स्ट्रिंग दोनों हो सकते हैं ।

D. In Python, a tuple can contain either string or integer but not both at a time.
     पायथन में, एक टपल में या तो स्ट्रिंग हो सकते हैं, या तो इंटीजर, लेकिन एक समय में दोनों नहीं हो सकते हैं।


Report Bug


A. 55

B. 60

C. 555

D. Error
     एरर


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

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

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

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


Report Bug


A. Oval or Pill Shape
     ओवल या पिल शेप

B. Rectangle
     आयत

C. Diamond
     डॉयमण्ड

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


Report Bug


A. snow
     स्नो

B. snow world
     स्नो वर्ल्ड

C. Error
     एरर

D. snos world
     स्नोस वर्ल्ड


Report Bug


A. +5

B. -11

C. +11

D. -5


Report Bug


A. space()

B. strip()

C. remove()

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


Report Bug


A. 1

B. 3

C. 2

D. 4


Report Bug


A. sets the file's current position at the offset

B. sets the file's previous position at the offset

C. sets the file's current position within the file

D. None of these


Report Bug


A. d.delete(“john”:40)
     d.delete ( "जॉन": 40)

B. d.delete(“john”)
     d.delete ( "जॉन")

C. del d[“john”]
     डेल डी ["जॉन"]

D. del d(“john”:40)
     डेल डी ("जॉन": 40)


Report Bug


A. a=2,b=3,c=4

B. a,b,c=2,3,4

C. a=2;b=3;c=4

D. Both b and c
     बी और सी दोनों


Report Bug


A. list=()

B. list.null

C. null.list

D. list=[]


Report Bug


A. Built in datatype
     डेटाटाइप में बनाना

B. Derived datatype
     प्राप्त डेटाटाइप

C. Concrete datatype
     कंक्रीट डेटाटाइप

D. Abstract datatype
     एब्स्ट्रैक्ट डेटाटाइप


Report Bug


A. AB!@

B. ab12

C. aB!2

D. aB1@


Report Bug


A. Micro
     माइक्रो

B. Union
     यूनियन

C. Macro
     मैक्रो

D. Stack
     स्टैक


Report Bug


A. if

B. if-else

C. elif

D. if-else-if


Report Bug


A. 2445

B. 133

C. 12454

D. 123


Report Bug


A. Int

B. Float

C. int or float

D. None of these


Report Bug


A. Lists
     लिस्ट्स

B. Dictionary
     ड़िक्शनरी

C. String
     सेट

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


Report Bug


A. 6

B. 1

C. 0

D. 7


Report Bug


A. list1 = list()

B. list1 = []

C. list1 = list([1, 2, 3])

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


Report Bug


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

B. Symbols
     सिम्बल

C. Annotation
     एनोटेशन

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


Report Bug


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

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

C. code
     कोड

D. Debugging
     डिबगिंग


Report Bug


A. 1

B. 3

C. 5

D. 7


Report Bug


A. Source-code
     सोर्स कोड

B. bytecode
     बाईटकोड

C. human-readable code
     ह्यूमन - रीडेबिल कोड

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


Report Bug


A. xyzp = 5,000,000

B. xyzp = 5000 6000 7000 8000

C. x, y, z,p = 5000, 6000, 7000, 8000

D. x_y_z_p = 5,000,000


Report Bug


A. re.create(str)

B. re.regex(str)

C. re.compile(str)

D. re.assemble(str)


Report Bug


A. []

B. ()

C. {}

D. None
     कोई नहीं


Report Bug


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

B. {1: ‘A’, 2: ‘b’, 3: ‘c’, 4: ‘D’, 5: ‘E’}

C. Error

D. {4: ‘D’, 5: ‘E’}


Report Bug


A. difficult syntax error in a program
     किसी प्रोग्राम में कठिन सिंटैक्स एरर

B. logical error in a programm
     एक प्रोग्राम में लॉजिकल एरर

C. Both a and b
     A और B दोनों

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


Report Bug


A. remove
     रिमूव

B. pop
     पॉप

C. discard
     डिस्कार्ड

D. dispose
     डिस्पोज़


Report Bug


A. int

B. float

C. str

D. list


Report Bug


A. 32

B. 33

C. 31

D. 30


Report Bug


A. [2,3,4]

B. 3

C. 2

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


Report Bug


A. raw_input
     रॉ_इनपुट

B. input
     इनपुट

C. eval
     ईवल

D. accept
     एक्सेप्ट


Report Bug


A. numpy.maximum()

B. numpy.arraymax()

C. numpy.amax()

D. numpy.big()


Report Bug


A. Interface
     इंटरफेस

B. Modularity
     मॉड्यूलेरिटी

C. Client
     क्लाइंट

D. Docstring
     डॉकस्ट्रिंग


Report Bug


A. oval
     अंडाकार

B. rectangle
     आयत

C. arrow
     एरो

D. diamond
     डायमंड


Report Bug


A. Variable names in Python cannot start with number. However, it can contain number in any other position of variable name.
     Python में वेरिएबल नेम नंबर से शुरू नहीं हो सकते हैं। हालाँकि, इसमें वेरिएबल नेम की किसी अन्य स्थिति में संख्या हो सकती है।

B. Variable names can start with an underscore.
     वेरिएबल नेम अंडरस्कोर से शुरू हो सकते हैं।

C. Data type of variable names should not be declared.
     डेटा प्रकार के वेरिएबल नेम डिक्लेयर नहीं किए जाने चाहिए।

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


Report Bug


A. dropna()

B. Pandas
     पंडास

C. read_csv()

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


Report Bug


A. .py

B. .python

C. .ppt

D. .pyt


Report Bug


A. 0

B. 1

C. -1

D. 2


Report Bug


A. Iterating over a list.
     किसी लिस्ट को इटरेटिंग करना।

B. Iterating over a string.
     एक स्ट्रिंग पर इटरेटिंग.

C. Iterating over a dictionary.
     एक ड़िक्शनरी पर इटरेटिंग।

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


Report Bug


A. Array
     ऐरे

B. alias
     एलियॉस

C. variable
     वेरिएबल

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


Report Bug


A. Interpreter
     इंटरप्रीटर

B. Modem
     मॉडम

C. Compiler
     कम्पाइलर

D. Operating system
     ऑपरेटिंग सिस्टम


Report Bug


A. Link, Load, Code, Compile, & Execute
     लिंक, लोड, कोड, कम्पाइल, एवं एक्सीक्यूट

B. Code, Compile, Link, Execute & Load
     कोड, कम्पाइल, लिंक, एक्सीक्यूट एवं लोड

C. Code, Compile, Link, load & Execute
     कोड, कम्पाइल, लिंक, लोड एवं एक्सीक्यूट

D. Compile, Code, Link, load, & Execute
     कम्पाइल, कोड, लिंक, लोड एवं एक्सीक्यूट


Report Bug


A. //

B. %

C. &

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


Report Bug


A. [1, 3]

B. [4, 3]

C. [1, 4]

D. [1, 3, 4]




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