O Level Python Model Paper 2025
Python में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का उपयोग किया जाता है?
Which character is used in Python to make a single line comment?
अपवाद बढ़ाने के लिए पायथन में किस कीवर्ड का उपयोग किया जाता है?
What keyword is used in Python to raise exceptions?
निम्न में से कौन सा Python फ़ाइल का सही एक्सटेंशन है?
Which one of the following is the correct extension of the Python file?
निम्नलिखित में से कौन सा पायथन में वैध सेट ऑपरेशन नहीं है?
Which of the following is not a valid set operation in python?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
What is the maximum possible length of an identifier?
निम्नलिखित में से कौन सा पायथन में मान्य स्ट्रिंग हेरफेर कार्य हैं?
Which of the following are valid string manipulation functions in Python?
पायथन प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?
How many keywords present in the python programming language?
पायथन किस भाषा में लिखा गया है?
In which language is Python written?
पाइथन कितने कंट्रोल स्टेटमेंट को सपोर्ट करता है?
How many control statements python supports?
पहचानकर्ताओं से निपटने के दौरान पाइथन केस संवेदनशील है?
Is Python case sensitive when dealing with identifiers?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?
Which of the following concepts is not a part of Python?
पायथन भाषा में फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?
Which keyword is used for function in Python language?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन से कथन का उपयोग किया जाता है?
Which of the following statements are used in Exception Handling in Python?
अजगर के लिए पिप का क्या अर्थ है?
What does pip stand for python?
निम्नलिखित में से किस प्रकार के लूप Python में समर्थित नहीं हैं?
Which of the following types of loops are not supported in Python?
निम्नलिखित में से कौन सा फंक्शन पाइथन में बिल्ट-इन फंक्शन है?
Which of the following functions is a built-in function in python?
निम्नलिखित प्रोग्राम का आउटपुट क्या है:
What is the output of the following program:
print("Hello World"[::-1])
निम्नलिखित में से कौन सा कार्य पायथन में दिनांक को संबंधित समय में परिवर्तित करता है?
Which of the following functions converts date to corresponding time in Python?
कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें
To start Python from the command prompt, use the command
पायथन में दिनांक समय संगणना को संभालने के लिए निम्नलिखित में से किस मॉड्यूल को आयात करने की आवश्यकता है?
Which of the following modules need to be imported to handle date time computations in Python?
~~~~~~5 किसका मूल्यांकन करता है?
What does ~~~~~~5 evaluate to?
पायथन में निम्नलिखित अभिव्यक्ति का परिणाम क्या होगा
What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?
नीचे दिए गए कोड स्निपेट में var का डेटाटाइप क्या होगा?
What will be the datatype of the var in the below code snippet?
var = 10
print(type(var))
var = "Hello"
print(type(var))
पायथन में दावा कैसे अक्षम किया जा सकता है?
How can assertions be disabled in Python?
पायथन में एक कोड ब्लॉक कैसे दर्शाया जाता है?
How is a code block indicated in Python?
नीचे दिए गए कोड स्निपेट में ___ क्या होगा?
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']
नीचे दिए गए कथनों में से कौन सा/से सत्य है/हैं?
Which of the following statements given below is/are true?
निम्नलिखित कोड का परिणाम क्या है:
What is the output of the following code:
L=[‘a’,’b’,’c’,’d’]
print ( “”.join(L))
निम्नलिखित प्रोग्राम का आउटपुट क्या है: (9//2)
What is the output of the code print
निम्नलिखित प्रोग्राम का आउटपुट क्या है:
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]
निम्नलिखित में से कौन सा पायथन में डेटा प्रकार नहीं है?
Which of the following is not a data type in python?
निम्न आदेश प्रतिस्थापन है जब एकाधिक if का उपयोग किया जाता है
The following command is substitution when multiple ifs are used
for i in range (-5,0,1) चलेगा
for i in range (-5,0,1) will run
पायथन में खाली सेट बनाने के लिए कौन से विकल्प सही हैं?
Which options are correct to create an empty set in Python?
निम्नलिखित में से कौन सा कीवर्ड पायथन में उलटा कीवर्ड नहीं है?
Which of the following keywords is not reversed keyword in python?
पायथन में टिप्पणियों को जोड़ने के लिए किस विशेष प्रतीक का उपयोग किया जाता है?
Which is the special symbol used in python to add comments?
निम्नलिखित आदेशों को क्रियान्वित करने पर, 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
निम्नलिखित एक मशीन लर्निंग अवधारणा है
Following is a Machine learning concept
round(0.5) - round(-0.5) का नतीजा क्या है?
What is the result of round(0.5) – round(-0.5)?
फ़ंक्शन मूल सरणी को संशोधित करता है और फ़ंक्शन सरणी का एक नया उदाहरण बनाता है।
The function modifies the original array and function creates a new instance of the array.
संख्याओं का अनुक्रम बनाने के लिए, NumPy एक फ़ंक्शन प्रदान करता है जो रेंज के अनुरूप होता है जो सूचियों के बजाय सरणी देता है
To create sequences of numbers, NumPy provides a function analogous to range that returns arrays instead of lists
स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?
Why does the name of local variables start with an underscore discouraged?
निम्नलिखित में से किसकी अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Which one of the following has the highest precedence in the expression?
डेटाइम में बदलने के लिए प्रयोग किया जाने वाला फंक्शन है :
The function used to convert to datetime is :
कौन सी सूची अनुक्रमणिका उपरोक्त सूची से ‘red’ मान का चयन करेगी
Which list index would select the value 'red' from the above list
colors = ["red", "green", "burnt sienna", "blue"]
वर्गों का आउटपुट क्या होगा = {x: x*x for x in range(6)}
What will be the output of squares = {x: x*x for x in range(6)}
वह कौन सा व्यंजक है जो 'baz' में 'z' लौटाता है?
What is the expression that returns the 'z' in 'baz'?
x=[10, [3.141, 20, [30, 'baz', 2.718]]]
पायथन सूचियों और टुपल्स के बीच मुख्य अंतर क्या है?
What’s the main difference between Python lists and tuples?
आप वेरिएबल a को लंबाई 1 का टपल कैसे असाइन करते हैं? (सभी सही हैं की जाँच करें।)
How do you assign a tuple of length 1 to the variable a? (Check all that are correct.)
जब निम्न कोड चलाया जाता है तो क्या प्रिंट होता है?
What is printed when the following code is run?
tup = ('30', '3', '2', '8')
print(sorted(tup, reverse = True))
निम्नलिखित में से कौन से फ़ाइल स्वरूपों को पायथन प्रोग्रामिंग के माध्यम से डेटा स्टोर करने की अनुमति है?
Which of the following file formats are allowed to store data through python programming?
फाइल को पाइथन में ओपन करने के लिए लैंग्वेज फंक्शन का प्रयोग किया जाता है।
To open a file in python language function is used .
यदि हम फ़ाइल खोलते समय फ़ाइल मोड निर्दिष्ट नहीं करते हैं, तो फ़ाइल मोड में खुलेगी
If we do not specify file mode while opening a file, the file will open in mode
एक फ़ाइल Myfile.txt खोलने के लिए, जो d:\Myfolder पर संग्रहीत है, WRITING के लिए, हम उपयोग कर सकते हैं
To open a file Myfile.txt ,which is stored at d:\Myfolder, for WRITING , we can use
किस प्रारूप में बाइनरी फ़ाइल में जानकारी होती है
In which format Binary file contains information
फाइल ऑब्जेक्ट FILE से सभी सामग्री को एक बार में पढ़ने के लिए हम उपयोग कर सकते हैं
To read all contents from file object FILE at once we may use
एक प्रोग्रामर के लिए पढ़ने और लिखने में क्या आसान है।
What is easier for a programmer to read and write.
निम्नलिखित में से कौन सा फ़ाइल-मोड फ़ाइल डेटा को बनाए रखता है और नए डेटा को जोड़ता है।
Which of the following file-modes does retains file data and append new data.
निम्नलिखित में से किस फ़ंक्शन का उपयोग फ़ाइल में स्ट्रिंग्स की सूची लिखने के लिए किया जाता है?
Which of the following function is used to write LIST OF STRINGS in a file?
फाइल में लिस्ट लिखने की कमांड।
Command to write a list in a file.
निम्नलिखित में से कौन सा चर नाम के रूप में काम नहीं करेगा?
Which of the following would NOT work as a variable name?
निम्न में से कौन सी विधि एक नई सरणी वस्तु बनाती है जो समान डेटा को देखती है?
Which of the following method creates a new array object that looks at the same data?
फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?
Which keyword is used for function?
पायथन में फंक्शन का उपयोग निम्न में से क्या है?
What of the following is the use of function in python?
Python में NumPy का उद्देश्य क्या है?
What is the purpose of NumPy in Python?
आउटपुट क्या होगा?
What will be the output?
def f(x,y,z):
return x+ y+ z
f(2,30,400)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
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)
निम्नलिखित में से कौन सा निर्णय लेने वाला कथन नहीं है:
Which of following is not a decision-making statement:
किसी if स्टेटमेंट में वैकल्पिक शर्त जोड़ने के लिए आप किस कीवर्ड का उपयोग करेंगे?
What keyword would you use to add an alternative condition to an if statement?
जब आप निम्नलिखित कोड निष्पादित करते हैं तो क्या त्रुटि होगी?
What error will occur when you execute the following code?
MANGO = APPLE
निर्माण में बयानों का निष्पादन एक स्थिति परीक्षण पर निर्भर करता है।
Execution of statements in construct depend on a condition test.
NumPy में परिभाषित सबसे महत्वपूर्ण वस्तु एक N-आयामी सरणी प्रकार है जिसे कहा जाता है?
The most important object defined in NumPy is an N-dimensional array type called?
निम्नलिखित में से कौन सा फ़ंक्शन कॉल करने का सही तरीका है?
Which one of the following is the right way to call a function?
निम्नलिखित में से कौन सा कथन असत्य है?
Which among the following statement is false?
निम्नलिखित फलन का अध्ययन कीजिए: इस कोड का आउटपुट क्या होगा?
Study the following function: What will be the output of this code?
import math
abs(math.sqrt(36))
निम्न में से कौन ufuncs में प्रयुक्त बफर के आकार को सेट करता है?
Which of the following sets the size of the buffer used in ufuncs?
NumPy में फोरट्रान ऑर्डर क्या है?
What is fortran order in NumPy?
NumPy ऐरे की विशेषताएँ क्या हैं?
What are the attributes of NumPy array?
uint32 डेटा प्रकार की सीमा क्या है?
What is the range of uint32 data type?
हम सिस्टम में numPy कैसे स्थापित करते हैं?
How we install numPy in system?
Python में ____ प्रकार के फंक्शन/मैथेड है।
There are ______ Functions/Method in Python Programming.
डिफ़ॉल्ट रूप से, पायथन स्रोत फ़ाइलों को _______ में एन्कोडेड माना जाता है।
By default, Python source files are treated as encoded in _______.