🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

Solved - O Level Python Paper July 2022 | Set 2

Ques 1 Report Error

निम्नलिखित कोड के लिए आउटपुट क्या होगा?

What will be output for the following code ?

import numpy as np
a = np.array([[1,2,3],[0,1,4],[11,22,33]])
print (a.size)

[A] 1

[B] 3

[C] 9

[D] 4

Correct Answer : 9


Ques 2 Report Error

निम्नलिखित कथनों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?

a = 0
b = 3
while a + b < 8:
    a += 1
    print(a, end='') 

[A] 0 1 2 3 4

[B] 1 2 3 4 5 6

[C] 1 2 3 4 5

[D] None of these

Correct Answer : None of these


Ques 3 Report Error

किसी वेरिएबल को सौंपे गए कच्चे डेटा को __________ कहा जाता है।

Raw data assigned to a variable is called as __________.

[A] variable

[B] literal

[C] identifier

[D] comment

Correct Answer : literal


Ques 4 Report Error

Numpy सारणी में प्रयुक्त शून्य () फ़ंक्शन का उद्देश्य क्या है?

What is the purpose of zeros() function used in Numpy array ?

[A] To make a Matrix with all diagonal element 0

[B] To make a Matrix with first row 0

[C] To make a Matrix with all element 0

[D] None of the above

Correct Answer : To make a Matrix with all element 0


Ques 5 Report Error

NumPY का मतलब क्या है?

NumPY stands for?

[A] Numbering Python

[B] Number in Python

[C] Numerical Python

[D] Number for Python

Correct Answer : Numerical Python


Ques 6 Report Error

निम्नलिखित कोड क्या प्रिंट करता है?

What does the following code print ?

if 2 + 5 == 8:
    print("TRUE")
else:
    print("FALSE")
print("TRUE") 

[A] TRUE

[B] TRUE FALSE

[C] TRUE TRUE

[D] FALSE TRUE

Correct Answer : FALSE TRUE


Ques 7 Report Error

lstrip() विधि का उपयोग इसके लिए किया जाता है:

lstrip() method is used for :

