O Level Python Paper July 2025
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]?
निम्नलिखित expression का सही मान क्या होगा?
What is the correct value of the following expression?
2 + 3 * 4 - 6
निम्न NumPy कोड का आउटपुट क्या होगा?
What will be the output of the following NumPy code?
x = np.arange(1, 11, 2)
print(x)
math.log(64,2) का आउटपुट क्या होगा?
What will be the output of math.log(64,2)?
Python में print(5*(2//3)) का आउटपुट क्या होगा?
What will be the output of print(5*(2//3)) in Python?
Python में list comprehension का syntax कैसा होता है?
What does list comprehension syntax look like in Python?
Python में कितने comparison operators होते हैं?
How many comparison operators are there in Python?
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]?
भाषा दक्षता (language efficiency) कैसे प्राप्त की जा सकती है?
Language efficiency can be achieved through:
"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)?
Python में child class parent class की properties कैसे access करती है?
How does a child class access the properties of a parent class in Python?
निम्नलिखित Python अभिव्यक्ति में x का मान क्या होगा?
What will be the value of x in the following Python expression?
x = int(43.55+2/2)
print(x)
6 का factorial (6!) क्या होगा?
What is the value of 6 factorial (6!)?
निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
t = (1,2)
print(2*t)
ऐसी functions जो कोई मान (value) वापस नहीं करती हैं, उन्हें क्या कहा जाता है?
Functions that do not return any value are known as:
Python में "A" + "BC" का आउटपुट क्या होगा?
What will be the output of "A" + "BC" in Python?
NumPy में multidimensional array को क्या कहते हैं?
What is a multidimensional array in NumPy called?
निम्न Python code का आउटपुट क्या होगा?
What will be the output of the following Python code?
for i in [1, 2, 3, 4][::-1]:
print(i)
निम्नलिखित कोड चलाने पर अंतिम बार क्या मुद्रित होता है?
What is the last thing printed when the following code is run?
number = 0
while number <= 10:
print("Number: ", number)
number = number + 1
नीचे दिए गए Python कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
def cube(x):
return (x*x*x)
x = cube(3)
print(x)
Python में print(~100) का आउटपुट क्या होगा?
What will be the output of print(~100) in Python?
इस Python कोड का आउटपुट क्या होगा?
What will be the output of this Python code?
str="Hello python"
print(str[-7:-4:1])
निम्नलिखित कोड चलाने के बाद 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)
pickle module क्या करता है?
What does the pickle module do in Python?
निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x=10
y=5
x,y=y,x
print(x,y)
22//3 + 3/3 का आउटपुट क्या होगा?
What will be the output of: 22//3 + 3/3 ?
random.shuffle() method किस data type की value accept करता है?
random.shuffle() method accepts the value of which data type?
Python में यदि return statement के साथ कोई value नहीं दी जाए, तो वह क्या लौटाता है?
In Python, if a return statement has no value, what does it return?
'abcdefg'[2:5] का output क्या होगा?
What is the output of 'abcdefg'[2:5]?
पायथन कोड का आउटपुट क्या है?
What is the output of Python code?
my_list = [3,1,4,1,5]
print(max (my_list)) Python में highest precedence किस operator की होती है?
Which operator has the highest precedence in Python?
अगर 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?
4 + 2**5 // 10 का output क्या होगा?
What is the output of 4 + 2**5 // 10?
2**3 + 5**2 का मान क्या होगा?
What is the value of 2**3 + 5**2?
अगर s = "Information" हो, तो print(s[2:8]) का output क्या होगा?
If s = "Information", what is the output of print(s[2:8])?
Python में == ऑपरेटर का उपयोग किसलिए होता है?
What is the purpose of == operator in Python?
Python रनटाइम पर गुमनाम (anonymous) functions बनाने के लिए जिस construct का उपयोग करता है, उसे क्या कहा जाता है?
Python supports the creation of anonymous functions at runtime, using a construct called —–
निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
word = "Snow world"
print(word[4:7])
किस NumPy function से array का median निकाला जाता है?
Which NumPy function is used to find the median of an array?
Logical OR operator का symbol क्या है?
What is the symbol of logical OR operator in Python?
Python में "A" + "BC" का आउटपुट क्या होगा?
What will be the output of "A" + "BC" in Python?
Python में नीचे दिए गए कोड का परिणाम क्या होगा?
What will be the result of the following Python code?
x = (1, 2, 3)
x[0] = 3
Python में function के अंदर define किया गया variable क्या कहलाता है?
What is a variable defined inside a function in Python called?
Binary संख्या 110001 का decimal में मान क्या होगा?
What is the decimal value of binary number 110001?
Python में break और continue का अंतर क्या है?
What is the difference between break and continue in Python?
Python में कौन सा keyword function define करने के लिए प्रयोग होता है?
Which keyword is used to define a function in Python?
Python में print(9//4*3 - 6*3//4) का आउटपुट क्या होगा?
What will be the output of print(9//4*3 - 6*3//4) in Python?
Python में factorial निकालने के लिए सबसे अच्छा तरीका क्या है?
What is the best way to calculate factorial in Python?
Python में type() function का क्या काम है?
What does the type() function do in Python?
Python में नीचे दिए गए कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
L = [1, 2, 3, 4, 5]
print([x & 1 for x in L])
Python में range(5) का आउटपुट क्या होगा?
What will range(5) generate?
इस पायथन कोड को चलाने पर निम्नलिखित में से कौन सा कथन मुद्रित नहीं होगा?
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)
Python में truncation करने के लिए कौन सा method प्रयोग किया जाता है?
Which method is used to truncate a number in Python?
Python में write() function क्या return करता है?
What does the write() function return in Python?
निम्न Python कोड के आउटपुट में types क्या होंगी?
What will be the types printed by the following Python code?
print(type(5/2))
print(type(5//2))
Python में किसी variable (identifier) को खोजने का क्रम क्या है?
What is the order in which Python searches for an identifier?
नीचे दिए गए में से कौन सा loop कम से कम एक बार ज़रूर execute होता है, चाहे condition false हो?
Which of the following loops always executes the loop body at least once, even if the condition is false?
नीचे दिए गए Python कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
x = 15
def f1(a, b=x):
print(a, b)
f1(4)
Python में pow(2, 3, 5) का परिणाम क्या होगा?
What will be the result of pow(2, 3, 5) in Python?
Python list की index() विधि का क्या उद्देश्य है?
What is the purpose of the index() method in a Python list?
NumPy में array बनाने के लिए कौन सा function उपयोग किया जाता है?
Which function is used to create an array in NumPy?
Python में nested function क्या होती है?
What is a nested function in Python?
a और b वेरिएबल का डेटा टाइप क्या होगा?
What will be the data types of variables a and b?
var a = 10
var b = "Manish"
यदि x = 1 है, तो x << 2 का परिणाम क्या होगा?
If x = 1, then what will be the result of x << 2?
निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
print(-18//4)
NumPy में identity matrix बनाने के लिए क्या उपयोग किया जाता है?
Which NumPy function is used to create an identity matrix?
Flowchart में निर्णय (decision) के लिए कौन सा symbol उपयोग किया जाता है?
In a flowchart, which symbol is used for division (decision making)?
निम्नलिखित NumPy कोड का आउटपुट क्या होगा?
What is the output of the following NumPy code?
arr = np.array([1,2,3,4,5])
print(np.sum(arr))
Python में नीचे दिए गए कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
L = [1, 2, 3, 4, 5]
print([x & 1 for x in L])
इस कोड का आउटपुट क्या होगा?
What will be the output of this code?
a = 5
b = 1
c = 1 ^ 5
print(c)
क्या NumPy module को ऐसे import करना सही है?
Is it correct to import NumPy module like this?
import numpy as np
कौन सा ऑपरेटर _gt_() overload किया जाता है?
Which operator is overloaded by the method _gt_() ?
Python में single line comment लिखने के लिए कौन सा symbol प्रयोग होता है?
Which symbol is used to write a single line comment in Python?
NumPy में array बनाने के लिए निम्न में से कौन सा method प्रयोग कर सकते हैं?
Which of the following can be used to create NumPy arrays?
Python फाइल की सही extension क्या है?
What is the correct extension of a Python file?
Python में कौन सा loop entry control loop है?
Which of the following is an entry control loop in Python?
Python में date और time को specific format में string में बदलने के लिए कौन सा method प्रयोग होता है?
In Python, which method is used to format date and time as a string?
Python में identifier (जैसे variable, function name) की अधिकतम लंबाई कितनी हो सकती है?
What is the maximum length of an identifier in Python?
मान्य निर्देशों (instructions) के निर्माण को नियंत्रित करने वाले formal grammar rules को क्या कहते हैं?
The formal grammar rules governing the construction of valid instructions are called:
Python dictionary में data कैसे store होता है?
How is data stored in a Python dictionary?
Python में कौन सा valid arithmetic operator नहीं है?
Which of the following is NOT a valid Python arithmetic operator?
Python में console से input लेने के लिए कौन सा function प्रयोग होता है?
Which function is used to accept console input in Python?
Python में इस code का output क्या होगा?
What will be the output?
a = 9
b = 1
print(a | b)
नीचे दिए गए 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))
नीचे में से कौन सा popular assembler नहीं है?
Which of the following is NOT a popular assembler?
नीचे में से कौन सा popular assembler नहीं है?
Which of the following is NOT a popular assembler?
Append mode में file खोलने के लिए कौन सा mode इस्तेमाल होता है?
Which mode is used to open a file in append mode?
int('101') का output क्या होगा?
What will be the output of int('101')?
नीचे दिए गए में से कौन सा immutable object है?
Which of the following is an immutable object?
Python में खुद से बनाए गए function को क्या कहते हैं?
What do we call a function whose name is chosen by the programmer?
print(len('hello')) का output क्या होगा?
What will be the output of print(len('hello'))?
"abcde"[::-1] का output क्या होगा?
What will be the output of "abcde"[::-1]?
File object के कौन से attributes होते हैं?
Which are attributes related to file objects?
Python में set को जोड़ने के लिए कौन सी method प्रयोग होती है?
Which method is used to add an element to a set in Python?
math module से factorial(5) का output क्या होगा?
What will be the output of factorial(5) from the math module?
Python का कौन सा शब्द keyword नहीं है?
Which of the following is NOT a Python keyword?