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

B. Sliced

C. Iterated

D. All of the mentioned above


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

B. b

C. c

D. A


Report Bug


A. Arithmetic or Relational expression

B. Arithmetic or Logical expression

C. Relational or Logical expression

D. Arithmetic


Report Bug


A. Oval

B. Rectangle

C. Arrow

D. Diamond


Report Bug


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

B. i i i i i i …

C. a b c d e f

D. abcdef


Report Bug


A. 2 3 4

B. 1 2 3 4

C. 2

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. Interactive Mode

B. Script Mode

C. Both Interactive Mode or Script Mode

D. None of These


Report Bug


A. 5

B. 5.0

C. 10

D. Error
     एरर


Report Bug


A. Assert
     एजर्ट

B. List
     लिस्ट

C. Tuple
     टपल

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


Report Bug


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

B. Syntax error
     सिंटेक्स एरर

C. logical error
     लॉजिकल एरर

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


Report Bug


A. a b c d e f

B. abcdef

C. i i i i i i …

D. error


Report Bug


A. Semicolon(;)

B. Dollor($)

C. comma(,)

D. Colon(:)


Report Bug


A. a

B. abcd abcd abcd

C. a a a a

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


Report Bug


A. swapcase
     स्वैपकेस

B. uppertolower()
     अप्परटूलोअर()

C. lowertoUpper()
     लोअरटूअप्पर()

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


Report Bug


A. 2

B. 33

C. 14

D. 25


Report Bug


A. (2,3)

B. (3,1)

C. (1,3)

D. None of These


Report Bug


A. one star followed by a valid identifier
     एक स्टार के बाद एक वैलिड आइडेंटीफायर है

B. one underscore followed by a valid identifier
     एक वैलिड आइडेंटीफायर के बाद एक अंडरस्कोर

C. two stars followed by a valid identifier
     दो स्टार्स के बाद एक वैलिड आइडेंटीफायर है

D. two underscores followed by a valid identifier
     वैलिड आइडेंटीफायर द्वारा दो अंडरस्कोर


Report Bug


A. error
     एरर

B. zxxyxyy

C. z

D. zxxy


Report Bug


A. Angular brackets
     एंगुलर ब्रैकेट

B. parentheses
     ब्रैकेट

C. curly brackets
     कर्ली ब्रैकेट

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


Report Bug


A. It’s easier to code some real-world problems using recursion than non-recursive equivalent
     नॉन-रिकर्सिव समकक्ष की तुलना में रिकर्शन का यूज़ करके कुछ रियल-वर्ल्ड की प्रॉब्लम्स को कोड करना आसान है

B. Recursive functions are easy to debug
     रिकर्सिव फ़ंक्शन को डीबग करना आसान है

C. Recursive calls take up a lot of memory
     रिकर्सिव कॉल बहुत सारी मेमोरी लेती हैं

D. Programs using recursion take longer time than their non-recursive equivalent
     रिकर्शन का यूज़ करने वाले प्रोग्राम अपने नॉन-रिकर्सिव समकक्ष की तुलना में अधिक समय लेते हैं


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

B. Tuples

C. Set

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

B. False
     गलत

C. -3

D. -4


Report Bug


A. generates a list of numbers, to iterate over with for loops
     लिस्ट ऑफ नंबर्स को जनरेट करना ताकि वो फॉर लूप पर इटरेट हो ।

B. immediate exit from the innermost loop structure.
     इनरमोस्ट लूप में से इमीडियेट एग्जिट

C. returned an iterator a sequence object.
     सीक्वेंस ऑब्जेक्ट का इटरेटर रिटर्न करता है।

D. Arranging numbers whether in ascending or descending order.
     संख्याओं को आरोही या अवरोही क्रम में व्यवस्थित करना ।


Report Bug