[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

Correct Answer : delete all the leading characters


Ques 8 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following?

print((range(4)))

[A] 0,1,2,3

[B] [0,1,2,3]

[C] range(0,4)

[D] (0,1,2,3)

Correct Answer : range(0,4)


Ques 9 Report Error

निम्नलिखित में से कौन सी परिवर्तनीय घोषणा गलत है?

Which of the following variable declaration is incorrect ?

[A] a_=3

[B] _a=3

[C] a?=3

[D] All of these

Correct Answer : a?=3


Ques 10 Report Error

फ्लो चार्ट में, स्थिति का परीक्षण करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?

In a flow chart, which of the following is used to test the condition ?

[A] Terminal

[B] Process

[C] Input/Output

[D] Decision

Correct Answer : Decision


Ques 11 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will be the output of the following code ?

f=open("demo.txt","r")
print(f.tell())

[A] 1

[B] 2

[C] -1

[D] 0

Correct Answer : 0


Ques 12 Report Error

फ़ाइल में निम्नलिखित में से कौन सा मूल I/O कनेक्शन है?

Which of the following is the basic I/O connections in file ?

[A] Standard Input

[B] Standard Output

[C] Standard Errors

[D] All of the mentioned

Correct Answer : All of the mentioned


Ques 13 Report Error

कौन सा फ़ंक्शन स्ट्रिंग्स लौटाता है?

Which function returns the strings ?

[A] readline( )

[B] read ( )

[C] Both of the above

[D] None of the above

Correct Answer : Both of the above


Ques 14 Report Error

निम्नलिखित कोड का आउटपुट क्या होगा?

What will be the output of the following code ?

f=open("demo.txt","w+")
f.write("Welcome to Python")
f.seek(5)
a=f.read(5)
print(a)

[A] Welco

[B] me to

[C] Welcome to Python

[D] e to

Correct Answer : me to


Ques 15 Report Error

तलाश() का सिंटैक्स है: file_object.seek(offset [, reference_point]) Reference_point क्या दर्शाता है?

The syntax of seek() is: file_object.seek(offset [, reference_point]) What does the reference_point indicate?

[A] reference_point indicates the current position of the file object

[B] reference_point indicates the starting position of the file object

[C] reference_point indicates the ending position of the file object

[D] None of the above

Correct Answer : reference_point indicates the starting position of the file object


Ques 16 Report Error

इनमें से कौन सी फ़ाइल की विशेषता नहीं है?

Which one is not the attribute of a file?

[A] softspace

[B] mode

[C] closed

[D] rename

Correct Answer : rename


Ques 17 Report Error

किसी एल्गोरिदम के लिए फ़्लोचार्ट बनाने की प्रक्रिया को __________ कहा जाता है।

The process of drawing a flowchart for an algorithm is called __________.

[A] Performance

[B] Algorithmic Representation

[C] Evaluation

[D] Flowcharting

Correct Answer : Flowcharting


Ques 18 Report Error

कौन सा फ़ंक्शन दो तर्क लेता है?

Which of the function takes two arguments ?

[A] dump( )

[B] load()

[C] Both of the above

[D] None of the above

Correct Answer : dump( )


Ques 19 Report Error

मान लीजिए कि arr नाम वाली एक सूची में 5 तत्व हैं। आप सूची से दूसरा तत्व प्राप्त कर सकते हैं का उपयोग करना:

Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using :

[A] arr[-2]

[B] arr[2]

[C] arr[-1]

[D] arr[1]

Correct Answer : arr[1]


Ques 20 Report Error

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

a = 2
b = 8
print(a | b)
print(a >> 1)

[A] 10 0

[B] 10 2

[C] 2 2

[D] 10 1

Correct Answer : 10 1


Ques 21 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import numpy as np
a = np.array([[1,2,3,4], [5,6,7,8], [9,10,11,12]])
print(a[2,2])

[A] 7

[B] 11

[C] 10

[D] 8

Correct Answer : 11


Ques 22 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

def add(a, b):
     return a+5, b+5
result = add(3, 2)
print(result)

[A] 15

[B] 8

[C] (8,7)

[D] Error

Correct Answer : (8,7)


Ques 23 Report Error

निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?

Which of the following language is understood by computer ?

[A] Machine language

[B] Assembly language

[C] High-level language

[D] None of the above

Correct Answer : Machine language


Ques 24 Report Error

किसी पहचानकर्ता की अधिकतम संभव लंबाई क्या है?

What is the maximum possible length of an identifier ?

[A] 16

[B] 32

[C] 64

[D] None of these above

Correct Answer : None of these above


Ques 25 Report Error

एल्गोरिदम निर्माण के तीन अलग-अलग प्रकार क्या हैं?

What are the three different types of algorithm constructions ?

[A] Input/Output, Decision, Repeat

[B] Input, Output, Process

[C] Loop, Input/Output, Process

[D] Sequence, Selection, Repeat

Correct Answer : Sequence, Selection, Repeat


Ques 26 Report Error

मान लीजिए q= [3, 4, 5, 20, 5, 25, 1, 3], तो q.pop(1) के बाद q सूची के आइटम क्या होंगे?

Assume q= [3, 4, 5, 20, 5, 25, 1, 3], then what will be the items of q list after q.pop(1) ?

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

[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]

Correct Answer : [3, 5, 20, 5, 25, 1, 3]


Ques 27 Report Error

निम्नलिखित में से किस डेटा प्रकार में, डुप्लिकेट आइटम की अनुमति नहीं है?

In which of the following data type, duplicate items are not allowed ?

[A] list

[B] dictionary

[C] set

[D] None of the above

Correct Answer : set


Ques 28 Report Error

निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?

import numpy as np
a = np.array([1,2,3,5,8])
b = np.array([0,1,5,4,2])
c = a + b
c = c*a
print (c[2])

[A] 6

[B] 24

[C] 1

[D] None of these

Correct Answer : 24


Ques 29 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

import numpy as np
a = np.array([[1,2,3]])
print(a.shape)

[A] (2, 3)

[B] (3, 1)

[C] (1, 3)

[D] None of these

Correct Answer : (1, 3)


Ques 30 Report Error

कोड में त्रुटियां ढूंढने की प्रक्रिया को __________ कहा जाता है।

The process of finding errors in code is called as __________.

[A] Compiling

[B] Running

[C] Testing

[D] Debugging

Correct Answer : Debugging


Ques 31 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

ms = ('A', 'D', 'H', 'U', 'N', 'I', 'C')
print(ms[1:4])

[A] ('D', 'H', 'U')

[B] ('A', 'D', 'H', 'U', 'N', 'I', 'C')

[C] ('D', 'H', 'U', 'N', 'I', 'C')

[D] None of these

Correct Answer : ('D', 'H', 'U')


Ques 32 Report Error

>>>‟2‟+‟3‟ का आउटपुट क्या है

What is the output of >>>‟2‟+‟3‟

[A] 2 3

[B] „2+3‟

[C] ‟23‟

[D] None of these

Correct Answer : ‟23‟


Ques 33 Report Error

निम्नलिखित पायथन प्रोग्राम का आउटपुट क्या होगा?

What will be the output of the following Python program ?

def addItem(listParam):
    listParam += [1]
mylist = [1, 2, 3, 4]
addItem(mylist)
print(len(mylist)) 

[A] 5

[B] 8

[C] 2

[D] 1

Correct Answer : 5


Ques 34 Report Error

एक विस्तृत फ़्लोचार्ट को इस रूप में जाना जाता है:

A detailed flowchart is known as :

[A] Micro

[B] Union

[C] Macro

[D] Stack

Correct Answer : Micro


Ques 35 Report Error

एल्गोरिदम को __________ द्वारा प्रदर्शित नहीं किया जा सकता है।.

Algorithms cannot be represented by __________.

[A] pseudo codes

[B] syntax

[C] flowcharts

[D] programs

Correct Answer : syntax


Ques 36 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?

from math import *
floor(3.7)

[A] 3

[B] 4

[C] 3.0

[D] None of these

Correct Answer : 3


Ques 37 Report Error

एक Python प्रोग्राम कमांड लाइन से कितने तर्क स्वीकार कर सकता है?

How many arguments a Python program can accept from the command line ?

[A] one

[B] Two

[C] Three

[D] any

Correct Answer : any


Ques 38 Report Error

निम्नलिखित का आउटपुट क्या है?

What is the output of the following ?

print(int())

[A] Any random number

[B] 1

[C] 0

[D] Error

Correct Answer : 0


Ques 39 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

a = set('dcma')
b = set('mlpc')
print(a^b)

[A] {'d', 'c', 'm', 'a', 'm', 'l', 'p', 'c'}

[B] {'m', 'l', 'p', 'c'}

[C] {'d', 'c', 'm', 'a'}

[D] None

Correct Answer : None


Ques 40 Report Error

निम्नलिखित कथन का आउटपुट क्या है?

What is the output of the following statement ?

print ((2, 4) + (1, 5))

[A] (2 , 4), (4 , 5)

[B] (3 , 9)

[C] (2, 4, 1, 5)

[D] Invalid Syntax

Correct Answer : (2, 4, 1, 5)


Ques 41 Report Error

Python में किसी फ़ंक्शन को कैसे घोषित किया जाता है?

How is a function declared in Python ?

[A] def function function_name():

[B] declare function function_name():

[C] def function_name():

[D] declare function_name():

Correct Answer : def function_name():


Ques 42 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import sys
sys.stdout.write('Welcome\n')
sys.stdout.write('All\n')

[A] Welcome All

[B] Welcome

[C] Compilation Error

[D] Runtime Error

Correct Answer : Welcome All


Ques 43 Report Error

निम्नलिखित में से कौन सा फ़ाइल खोलने का सही तरीका नहीं है?

Which of the following is not a correct mode to open a file?

[A] ab

[B] rw

[C] a+

[D] r+

Correct Answer : rw


Ques 44 Report Error

किसी फ़ाइल का नाम बदलने के लिए प्रयुक्त सिंटैक्स:

The syntax used to rename a file :

[A] os.rename(existing_name, new_name)

[B] fp.name = „new_name.txt‟

[C] os.rename(fp, new_name)

[D] os.set_name(existing_name, new_name)

Correct Answer : fp.name = „new_name.txt‟


Ques 45 Report Error

यदि हम किसी फ़ाइल को राइट मोड में खोलते हैं और फ़ाइल मौजूद नहीं है, तो कौन सी त्रुटि उत्पन्न होगी?

If we open a file in write mode and file does not exists, which of the error will generate

[A] File Found Error

[B] File Not Exist Error

[C] File Not Found Error

[D] None of these

Correct Answer : None of these


Ques 46 Report Error

निम्नलिखित कोड से कितने नंबर प्रिंट होंगे?

How many numbers will be printed by the following code ?

def fun(a,b):
    for x in range(a,b+1):
        if x%3==0:
            print(x, end=" ")
fun(100,120) 

[A] 7

[B] 8

[C] 6

[D] 9

Correct Answer : 7


Ques 47 Report Error

निम्नलिखित कोड क्या प्रिंट करता है?

What does the following code print?

x = 'mohan'
for i in range(len(x)):
    x[i].upper()
print (x)

[A] mohan

[B] MOHAN

[C] Error

[D] None of these

Correct Answer : mohan


Ques 48 Report Error

फ़ाइल ऑब्जेक्ट इनफ़ाइल से फ़ाइल की शेष पंक्तियों को पढ़ने का कार्य कौन सा है?

Which is the function to read the remaining lines of the file from a file object infile ?

[A] infile.read(2)

[B] infile.read()

[C] infile.readlines()

[D] infile.readline()

Correct Answer : infile.readlines()


Ques 49 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following?

import numpy as np
a = np.array([1,5,4,7,8])
a = a + 1
print(a[1])

[A] 4

[B] 5

[C] 6

[D] 7

Correct Answer : 6


Ques 50 Report Error

निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?

dict={"Joey":1,"Rachel":2}
dict.update({"Phoebe":2})
print(dict)

[A] {"Joey":1,"Rachel":2,"Phoebe":2}

[B] {"Joey":1,"Rachel":2}

[C] {"Joey":1,"Phoebe":2}

[D] Error

Correct Answer : {"Joey":1,"Rachel":2,"Phoebe":2}


Ques 51 Report Error

परीक्षण को इस नाम से जाना जाता है:

Testing is known as :

[A] A stage of all projects

[B] Finding broken code

[C] Evaluating deliverable to find errors

[D] None of the above

Correct Answer : Evaluating deliverable to find errors


Ques 52 Report Error

एक प्रक्रिया को फ़्लोचार्ट में __________ द्वारा व्यक्त किया जाता है।

A process is expressed in a flowchart by __________.

[A] Rectangle

[B] A circle

[C] Parallelogram

[D] A diamond

Correct Answer : Rectangle


Ques 53 Report Error

नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

What is the output of below program ?

def maximum(x, y):
    if x > y:
       return x
    elif x == y:
       return 'The numbers are equal'
    else:
       return y
print(maximum(2, 3)) 

[A] 2

[B] 3

[C] The numbers are equal

[D] None of the options

Correct Answer : 3


Ques 54 Report Error

निम्नलिखित कथनों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?

for i in range(1,6):
    print(i, end='')
    if i == 3:
        break 

[A] 1 2

[B] 1 2 3

[C] 1 2 3 4

[D] 1 2 3 4 5

Correct Answer : 1 2 3


Ques 55 Report Error

सभी अक्षरों को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?

Which function is used to read all the characters?

[A] readall()

[B] read()

[C] readcharacters()

[D] readchar()

Correct Answer : read()


Ques 56 Report Error

>>>फ्लोट(‟12.6‟) का आउटपुट क्या है

What is the output of >>>float(‟12.6‟)

[A] 12.6

[B] ‟12.6‟

[C] 12

[D] syntax error

Correct Answer : 12.6


Ques 57 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import numpy as np
print(np.maximum([2, 3, 4], [1, 5, 2]))

[A] [1 5 2]

[B] [1 5 4]

[C] [2 3 4]

[D] [2 5 4]

Correct Answer : [2 5 4]


Ques 58 Report Error

आयात के " from... import......" के बारे में निम्नलिखित में से कौन सा गलत है?

Which of the following is false about “from .... import ......” form of import?

[A] The syntax is: from modulename 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

Correct Answer : This form of import does not import anything


Ques 59 Report Error

बाइनरी प्रारूप में डेटा लिखने के लिए उपयोग किया जाने वाला एक फ़ंक्शन:

A function used for writing data in the binary format :

[A] write

[B] output

[C] send

[D] dump

Correct Answer : dump


Ques 60 Report Error

फ़्लोचार्ट की शुरुआत और समाप्ति को दर्शाने के लिए किस प्रतीक का उपयोग किया जाता है?

What is the symbol used to represent start and stop of a flowchart ?

[A] oval

[B] rectangle

[C] arrow

[D] diamond

Correct Answer : oval


Ques 61 Report Error

निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है?

What value does the following expression evaluate to ?

print(5 + 8 * ((3* 5)-9) /10)

[A] 9.0

[B] 9.8

[C] 10

[D] 10.0

Correct Answer : 9.8


Ques 62 Report Error

एक निश्चित संख्या में दोहराए जाने वाले ऑपरेशन __________ द्वारा किए जाते हैं।

Operations to be repeated a certain number of times are done by __________.

[A] Selection

[B] Sequential

[C] Simple

[D] Loop

Correct Answer : Loop


Ques 63 Report Error

फ़ंक्शन कॉल सिस्टम मेमोरी के किस भाग में a के पैरामीटर और स्थानीय वेरिएबल को संग्रहीत करता है?

Which part of the memory does the system store the parameter and local variables of a function call ?

[A] heap

[B] stack

[C] Uninitialized data segment

[D] None of the above

Correct Answer : stack


Ques 64 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

import numpy as np
a = np.array( [2, 3, 4, 5] )
b = np.arange(4)
print(a+b)

[A] [2 3 4 5]

[B] [3 4 5 6]

[C] [1 2 3 4]

[D] [2 4 6 8]

Correct Answer : [2 4 6 8]


Ques 65 Report Error

नीचे दिए गए प्रोग्राम का आउटपुट क्या है?

What is the output of below program ?

def say(message, times = 1):
      print(message * times)

say('Hello')
say('World', 5)

[A] Hello WorldWorldWorldWorldWorld

[B] Hello World 5

[C] Hello World,World,World,World,World

[D] Hello HelloHelloHelloHelloHello

Correct Answer : Hello WorldWorldWorldWorldWorld


Ques 66 Report Error

किसी समस्या को चरण दर चरण हल करने के तरीके को __________ कहा जाता है।

The way for solving a problem step by step is known as __________.

[A] Design

[B] Planning

[C] Algorithm

[D] Execution

Correct Answer : Algorithm


Ques 67 Report Error

आउटपुट क्या है?

What is the output ?

def calc(x):
    r=2*x**2
    return r
print(calc(5)) 

[A] Error

[B] 50

[C] 100

[D] 20

Correct Answer : 50


Ques 68 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code ?

def printMax(a, b):
    if a > b:
        print(a, 'is maximum')
    elif a == b:
        print(a, 'is equal to', b)
    else:
        print(b, 'is maximum')
printMax(3, 4)

[A] 3

[B] 4

[C] 4 is maximum

[D] None of the mentioned

Correct Answer : 4 is maximum


Ques 69 Report Error

निम्नलिखित अभिव्यक्ति किस मूल्य का मूल्यांकन करती है?

What value does the following expression evaluate to ?

x = 5
while x < 10:
print(x, end='')

[A] Closed loop

[B] One time loop

[C] Infinite loop

[D] Evergreen loop

Correct Answer : Infinite loop


Ques 70 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

x = 50
def func (x) :
    x = 2
func (x)
print ('x is now', x) 

[A] x is now 50

[B] x is now 2

[C] x is now 100

[D] Error

Correct Answer : x is now 50


Ques 71 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

def disp(*arg):
      for i in arg:
           print(i)
disp(name="Rajat", age="20")

[A] TypeError

[B] Rajat 20

[C] Name age

[D] None of these

Correct Answer : TypeError


Ques 72 Report Error

निम्नलिखित में से कौन प्रोग्रामिंग कोड को लाइन दर लाइन निष्पादित करता है?

Which of the following executes the programming code line by line?

[A] Compiler

[B] Interpreter

[C] Executer

[D] Translator

Correct Answer : Compiler


Ques 73 Report Error

निम्नलिखित फ़ंक्शन का रिटर्न प्रकार क्या है?

What is the return type of following function ?

def func1():
       return “mnp‟,22

[A] List

[B] dictionary

[C] string

[D] tuple

Correct Answer : tuple


Ques 74 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

def fun(a, b=6):
    a=a+b
    print(a)
fun(5, 4) 

[A] 11

[B] 9

[C] 5

[D] 4

Correct Answer : 9


Ques 75 Report Error

निम्नलिखित में से कौन सा अमान्य मोड है?

Which of the following is an invalid mode ?

[A] a

[B] ar+

[C] r+

[D] w

Correct Answer : ar+


Ques 76 Report Error

निम्नलिखित पायथन कोड का आउटपुट क्या होगा?

What will be the output of the following Python code?

from math import pow
print(math.pow(2,3))

[A] Nothing is printed

[B] 8

[C] Error, method pow doesn‟t exist in math module

[D] Error, the statement should be: print(pow(2, 3))

Correct Answer : Error, the statement should be: print(pow(2, 3))


Ques 77 Report Error

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

x = 4
print(x<<2)

[A] 4

[B] 16

[C] 6

[D] 2

Correct Answer : 16


Ques 78 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

import numpy as np
y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]])
print(y.ndim)

