O Level Python Model Paper 2025
निम्नलिखित प्रोग्राम का आउटपुट क्या है:
What is the output of the following program:
print("Hello World"[::-1])
नीचे दिए गए कोड स्निपेट में var का डेटाटाइप क्या होगा?
What will be the datatype of the var in the below code snippet?
var = 10
print(type(var))
var = "Hello"
print(type(var)) नीचे दिए गए कोड स्निपेट में ___ क्या होगा?
What will be the output of the following code snippet?
a=[1,2,3,4,5,6,7,8,9]
a[::2]=10,20,30,40,50,60
print(a)
निम्नलिखित सूची में फेरबदल करने के लिए सही कमांड क्या है?
What is the correct command to shuffle the following list?
fruit=['apple', 'banana', 'papaya', 'cherry'] निम्नलिखित कोड का परिणाम क्या है:
What is the output of the following code:
L=[‘a’,’b’,’c’,’d’]
print ( “”.join(L)) निम्नलिखित प्रोग्राम का आउटपुट क्या है:
What is the output of the following program:
i = 0
while i < 3:
print (i)
i=i+1
print (i+1) निम्नलिखित प्रोग्राम का आउटपुट क्या है:
What will be the output of the following Python code?
str1="helloworld"
str1[::-1] निम्नलिखित आदेशों को क्रियान्वित करने पर, numpy में प्रसारण का उत्पादन होगा
On executing the following commands, Broadcasting in numpy will produce
a = np.array((0,10,20,30))
b = np.array((0,1,2))
y = a[:, None] + b कौन सी सूची अनुक्रमणिका उपरोक्त सूची से ‘red’ मान का चयन करेगी
Which list index would select the value 'red' from the above list
colors = ["red", "green", "burnt sienna", "blue"] वह कौन सा व्यंजक है जो 'baz' में 'z' लौटाता है?
What is the expression that returns the 'z' in 'baz'?
x=[10, [3.141, 20, [30, 'baz', 2.718]]] जब निम्न कोड चलाया जाता है तो क्या प्रिंट होता है?
What is printed when the following code is run?
tup = ('30', '3', '2', '8')
print(sorted(tup, reverse = True)) निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
from numpy import random
x = random.randint(100)
print(x) निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
What will be the output of the following python code?
min=(lambda x,y: x if x<y else y)
min(101*99, 102*98) निम्नलिखित फलन का अध्ययन कीजिए: इस कोड का आउटपुट क्या होगा?
Study the following function: What will be the output of this code?
import math
abs(math.sqrt(36))