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. High Level

B. Low Level

C. Procedural

D. Difficult


Report Bug


A. HTTP

B. urllib

C. socket

D. header


Report Bug


A. [1,2,3]

B. [1,3]

C. [2,3]

D. Error


Report Bug


A. 123var

B. _var

C. if

D. var-name


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

B. 30

C. 25

D. Error


Report Bug


A. Algorithm

B. Diagram

C. Machine code

D. Flowchart


Report Bug


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

B. A function execution instance that calls another execution instance of the same function /     एक फ़ंक्शन एक्सेक्यूशन इंस्टैंस जो उसी फ़ंक्शन के किसी अन्य एक्सेक्यूशन इंस्टैंस को कॉल करता है

C. A class method that calls another class method /     एक क्लास मैथड जो दूसरे क्लास मैथड को बुलाती है

D. An in-built method that is automatically called /     एक अंतर्निहित पद्धति जिसे स्वचालित रूप से कहा जाता है


Report Bug


A. Tuple of array dimensions

B. Total elements

C. Data type

D. Memory size


Report Bug


A. print(arr[2:4])

B. print(arr[2:5])

C. print(arr[2:6])

D. print(arr[3:6])


Report Bug


A. Statements

B. Control

C. Structure

D. Indentation


Report Bug


A. True

B. False

C. 55

D. TypeError


Report Bug


A. .py

B. .python

C. .p

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


Report Bug


A. 3 -3

B. 4 -4

C. 3 -4

D. 3 3


Report Bug


A. mehethey

B. me he they

C. he they me

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


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 the above /     इनमे से कोई भी नहीं


Report Bug


A. <<

B. **

C. |

D. %


Report Bug


A. procedure /     प्रकिया

B. function /     कार्य

C. bug /     बग

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


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. Numbering Python /     नंबरिंग पायथन

B. Number In Python /     पायथन में नंबर

C. Numerical Python /     न्यूमेरिक पायथन

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


Report Bug


A. Identifier

B. Expression

C. Syntax

D. Task


Report Bug


A. Numbers

B. String

C. List

D. Slice


Report Bug


A. Better programming

B. easy testing and debugging

C. Efficient Coding

D. All


Report Bug


A. write

B. writelineas /     writelines

C. dump

D. pickle


Report Bug


A. slicer /     स्लाईसर

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

C. Membership /     मेंबरशिप

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


Report Bug


A. 0

B. 1

C. 10

D. 1.0


Report Bug


A. eval

B. nonlocal

C. assert

D. finally


Report Bug


A. Built in

B. List

C. Tuple

D. Derived data


Report Bug


A. True /     सही

B. False /     गलत

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. 4

B. 3

C. 2

D. 1


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. s.__len__()

B. len(s)

C. size(s)

D. s.size()


Report Bug


A. Compiling code

B. Removing errors

C. Designing hardware

D. Writing code


Report Bug


A. Dictionary keys must be mutable

B. Dictionary values must be immutable

C. Dictionary reserves insertion order only in Python 2

D. Dictionary keys must be unique


Report Bug


A. True /     सही

B. None /     कोई नहीं

C. 3

D. 1


Report Bug


A. in

B. is

C. assert

D. All /     सभी


Report Bug


A. An operation code /     ऑपरेशन कोड

B. An address /     एड्रेस

C. An operand /     ऑपरेंड

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


Report Bug


A. all_like

B. ones_like

C. one_alike

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


Report Bug


A. A rectangle

B. A rhombus

C. A parallelogram

D. A circle


Report Bug


A. [1 2 3]

B. [1. 1.5 2. 2.5]

C. [1. 1.5 2. 2.5 3]

D. [1 1.5 2 2.5 3]


Report Bug


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

B. Flow /     फ्लो

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

D. syntax /     सिन्टैक्स


Report Bug


A. User Defined Function

B. Library Functions

C. Builtin Functions

D. All of the above


Report Bug


A. print(sys)

B. print(dir.sys)

C. print(dir[sys])

D. print(dir(sys))


Report Bug


A. [1, 10, 2, 3]

B. [10, 1, 2, 3]

C. [1, 2, 10, 3]

D. Error


Report Bug


A. 5

B. 1

C. 10

D. 0


Report Bug