[A] 1

[B] 2

[C] 3

[D] 0

Correct Answer : 2


Ques 79 Report Error

एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:.

A computer programme that manages and controls a computer's activity :

[A] Interpreter

[B] Modem

[C] Compiler

[D] Operating system

Correct Answer : Operating system


Ques 80 Report Error

निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा?

What will be the output of the following expression ?

print (7//2)
print (-7//2)

[A] 3 -3

[B] 4 -4

[C] 3 -4

[D] 3 3

Correct Answer : 3 -4


Ques 81 Report Error

निम्नलिखित छद्म कोड का आउटपुट क्या होगा?

What will be the output of the following pseudo-code ?

Integer a
     Set a = 4
Do
     print a + 2
    a = a- 1
while (a not equals 0)
end while

[A] 6 6 6 6

[B] 6 5 4 3

[C] 6 7 8 9

[D] 6 8 10 12

Correct Answer : 6 5 4 3


Ques 82 Report Error

निम्नलिखित कोड का परिणाम क्या है ?

What is the output of the following code ?

a = {1: "A", 2: "B", 3: "C"}
b = {4: "D", 5: "E"}
a.update(b)
print(a)

[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'}

Correct Answer : {1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}


Ques 83 Report Error

एक एल्गोरिदम जो स्वयं को प्रत्यक्ष या अप्रत्यक्ष रूप से कॉल करता है उसे __________ कहा जाता है।

An algorithm that calls itself directly or indirectly is called as __________.

[A] Sub Function

[B] Recursion

[C] Reverse Polish Notation

[D] Traversal Algorithm

Correct Answer : Recursion


Ques 84 Report Error

प्रोग्रामर की आवश्यकता के अनुसार किसी कार्य को__________ प्राप्त करने के लिए परिभाषित फ़ंक्शन को कहा जाता है

Function defined to achieve some task as per the programmer‟s requirement is called a__________.

[A] user defined function

[B] library function

[C] built in functions

[D] All of the above.

Correct Answer : user defined function


Ques 85 Report Error

निम्नलिखित में से कौन सा कीवर्ड नहीं है?

Which of the following is not a keyword ?

[A] eval

[B] nonlocal

[C] assert

[D] finally

Correct Answer : eval


Ques 86 Report Error

निम्नलिखित छद्मकोड का आउटपुट क्या होगा, जहां ʌ XOR ऑपरेशन का प्रतिनिधित्व करता है?

What will be the output of the following pseudocode, where ʌ represent XOR operation ?

Integer a, b, c
Set b = 4, a = 3
c = a ^ b
Print c

[A] 4

[B] 3

[C] 5

[D] 7

Correct Answer : 7


Ques 87 Report Error

पैकेज से सभी मॉड्यूल आयात करने के लिए कौन सा कथन सही है?

Which statement is correct to import all modules from the package ?

[A] from package import all

[B] from package import *

[C] from package include all

[D] from package include *

Correct Answer : from package import *


Ques 88 Report Error

फ़्लोचार्ट और एल्गोरिदम का उपयोग __________ के लिए किया जाता है।

Flowchart and algorithms are used for __________.

[A] Better programming

[B] easy testing and debugging

[C] Efficient Coding

[D] All

Correct Answer : All


Ques 89 Report Error

निम्नलिखित में से कौन सा वैध पहचानकर्ता नहीं है?

Which of the following is not a valid identifier?

[A] student

[B] s12

[C] 123

[D] _123

Correct Answer : 123


Ques 90 Report Error

निम्नलिखित का आउटपुट क्या होगा?

What will be the output of the following ?

def iq(a,b):
    if(a==0):
        return b
    else:
        return iq(a-1,a+b)
print(iq(3,6)) 

[A] 9

[B] 10

[C] 11

[D] 12

Correct Answer : 12


Ques 91 Report Error

सिंगल लाइन टिप्पणी लिखने के लिए किस चिन्ह का प्रयोग किया जाता है?

Which symbol is used to write single line comment ?

[A] *

[B] #

[C] /

[D] ?

Correct Answer : #


Ques 92 Report Error

पायथन मॉड्यूल __________ फ़ाइल एक्सटेंशन वाली एक फ़ाइल है जिसमें वैध पायथन होता है कोड.

A Python module is a file with the __________ file extension that contains valid Python code.

[A] .pym

[B] .pymodule

[C] .module

[D] .py

Correct Answer : .py


Ques 93 Report Error

निम्नलिखित कोड खंड क्या प्रिंट करेगा?

What will following code segment print ?

a = True 
b = False
c = False
if not a or b:
    print(1)
elif not a or not b and c:
    print (2)
elif not a or b or not b and a:
    print (3)
else:
    print (4) 

[A] 1

[B] 3

[C] 2

[D] 4

Correct Answer : 3


Ques 94 Report Error

निम्नलिखित कथनों के बाद आउटपुट क्या होगा?

What will be the output after the following statements?

x = 2
if x < 5:
    print(x)
else:
    pass 

[A] 2 3 4

[B] 1 2 3 4

[C] 2

[D] None of these

Correct Answer : 2


Ques 95 Report Error

निम्नलिखित स्यूडोकोड का आउटपुट क्या होगा?

What will be the output of the following pseudocode ?

Integer a, b
Set a = 9, b = 5
a = a mod (a - 3)
b = b mod (b – 3)
Print a + b

[A] 4

[B] 5

[C] 9

[D] 8

Correct Answer : 4


Ques 96 Report Error

फ्लो चार्ट में इनपुट और आउटपुट ऑपरेशन के लिए निम्नलिखित में से किस प्रतीक का उपयोग किया जाता है?

Which of the following symbol is used for input and output operations in a flow chart ?

[A] Rectangle

[B] Parallelogram

[C] Circle

[D] Diamond

Correct Answer : Parallelogram


Ques 97 Report Error

__________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।

__________ immediately terminates the current loop iteration.

[A] break

[B] pass

[C] continue

[D] None of these

Correct Answer : break


Ques 98 Report Error

हम पायथन में एक खाली सूची कैसे बना सकते हैं?

How can we create an empty list in Python ?

[A] list=()

[B] list.null

[C] null.list

[D] list=[ ]

Correct Answer : list=[ ]


Ques 99 Report Error

निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?

Which one of the following is a mutable data type ?

[A] set

[B] tuple

[C] String

[D] None of these

Correct Answer : set


Ques 100 Report Error

रैंडिंट() फ़ंक्शन का उपयोग करने के लिए कौन सा मॉड्यूल आयात किया जाना है?

Which module is to be imported for using randint( ) function ?

[A] random

[B] randrange

[C] randomrange

[D] rand

Correct Answer : random


Related Papers
Latest Updates