A. [4,5, 6

B. [7]

C. [1, 2,3, 4]

D. 7


Report Bug


A. slicer
     स्लाईसर

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

C. Membership
     मेंबरशिप

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


Report Bug


A. sys.argv

B. sys.readline

C. sys.path

D. sys.platform


Report Bug


A. Algorithm

B. flowchart

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

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


Report Bug


A. Identifiers

B. Function

C. Keywords

D. Literals


Report Bug


A. bin()

B. int()

C. binary()

D. Zip()


Report Bug


A. xyyxyyxyxyxxy

B. 12y12y1212x12

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

D. error
     एरर


Report Bug


A. Ternary

B. Relational

C. Logical

D. Assignment


Report Bug


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

B. bytecode
     बाईटकोड

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

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


Report Bug


A. 0,1,2,3

B. [0,1,2,3]

C. range(0, 4)

D. (0,1,2,3)


Report Bug


A. Circle
     सर्किल

B. Parallelogram
     समन्तचतुर्भुज

C. Diamond
     डायमंड

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


Report Bug


A. [1 3 5]

B. [1 3]

C. [1,3]

D. [1,2,3,4,5]


Report Bug


A. abc

B. 5

C. {"abc":5}

D. error


Report Bug


A. Compiler
     कंपाइलर

B. Assembler
     असेंबलर

C. Translator
     ट्रांसलेटर

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


Report Bug


A. Global namespace
     ग्लोबल नेमस्पेस

B. Public namespace
     पब्लिक नेमस्पेस

C. Built-in namespace
     बिल्ट-ईन नेमस्पेस

D. Local namespace
     लोकल नेमस्पेसं


Report Bug


A. int

B. bool

C. void

D. None


Report Bug


A. ,worl

B. worl

C. world

D. oworld


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. re\new

B. new

C. re new

D. re ew


Report Bug


A. TRUE

B. TRUE FALSE

C. TRUE TRUE

D. FALSE TRUE


Report Bug


A. True

B. False

C. Machine dependent

D. Error


Report Bug


A. 1

B. 2

C. -1

D. 0


Report Bug


A. datetime.utc()

B. datetime.datetime.utc()

C. datetime.utcnow()

D. datetime.datetime.utcnow()


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. Guido van Rossum

B. Travis Oliphant

C. Wes McKinney

D. Jim Hugunin


Report Bug


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

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

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

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


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

B. C++

C. JAVA

D. PHP


Report Bug


A. seed()
     सीड()

B. sqrt()

C. factorial()
     फैक्टोरीअल()

D. print()
     प्रिंट ()


Report Bug


A. x | y

B. x ^ y

C. x & y

D. x – y


Report Bug


A. Warning

B. Error

C. Error

D. No Error


Report Bug


A. The syntax is: from module name import identifier

B. This form of import does not import anything

C. The namespace of imported module becomes part of importing module

D. The identifiers in module are accessed directly as: identifier


Report Bug


A. 5.5

B. 3.5

C. 1

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


Report Bug


A. 1 2 3 4

B. 4 5 6 7

C. 1 3 8 12

D. 2 5 9 13


Report Bug


A. 123var

B. _var

C. if

D. var-name


Report Bug


A. int

B. bool

C. float

D. None


Report Bug


A. lowercase
     लोअरकेस

B. UPPERCASE
     अपरकेस

C. Capitalized
     कैपिटलाईज्ड

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


Report Bug


A. 1995

B. 1972

C. 1981

D. 1991


Report Bug


A. List

B. Array

C. Matrix

D. Set


Report Bug


A. Looping

B. Selective

C. Sequence

D. None


Report Bug


A. 2

B. 0

C. 1

D. error
     एरर


Report Bug


A. [3,2,4]

B. [2,3,4]

C. Error
     एरर

D. [3,4,2]


Report Bug


A. Error

B. None

C. abcd

D. [‘a’,’b’,’c’,’d’]


Report Bug


A. error
     एरर

B. do nothing, it is a placeholder for a function that is yet to be implemented
     कुछ भी न करें, यह एक फ़ंक्शन के लिए एक प्लेसहोल्डर है जिसे अभी तक लागू नहीं किया गया है

C. shuffle the elements of the list in-place
     सूची के एलिमेंट्स को इन-प्लेस में शफल करें

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


Report Bug


A. d.size()

B. len(d)

C. size(d)

D. d.len ()


Report Bug


A. None

B. { None:None, None:None, None:None}

C. {1:None, 2:None, 3:None}

D. { }


Report Bug


A. list
     लिस्ट

B. set
     सेट

C. tuple
     टपल

D. dictionary
     डिक्शनरी


Report Bug


A. a_=3

B. _a=3

C. a?=3

D. All of these
     सभी


Report Bug


A. break

B. while

C. continue

D. operators


Report Bug


A. (a%b, a//b)

B. (a//b, a%b)

C. (a//b, a*b)

D. (a/b, a%b)


Report Bug


A. {'c'}

B. {'a','b','c','d','e','r'}

C. {c}

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


Report Bug


A. sys.version

B. sys.version()

C. sys.version(0)

D. sys.version(1)


Report Bug


A. A*A=8

B. A*=8

C. A*8=A

D. A=*8


Report Bug


A. True
     सही

B. False
     गलत

C. None
     कोई नहीं

D. Error
     एरर


Report Bug


A. 5

B. 23

C. 18

D. Invalid syntax for sum method, too many arguments
     सम मैथड के लिए इनवैलिड सिंटैक्स, बहुत सारे आर्ग्यमन्ट


Report Bug


A. List
     लिस्ट

B. Tuple
     टपल

C. Dictionary
     डिक्शनरी

D. None
     कोई नहीं


Report Bug


A. bw+

B. wb+

C. rb+

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


Report Bug


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

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

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

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


Report Bug


A. []

B. [10, 8, 6]

C. [2, 5, 8]

D. [8, 5, 2]


Report Bug


A. Top down method

B. Bottom up method

C. Coding

D. None of the above


Report Bug


A. Wed

B. Wednesday
     वेडन्सडे

C. 2

D. 3


Report Bug


A. one-star followed by a valid identifier
     एक के बाद एक वैलिड आइडेंटिफायर

B. one underscore followed by a valid identifier
     एक वैलिड आइडेंटिफायर के बाद एक अंडरस्कोर

C. two stars followed by a valid identifier
     दो स्टार्स के बाद एक वैलिड आइडेंटिफायर है

D. two underscores followed by a valid identifier
     वैलिड आइडेंटिफायर द्वारा दो अंडरस्कोर


Report Bug


A. ; (semicolon)

B. ,(Comma)

C. : (colan)

D. None of these
     कोई नही


Report Bug


A. arr1 + arr2

B. add(arr1, arr2)

C. arr1.add(arr2)

D. elementwise_add(arr1, arr2)


Report Bug


A. 0

B. 4

C. 1

D. 2


Report Bug


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

B. write()
     राइट()

C. tell()
     टेल()

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


Report Bug


A. Error
     एरर

B. -1

C. 1

D. 0


Report Bug


A. str1[ : : -1 ]

B. str1[ : : 1 ]

C. str1[ : -1 : -1 ]

D. None
     कोई नहीं


Report Bug


A. Keywords
     कीवर्ड

B. Identifiers
     आइंडेंटीफायर्स

C. Operators
     ऑपरेटर्स

D. Statements
     स्टेटमेंट्स


Report Bug


A. delete all the trailing characters
     सभी ट्रेलिंग कैरेक्टर्स को डिलीट करने

B. delete all the leading characters
     सभी लिडिंग कैरेक्टर्स को डिलीट करने

C. delete all the leading and trailing characters
     सभी लिडिंग और ट्रेलिंग कैरेक्टर्स को डिलीट करने

D. delete upper case characters
     अपरकेस कैरेक्टर्स को डिलीट करने के लिए


Report Bug


A. 25

B. 17

C. 16

D. Tuples can’t be made keys of a dictionary
     Tuples को ड़िक्शनरी की key नहीं बनाया जा सकता है


Report Bug


A. Recursive function can be replaced by a non-recursive function
     रिकर्सिव फ़ंक्शन को नॉन-रिकर्सिव फ़ंक्शन द्वारा रेप्लस किया जा सकता है

B. Recursive functions usually take more memory space than non-recursive function
     रिकर्सिव फ़ंक्शन आमतौर पर नॉन-रिकर्सिव फ़ंक्शन की तुलना में अधिक मेमोरी स्पेस लेते हैं

C. Recursive functions run faster than non-recursive function
     रिकर्सिव फ़ंक्शन नॉन-रिकर्सिव फ़ंक्शन की तुलना में तेज़ी से चलते हैं

D. Recursion makes programs easier to understand
     रिकर्सियन प्रोग्राम्स को समझने में आसान बनाता है


Report Bug


A. sequence()

B. range()

C. list()

D. loop()




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