A. [4,5, 6

B. [7]

C. [1, 2,3, 4]

D. 7


Report Bug


A. 0

B. 1

C. File size

D. Error


Report Bug


A. No Operation

B. No Action

C. Null Statement

D. Placeholder


Report Bug


A. From package import all

B. From package import *

C. From package include all

D. From package include *


Report Bug


A. File Found Error

B. File Not Exist Error

C. File Not Found Error

D. None of these


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. os.rename(existing_name, new_name)

B. fq.name = ‘new_name.txt’

C. os.rename(fp, new_name)

D. os.set_name(existing_name, new_name)


Report Bug


A. sys.platform

B. sys.path

C. sys.readline

D. sys.argv


Report Bug


A. Zip()

B. tuple()

C. list()

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


Report Bug


A. 0

B. 1

C. -1

D. 2


Report Bug


A. 3.333

B. 3

C. 4

D. 3.0


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. Numbering Python /     नबरिंग पाइथन

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

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

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


Report Bug


A. count()

B. len()

C. index()

D. find()


Report Bug


A. giga bytes

B. mega bytes

C. byte

D. bits


Report Bug


A. f = open("data.txt", "a")

B. f = Open("data.txt", "ab")

C. f= new("data.txt", "a")

D. open("data.txt", "a")


Report Bug


A. Compiler /     कंपाइलर

B. Assembler /     असेंबलर

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

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


Report Bug


A. .py

B. .python

C. .pt

D. .pyt


Report Bug


A. del

B. remove

C. removeAll

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


Report Bug


A. Tuple /     टपल

B. Integer /     इन्टिजर

C. List /     लिस्ट

D. Both tuple and integer /     टपल और इन्टिजर दोनों


Report Bug


A. :=

B. =

C. ==

D. !=


Report Bug


A. 5

B. 1

C. 10

D. 0


Report Bug


A. Correctness and finiteness only

B. Finiteness and efficiency only

C. Correctness, finiteness, and clarity

D. Correctness and hardware dependency


Report Bug


A. 23

B. '2+3'

C. '23'

D. None of These


Report Bug


A. [ 2 4 3 5]

B. [ 6 20]

C. [ 6 12 10 20]

D. 26


Report Bug


A. A machine learning library /     एक मशीन लर्निंग लाइब्रेरी

B. A web development framework /     एक वेब डेवलोपमेन्ट फ्रेमवर्क

C. A numerical computing library in Python /     एक संख्यात्मक कंप्यूटिंग लाइब्रेरी

D. A data visualization tool /     एक डेटा विज़ुअलाइज़ेशन उपकरण


Report Bug


A. True /     सही

B. False /     गलत

C. None /     कोई नहीं

D. Error /     एरर


Report Bug


A. print(list1[0])

B. print(list1[:2])

C. print(list1[:-2])

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


Report Bug


A. 10 10

B. 20 20

C. 20 10

D. Error


Report Bug


A. Error

B. 6

C. 4

D. 3


Report Bug


A. remove((), file_name))

B. remove (new_file_name, current_file_name,)

C. remove (file_name)

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


Report Bug


A. int

B. array

C. tuple

D. list


Report Bug


A. Python Interpreter.

B. Python compiler

C. Python Volatile machine

D. Portable virtual machine


Report Bug


A. Append File

B. Write File

C. Read File

D. Read and Write both


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. ['h', 'e', 'l', 'l', 'o']

B. [' hello']

C. ['llo']

D. ['olleh']


Report Bug


A. for

B. while

C. do while

D. None of the above


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. collection of integer number /     इंटीजर नंबर का संग्रह

B. collection of string /     स्ट्रिंग का संग्रह

C. collection of same data type /     समान डेटा प्रकार का संग्रह

D. collection of different data type /     विभिन्न प्रकार के डेटा का संग्रह


Report Bug


A. list1 = list()

B. list1 = []

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

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


Report Bug


A. True /     सही

B. False /     ग़लत

C. 55

D. TypeError /     टाइपएरर


Report Bug


A. (1,3)

B. (2,5)

C. (2,1)

D. (4,8)


Report Bug


A. int

B. string

C. complex

D. float


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. int /     इंट

B. null /     नल

C. None /     कोई नहीं

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


Report Bug


A. Error, invalid syntax /     एरर,इनवैलिड सिंटैक्स

B. A

C. 5

D. C


Report Bug


A. w+

B. a

C. x

D. r+


Report Bug


A. sqrt

B. rhombus

C. add

D. Sub


Report Bug


A. Operands

B. Expression

C. operators

D. Equation


Report Bug


A. 4

B. 16

C. 6

D. 2


Report Bug


A. 4.5

B. 4.0

C. 4

D. Error


Report Bug


A. int

B. float

C. bool

D. dict


Report Bug


A. int32

B. int

C. float

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


Report Bug


A. pass

B. break

C. continue

D. goto


Report Bug


A. Top down method

B. Bottom up method

C. Coding

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