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

Solved - O Level Python Paper July 2025

Ques 1 Report Error

q = [3,4,5,20,5,25,13] के लिए, q.pop(1) का output क्या होगा?

What will be the output of q.pop(1) for q = [3,4,5,20,5,25,13]?

[A] 3

[B] 4

[C] 5

[D] 20

Correct Answer : 4


Ques 2 Report Error

निम्नलिखित expression का सही मान क्या होगा?

What is the correct value of the following expression?

2 + 3 * 4 - 6

[A] 20

[B] 8

[C] 0

[D] 24

Correct Answer : 8


Ques 3 Report Error

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

What will be the output of the following NumPy code?

x = np.arange(1, 11, 2)
print(x)

[A] [1 2 3 4 5]

[B] [1 3 5 7 9]

[C] [2 4 6 8 10]

[D] [1 3 5 7 9 11]

Correct Answer : [1 3 5 7 9]


Ques 4 Report Error

math.log(64,2) का आउटपुट क्या होगा?

What will be the output of math.log(64,2)?

[A] 8

[B] 4

[C] 6

[D] 32

Correct Answer : 6


Ques 5 Report Error

Python में print(5*(2//3)) का आउटपुट क्या होगा?

What will be the output of print(5*(2//3)) in Python?

[A] 0

[B] 1

[C] 3

[D] 5

Correct Answer : 0


Ques 6 Report Error

Python में list comprehension का syntax कैसा होता है?

What does list comprehension syntax look like in Python?

[A] [expression for item in list]

[B] (expression item list)

[C] list(expression in item)

[D] newlist(expression)

Correct Answer : [expression for item in list]


Ques 7 Report Error

Python में कितने comparison operators होते हैं?

How many comparison operators are there in Python?

[A] 5

[B] 6

[C] 8

[D] 10

Correct Answer : 6


Ques 8 Report Error

q = [3,4,5,20,5,25,13] के लिए, q.pop(1) का output क्या होगा?

What will be the output of q.pop(1) for q = [3,4,5,20,5,25,13]?

[A] 3

[B] 4

[C] 5

[D] 20

Correct Answer : 4


Ques 9 Report Error

भाषा दक्षता (language efficiency) कैसे प्राप्त की जा सकती है?

Language efficiency can be achieved through:

[A] Reusability (पुन: प्रयोग)

[B] Readability (पठनीयता)

[C] Portability (पोर्टेबिलिटी)

[D] Maintainability (मेंटेनेबिलिटी)

Correct Answer : Reusability (पुन: प्रयोग)


Ques 10 Report Error

"Welcome to the course of Python.".find('of', 0, 20) का output क्या होगा?

What will be the output of "Welcome to the course of Python.".find('of', 0, 20)?

[A] True

[B] False

[C] maybe

[D] None

Correct Answer : None


Ques 11 Report Error

Python में child class parent class की properties कैसे access करती है?

How does a child class access the properties of a parent class in Python?

[A] Composition / कम्पोज़ीशन

[B] Inheritance / इनहेरिटेंस

[C] Encapsulation / एनकैप्सुलेशन

[D] Polymorphism / पॉलिमॉर्फ़िज़्म

Correct Answer : Inheritance / इनहेरिटेंस


Ques 12 Report Error

निम्नलिखित Python अभिव्यक्ति में x का मान क्या होगा?

What will be the value of x in the following Python expression?


x = int(43.55+2/2)
print(x)

[A] 43

[B] 44

[C] 22

[D] 23

Correct Answer : 44


Ques 13 Report Error

6 का factorial (6!) क्या होगा?

What is the value of 6 factorial (6!)?

[A] 720

[B] 120

[C] 36

[D] 60

Correct Answer : 720


Ques 14 Report Error

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

What will be the output of the following code?


t = (1,2)
print(2*t)

[A] (1,2,3,4)

[B] (1,2,1,2)

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

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

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


Ques 15 Report Error

ऐसी functions जो कोई मान (value) वापस नहीं करती हैं, उन्हें क्या कहा जाता है?

Functions that do not return any value are known as:

[A] fruitful functions

[B] void functions

[C] library functions

[D] user-defined functions

Correct Answer : void functions


Ques 16 Report Error

Python में "A" + "BC" का आउटपुट क्या होगा?

What will be the output of "A" + "BC" in Python?

[A] ABC

[B] A BC

[C] A+BC

[D] Error

Correct Answer : ABC


Ques 17 Report Error

NumPy में multidimensional array को क्या कहते हैं?

What is a multidimensional array in NumPy called?

[A] nparray

[B] ndarray

[C] listarray

[D] tuplearray

Correct Answer : ndarray


Ques 18 Report Error

निम्न Python code का आउटपुट क्या होगा?

What will be the output of the following Python code?


for i in [1, 2, 3, 4][::-1]:
    print(i)

[A] 1,2,3,4

[B] 4,3,2,1

[C] Error

[D] 4,3,2,1

Correct Answer : 4,3,2,1


Ques 19 Report Error

निम्नलिखित कोड चलाने पर अंतिम बार क्या मुद्रित होता है?

What is the last thing printed when the following code is run?


number = 0
while number <= 10:
    print("Number: ", number)
    number = number + 1

[A] Number: 10

[B] Number: number

[C] Number: 0

[D] Number: 11

Correct Answer : Number: 10


Ques 20 Report Error

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

What will be the output of the following Python code?


def cube(x):
    return (x*x*x)

x = cube(3)
print(x)

[A] 9

[B] 27

[C] 81

[D] 243

Correct Answer : 27


Ques 21 Report Error

Python में print(~100) का आउटपुट क्या होगा?

What will be the output of print(~100) in Python?

[A] -101

[B] 101

[C] -100

[D] 100

Correct Answer : -101


Ques 22 Report Error

इस Python कोड का आउटपुट क्या होगा?

What will be the output of this Python code?


str="Hello python"
print(str[-7:-4:1])

[A] py

[B] o p

[C] tho

[D] Hel

Correct Answer : o p


Ques 23 Report Error

निम्नलिखित कोड चलाने के बाद a,b,c का मान क्या होगा?

What is the value of a,b,c after executing the following code?

a,b,c=23,15,16
b,c,a=a+6,b+3,c+6
print(a,b,c)

[A] 22 29 18

[B] 23 15 16

[C] 29 18 22

[D] 22 18 29

Correct Answer : 29 18 22


Ques 24 Report Error

pickle module क्या करता है?

What does the pickle module do in Python?

[A] Encrypt data

[B] Save images

[C] Serialize and deserialize Python objects

[D] Sort lists

Correct Answer : Serialize and deserialize Python objects


Ques 25 Report Error

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

What will be the output of the following code?


x=10
y=5
x,y=y,x
print(x,y)

[A] 10 5

[B] 5 10

[C] 15 10

[D] Error

Correct Answer : 5 10


Ques 26 Report Error

22//3 + 3/3 का आउटपुट क्या होगा?

What will be the output of: 22//3 + 3/3 ?


[A] 8

[B] 8.0

[C] 7

[D] 7.0

Correct Answer : 8.0


Ques 27 Report Error

EOF का full form क्या है?

What is the full form of EOF?

[A] End Of Field / एंड ऑफ़ फील्ड

[B] End Of File / एंड ऑफ़ फ़ाइल

[C] Enter On File / एंटर ऑन फ़ाइल

[D] Exit Of File / एग्ज़िट ऑफ़ फ़ाइल

Correct Answer : End Of File / एंड ऑफ़ फ़ाइल


Ques 28 Report Error

random.shuffle() method किस data type की value accept करता है?

random.shuffle() method accepts the value of which data type?

[A] Integer / पूर्णांक

[B] String / स्ट्रिंग

[C] List / लिस्ट

[D] Tuple / टपल

Correct Answer : List / लिस्ट


Ques 29 Report Error

Python में यदि return statement के साथ कोई value नहीं दी जाए, तो वह क्या लौटाता है?

In Python, if a return statement has no value, what does it return?

[A] 0

[B] Null

[C] None

[D] Error

Correct Answer : None


Ques 30 Report Error

'abcdefg'[2:5] का output क्या होगा?

What is the output of 'abcdefg'[2:5]?

[A] cde

[B] def

[C] bcd

[D] cd

Correct Answer : cde


Ques 31 Report Error

पायथन कोड का आउटपुट क्या है?

What is the output of Python code?

my_list = [3,1,4,1,5]
print(max (my_list))

[A] 1

[B] 5

[C] 3

[D] 4

Correct Answer : 5


Ques 32 Report Error

Python में highest precedence किस operator की होती है?

Which operator has the highest precedence in Python?

[A] +

[B] *

[C] **

[D] and

Correct Answer : **


Ques 33 Report Error

अगर a और b एक जैसे shape की numpy arrays हैं, तो np.stack((a,b)) का क्या काम है?

If a and b are numpy arrays with the same shape, what does np.stack((a,b)) do?

[A] दोनों arrays को जोड़कर एक नई array बनाता है / Joins both arrays into a new array along a new axis

[B] दोनों arrays को subtract करता है / Subtracts both arrays

[C] दोनों arrays को multiply करता है / Multiplies both arrays

[D] Error देता है / Gives an error

Correct Answer : दोनों arrays को जोड़कर एक नई array बनाता है / Joins both arrays into a new array along a new axis


Ques 34 Report Error

4 + 2**5 // 10 का output क्या होगा?

What is the output of 4 + 2**5 // 10?

[A] 6

[B] 7

[C] 8

[D] 3

Correct Answer : 7


Ques 35 Report Error

2**3 + 5**2 का मान क्या होगा?

What is the value of 2**3 + 5**2?

[A] 17

[B] 33

[C] 35

[D] 28

Correct Answer : 33


Ques 36 Report Error

अगर s = "Information" हो, तो print(s[2:8]) का output क्या होगा?

If s = "Information", what is the output of print(s[2:8])?

[A] format

[B] formatio

[C] nformat

[D] formatn

Correct Answer : format


Ques 37 Report Error

Python में == ऑपरेटर का उपयोग किसलिए होता है?

What is the purpose of == operator in Python?

[A] Assignment के लिए

[B] Comparison (बराबरी जांचने) के लिए

[C] Addition के लिए

[D] Multiplication के लिए

Correct Answer : Comparison (बराबरी जांचने) के लिए


Ques 38 Report Error

Python रनटाइम पर गुमनाम (anonymous) functions बनाने के लिए जिस construct का उपयोग करता है, उसे क्या कहा जाता है?

Python supports the creation of anonymous functions at runtime, using a construct called —–

[A] pi

[B] anonymous

[C] lambda

[D] none of the mentioned

Correct Answer : lambda


Ques 39 Report Error

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

What will be the output of the following code?


word = "Snow world"
print(word[4:7])

[A] w

[B] snow

[C] wo

[D] worl

Correct Answer : wo


Ques 40 Report Error

किस NumPy function से array का median निकाला जाता है?

Which NumPy function is used to find the median of an array?

[A] np.mean()

[B] np.median()

[C] np.average()

[D] np.mode()

Correct Answer : np.median()


Ques 41 Report Error

Logical OR operator का symbol क्या है?

What is the symbol of logical OR operator in Python?

[A] |

[B] or

[C] &

[D] &&

Correct Answer : or


Ques 42 Report Error

Python में "A" + "BC" का आउटपुट क्या होगा?

What will be the output of "A" + "BC" in Python?

[A] ABC

[B] A BC

[C] A+BC

[D] Error

Correct Answer : ABC


Ques 43 Report Error

Python में नीचे दिए गए कोड का परिणाम क्या होगा?

What will be the result of the following Python code?


x = (1, 2, 3)
x[0] = 3


[A] (3, 2, 3)

[B] (1, 2, 3)

[C] TypeError

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

Correct Answer : TypeError


Ques 44 Report Error

Python में function के अंदर define किया गया variable क्या कहलाता है?

What is a variable defined inside a function in Python called?

[A] global variable

[B] local variable

[C] static variable

[D] external variable

Correct Answer : local variable


Ques 45 Report Error

Binary संख्या 110001 का decimal में मान क्या होगा?

What is the decimal value of binary number 110001?

[A] 33

[B] 49

[C] 35

[D] 50

Correct Answer : 49


Ques 46 Report Error

Python में break और continue का अंतर क्या है?

What is the difference between break and continue in Python?

[A] break skips next iteration, continue exits loop

[B] break exits loop, continue skips current iteration

[C] both do same work

[D] both only work in functions

Correct Answer : break exits loop, continue skips current iteration


Ques 47 Report Error

Python में कौन सा keyword function define करने के लिए प्रयोग होता है?

Which keyword is used to define a function in Python?

[A] function

[B] define

[C] def

[D] fun

Correct Answer : def


Ques 48 Report Error

Python में print(9//4*3 - 6*3//4) का आउटपुट क्या होगा?

What will be the output of print(9//4*3 - 6*3//4) in Python?

[A] 0

[B] 2

[C] 4

[D] -2

Correct Answer : 2


Ques 49 Report Error

Python में factorial निकालने के लिए सबसे अच्छा तरीका क्या है?

What is the best way to calculate factorial in Python?

[A] Using loop only

[B] Using a recursive function

[C] Using print statement

[D] Using input() function

Correct Answer : Using a recursive function


Ques 50 Report Error

Python में type() function का क्या काम है?

What does the type() function do in Python?

[A] Change data type

[B] Return the data type of an object

[C] Print data type as string

[D] Delete variable

Correct Answer : Return the data type of an object


Ques 51 Report Error

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

What will be the output of the following Python code?


L = [1, 2, 3, 4, 5]
print([x & 1 for x in L])

[A] [1, 2, 3, 4, 5]

[B] [1, 0, 1, 0, 1]

[C] [0, 1, 0, 1, 0]

[D] Error

Correct Answer : [1, 0, 1, 0, 1]


Ques 52 Report Error

Python में range(5) का आउटपुट क्या होगा?

What will range(5) generate?

[A] 0 1 2 3 4

[B] 1 2 3 4 5

[C] 5 4 3 2 1

[D] 0 1 2 3 4 5

Correct Answer : 0 1 2 3 4


Ques 53 Report Error

इस पायथन कोड को चलाने पर निम्नलिखित में से कौन सा कथन मुद्रित नहीं होगा?

Which of the following statements won’t be printed when this Python code is run?


for letter in 'Python':
    if letter == 'h':
        continue
    print('Current Letter : ' + letter)

[A] Current Letter : P

[B] Current Letter : t

[C] Current Letter : h

[D] Current Letter : o

Correct Answer : Current Letter : h


Ques 54 Report Error

Python में truncation करने के लिए कौन सा method प्रयोग किया जाता है?

Which method is used to truncate a number in Python?

[A] round()

[B] floor()

[C] ceil()

[D] math.trunc()

Correct Answer : math.trunc()


Ques 55 Report Error

Python में write() function क्या return करता है?

What does the write() function return in Python?

[A] True or False

[B] Nothing

[C] Number of characters written

[D] The file name

Correct Answer : Number of characters written


Ques 56 Report Error

निम्न Python कोड के आउटपुट में types क्या होंगी?

What will be the types printed by the following Python code?


print(type(5/2))
print(type(5//2))

[A] float and float

[B] int and int

[C] float and int

[D] int and float

Correct Answer : float and int


Ques 57 Report Error

Python में किसी variable (identifier) को खोजने का क्रम क्या है?

What is the order in which Python searches for an identifier?

[A] Local → Global → Enclosing → Built-in

[B] Local → Enclosing → Global → Built-in

[C] Built-in → Global → Enclosing → Local

[D] Global → Local → Enclosing → Built-in

Correct Answer : Local → Enclosing → Global → Built-in


Ques 58 Report Error

नीचे दिए गए में से कौन सा loop कम से कम एक बार ज़रूर execute होता है, चाहे condition false हो?

Which of the following loops always executes the loop body at least once, even if the condition is false?

[A] for loop

[B] while loop

[C] do-while loop

[D] infinite loop

Correct Answer : do-while loop


Ques 59 Report Error

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

What will be the output of the following Python code?


x = 15

def f1(a, b=x):
    print(a, b)

f1(4)

[A] 4 15

[B] 4 x

[C] 4

[D] Error

Correct Answer : 4 15


Ques 60 Report Error

Python में pow(2, 3, 5) का परिणाम क्या होगा?

What will be the result of pow(2, 3, 5) in Python?

[A] 1

[B] 2

[C] 3

[D] 8

Correct Answer : 3


Ques 61 Report Error

Python list की index() विधि का क्या उद्देश्य है?

What is the purpose of the index() method in a Python list?

[A] किसी item को हटाना (To remove an item)

[B] किसी item को जोड़ना (To add an item)

[C] किसी item का पहला index ढूँढना (To find the first index of an item)

[D] list को sort करना (To sort the list)

Correct Answer : किसी item का पहला index ढूँढना (To find the first index of an item)


Ques 62 Report Error

NumPy में array बनाने के लिए कौन सा function उपयोग किया जाता है?

Which function is used to create an array in NumPy?

[A] array()

[B] newArray()

[C] createArray()

[D] list()

Correct Answer : array()


Ques 63 Report Error

Python में nested function क्या होती है?

What is a nested function in Python?

[A] A function inside another function

[B] Function with many loops

[C] Function that cannot be called

[D] Function without parameters

Correct Answer : A function inside another function


Ques 64 Report Error

a और b वेरिएबल का डेटा टाइप क्या होगा?

What will be the data types of variables a and b?


var a = 10
var b = "Manish"

[A] Int and int

[B] Int and str

[C] str and int

[D] str and str

Correct Answer : Int and str


Ques 65 Report Error

यदि x = 1 है, तो x << 2 का परिणाम क्या होगा?

If x = 1, then what will be the result of x << 2?

[A] 4

[B] 2

[C] 1

[D] 8

Correct Answer : 4


Ques 66 Report Error

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

What will be the output of the following code?


print(-18//4)

[A] -4

[B] -5

[C] 4

[D] 5

Correct Answer : -5


Ques 67 Report Error

1011 का आउटपुट क्या होगा?

What will be the output of: 1011 ?

[A] 13

[B] 12

[C] Error

[D] None

Correct Answer : Error


Ques 68 Report Error

NumPy में identity matrix बनाने के लिए क्या उपयोग किया जाता है?

Which NumPy function is used to create an identity matrix?

[A] np.array()

[B] np.identity()

[C] np.ones()

[D] np.eye()

Correct Answer : np.identity()


Ques 69 Report Error

Flowchart में निर्णय (decision) के लिए कौन सा symbol उपयोग किया जाता है?

In a flowchart, which symbol is used for division (decision making)?

[A] Parallelogram (इनपुट/आउटपुट के लिए)

[B] Rectangle (Process के लिए)

[C] Oval (Start/End के लिए)

[D] Diamond (Decision के लिए)

Correct Answer : Diamond (Decision के लिए)


Ques 70 Report Error

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

What is the output of the following NumPy code?


arr = np.array([1,2,3,4,5])
print(np.sum(arr))

[A] 10

[B] 15

[C] 12

[D] 20

Correct Answer : 15


Ques 71 Report Error

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

What will be the output of the following Python code?


L = [1, 2, 3, 4, 5]
print([x & 1 for x in L])

[A] [1, 2, 3, 4, 5]

[B] [1, 0, 1, 0, 1]

[C] [0, 1, 0, 1, 0]

[D] Error

Correct Answer : [1, 0, 1, 0, 1]


Ques 72 Report Error

इस कोड का आउटपुट क्या होगा?

What will be the output of this code?


a = 5
b = 1
c = 1 ^ 5
print(c)

[A] 3

[B] 5

[C] 8

[D] 6

Correct Answer : 6


Ques 73 Report Error

क्या NumPy module को ऐसे import करना सही है?

Is it correct to import NumPy module like this?


import numpy as np

[A] Yes, completely correct

[B] No, it should be import numpy only

[C] No, it should be from numpy import *

[D] Error

Correct Answer : Yes, completely correct


Ques 74 Report Error

कौन सा ऑपरेटर _gt_() overload किया जाता है?

Which operator is overloaded by the method _gt_() ?

[A] < (less than)

[B] > (greater than)

[C] != (not equal)

[D] None

Correct Answer : > (greater than)


Ques 75 Report Error

Python में single line comment लिखने के लिए कौन सा symbol प्रयोग होता है?

Which symbol is used to write a single line comment in Python?

[A] //

[B] /* */

[C] #

[D]

Correct Answer : #


Ques 76 Report Error

NumPy में array बनाने के लिए निम्न में से कौन सा method प्रयोग कर सकते हैं?

Which of the following can be used to create NumPy arrays?

[A] np.empty()

[B] np.ones()

[C] np.zeros()

[D] All of the above

Correct Answer : All of the above


Ques 77 Report Error

Python फाइल की सही extension क्या है?

What is the correct extension of a Python file?

[A] .pt

[B] .py

[C] .pyt

[D] .p

Correct Answer : .py


Ques 78 Report Error

Python में कौन सा loop entry control loop है?

Which of the following is an entry control loop in Python?

[A] while

[B] do-while

[C] for

[D] both for and while

Correct Answer : both for and while


Ques 79 Report Error

Python में date और time को specific format में string में बदलने के लिए कौन सा method प्रयोग होता है?

In Python, which method is used to format date and time as a string?

[A] strtime

[B] strftime

[C] timeformat

[D] None

Correct Answer : strftime


Ques 80 Report Error

Python में identifier (जैसे variable, function name) की अधिकतम लंबाई कितनी हो सकती है?

What is the maximum length of an identifier in Python?

[A] 32

[B] 63

[C] 43

[D] None / कोई नहीं

Correct Answer : None / कोई नहीं


Ques 81 Report Error

मान्य निर्देशों (instructions) के निर्माण को नियंत्रित करने वाले formal grammar rules को क्या कहते हैं?

The formal grammar rules governing the construction of valid instructions are called:

[A] Syntax / सिंटैक्स

[B] Semantics / सिमेंटिक्स

[C] Code / कोड

[D] Algorithm / एल्गोरिदम

Correct Answer : Syntax / सिंटैक्स


Ques 82 Report Error

Python dictionary में data कैसे store होता है?

How is data stored in a Python dictionary?

[A] Sequential / क्रमवार

[B] Index based

[C] Key-value pairs / कुंजी-मूल्य जोड़े

[D] Only values

Correct Answer : Key-value pairs / कुंजी-मूल्य जोड़े


Ques 83 Report Error

EOL का full form क्या है?

What is the full form of EOL?

[A] End Of Line / एंड ऑफ़ लाइन

[B] End Of List / एंड ऑफ़ लिस्ट

[C] Exit Of Line / एग्ज़िट ऑफ़ लाइन

[D] Enter On List / एंटर ऑन लिस्ट

Correct Answer : End Of Line / एंड ऑफ़ लाइन


Ques 84 Report Error

Python में कौन सा valid arithmetic operator नहीं है?

Which of the following is NOT a valid Python arithmetic operator?

[A] +

[B] //

[C] %

[D] &&

Correct Answer : &&


Ques 85 Report Error

range(0) की value क्या है?

What is the value of range(0)?

[A] [0]

[B] range(0,0)

[C] None

[D] Error

Correct Answer : range(0,0)


Ques 86 Report Error

Python में console से input लेने के लिए कौन सा function प्रयोग होता है?

Which function is used to accept console input in Python?

[A] scan()

[B] input()

[C] get()

[D] read()

Correct Answer : input()


Ques 87 Report Error

Python में इस code का output क्या होगा?

What will be the output?


a = 9
b = 1
print(a | b)

[A] 1

[B] 8

[C] 9

[D] 0

Correct Answer : 9


Ques 88 Report Error

नीचे दिए गए function का output क्या होगा?

What will be the output of the following function?


def C2F(c):
    return c*9/5+32
print(C2F(100))
print(C2F(0))

[A] 212, 32

[B] 212.0, 32.0

[C] 100, 0

[D] Error

Correct Answer : 212.0, 32.0


Ques 89 Report Error

नीचे में से कौन सा popular assembler नहीं है?

Which of the following is NOT a popular assembler?

[A] NASM

[B] GAS

[C] ASM

[D] C++

Correct Answer : C++


Ques 90 Report Error

नीचे में से कौन सा popular assembler नहीं है?

Which of the following is NOT a popular assembler?

[A] NASM

[B] GAS

[C] ASM

[D] C++

Correct Answer : C++


Ques 91 Report Error

NumPy का full form क्या है?

What is the full form of NumPy?

[A] Number Python / नम्बर पायथन

[B] Numerical Python / न्यूमेरिकल पायथन

[C] Numbers Program / नम्बर प्रोग्राम

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

Correct Answer : Numerical Python / न्यूमेरिकल पायथन


Ques 92 Report Error

Append mode में file खोलने के लिए कौन सा mode इस्तेमाल होता है?

Which mode is used to open a file in append mode?

[A] 'w'

[B] 'a'

[C] 'r'

[D] 'x'

Correct Answer : 'a'


Ques 93 Report Error

int('101') का output क्या होगा?

What will be the output of int('101')?

[A] 101

[B] 5

[C] Error

[D] 1

Correct Answer : 101


Ques 94 Report Error

नीचे दिए गए में से कौन सा immutable object है?

Which of the following is an immutable object?

[A] List / लिस्ट

[B] Dictionary / डिक्शनरी

[C] Tuple / टपल

[D] All of these / ये सभी

Correct Answer : Tuple / टपल


Ques 95 Report Error

Python में खुद से बनाए गए function को क्या कहते हैं?

What do we call a function whose name is chosen by the programmer?

[A] Built-in function / बिल्ट-इन फंक्शन

[B] User-defined function / यूज़र-डिफ़ाइंड फंक्शन

[C] Pre-defined function / प्री-डिफ़ाइंड फंक्शन

[D] Standard function / स्टैण्डर्ड फंक्शन

Correct Answer : User-defined function / यूज़र-डिफ़ाइंड फंक्शन


Ques 96 Report Error

print(len('hello')) का output क्या होगा?

What will be the output of print(len('hello'))?

[A] 4

[B] 5

[C] 6

[D] Error

Correct Answer : 5


Ques 97 Report Error

"abcde"[::-1] का output क्या होगा?

What will be the output of "abcde"[::-1]?

[A] abcde

[B] edcba

[C] eabcd

[D] error

Correct Answer : edcba


Ques 98 Report Error

File object के कौन से attributes होते हैं?

Which are attributes related to file objects?

[A] name, closed, mode

[B] open, read, write

[C] delete, copy, paste

[D] save, load, close

Correct Answer : name, closed, mode


Ques 99 Report Error

Python में set को जोड़ने के लिए कौन सी method प्रयोग होती है?

Which method is used to add an element to a set in Python?

[A] add()

[B] append()

[C] insert()

[D] extend()

Correct Answer : add()


Ques 100 Report Error

math module से factorial(5) का output क्या होगा?

What will be the output of factorial(5) from the math module?

[A] 120

[B] 5

[C] error

[D] statement only

Correct Answer : 120


Ques 101 Report Error

Python का कौन सा शब्द keyword नहीं है?

Which of the following is NOT a Python keyword?

[A] True

[B] None

[C] pass

[D] value

Correct Answer : value


Related Papers
Latest Updates