Jan 2025 M3-R5.1

1 / 32

For binary files, a________must be appended to the mode string.
बाइनरी फ़ाइलों के लिए, मोड स्ट्रिंग में एक________जोड़ा जाना चाहिए।

2 / 32

which symbol used to connect relationships between the shapes?
आकृतियों के बीच संबंध जोड़ने के लिए किस प्रतीक का प्रयोग किया जाता है?

3 / 32

Which of the following statements are used to read the first line of a text file f1.txt?
निम्नलिखित में से कौन सा कथन टेक्स्ट फ़ाइल f1.txt की पहली पंक्ति को पढ़ने के लिए उपयोग किया जाता है?

4 / 32

Which of the following symbol in a flowchart are used to indicate all arithmetic processes of adding, subtracting, multiplying and dividing?
फ्लोचार्ट में निम्नलिखित में से कौन सा प्रतीक जोड़ने, घटाने, गुणा करने और भाग देने की सभी अंकगणितीय प्रक्रियाओं को इंगित करने के लिए उपयोग किया जाता है?

5 / 32

What does list.index(x[, start[, end]]) indicates?
list.index(x[, start[, end]]) क्या इंगित करता है?

6 / 32

in a flowchart, which symbol is typically used to represent a decision or branching point?
फ्लोचार्ट में, निर्णय या शाखा बिंदु को दर्शाने के लिए आमतौर पर किस प्रतीक का उपयोग किया जाता है?

7 / 32

Which module can be used to convert a python script into an executable program?
पायथन स्क्रिप्ट को निष्पादन योग्य प्रोग्राम में बदलने के लिए किस मॉड्यूल का उपयोग किया जा सकता है?

8 / 32

Which amongst the following concepts is not a part of python?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?

9 / 32

What is the output of the string operation print(mySubject[-7:-1]) where mySubject=”Computer Science”
स्ट्रिंग ऑपरेशन print(mySubject[-7:-1]) का आउटपुट क्या है जहां mySubject=”Computer Science”

10 / 32

what is the purpose of the _init_.py file in a python module?
पायथन मॉड्यूल में _init_.py फ़ाइल का उद्देश्य क्या है?

11 / 32

Which control statement is used to terminate a loop in the python?
पाइथॉन में लूप को समाप्त करने के लिए किस नियंत्रण कथन का उपयोग किया जाता है?

12 / 32

which of the following concepts is not a part of python?
निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?

13 / 32

The following is displayed by a print function call. Select all of the function calls that result in this output
प्रिंट फ़ंक्शन कॉल द्वारा निम्नलिखित प्रदर्शित किया जाता है। इस आउटपुट में परिणामित होने वाले सभी फ़ंक्शन कॉल का चयन करें
tom
dick
harry

14 / 32

What is the primary limitation of a naïve recursive implementation of the Fibonacci sequence?
फाइबोनैचि अनुक्रम के सरल पुनरावर्ती कार्यान्वयन की प्राथमिक सीमा क्या है?

15 / 32

Which of the following algorithm produces Fibonacci series correctly?
निम्नलिखित में से कौन सा एल्गोरिदम सही ढंग से फिबोनाची श्रृंखला का उत्पादन करता है?

16 / 32

Bytes, bytearray, memoryview are type of the ……….data type
बाइट्स, बाइटएरे, मेमोरीव्यू …….डेटा प्रकार के प्रकार हैं

17 / 32

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)

18 / 32

Observe the following code and identify what will be the outcome?
निम्नलिखित कोड को देखिए और पहचानिए कि परिणाम क्या होगा?
import numpy as np
a=np.array([10,20,30,40])
b=np.array([18,15,14])
c=np.array([25,24,26,28,23])
x,y,z=np.ix_(a,b,c)
print(x)

19 / 32

What will be the value of x in the following python expression?
निम्नलिखित पायथन एक्सप्रेशन में x का मान क्या होगा?
x=int(43.55+2/2)

20 / 32

What will be the output of the following code?
निम्नलिखित कोड का आउटपुट क्या होगा?
print([2*i**2//2 for i in range(1,5)])

21 / 32

Which mode is used to open a file for writing and create a new file if it doesn’t exist?
किसी फ़ाइल को लिखने के लिए खोलने और यदि वह मौजूद नहीं है तो नई फ़ाइल बनाने के लिए किस मोड का उपयोग किया जाता है?

22 / 32

which of the following are the attributes related to a file object?
निम्नलिखित में से कौन सी विशेषताएँ फ़ाइल ऑब्जेक्ट से संबंधित हैं?

23 / 32

Which of the following functions always return a tuple of 3 elements?
निम्नलिखित में से कौन सा फ़ंक्शन हमेशा 3 तत्वों का टपल लौटाता है?

24 / 32

which of the following operations can be performed on mutable objects in python?
पायथन में परिवर्तनशील वस्तुओं पर निम्नलिखित में से कौन सा ऑपरेशन किया जा सकता है?

25 / 32

Which of the following functions return the string with every ‘P’ replaced with a ‘r’?
निम्नलिखित में से कौन सा फ़ंक्शन प्रत्येक ‘P’ को ‘r’ से प्रतिस्थापित करके स्ट्रिंग लौटाता है?

26 / 32

which of the following is used to find the median of a NumPy array?
NumPy सरणी का माध्यिका ज्ञात करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?

27 / 32

f.seek(10) is used to ………….
f.seek(10) का प्रयोग ………….के लिए किया जाता है।

28 / 32

Considering first two numbers of a seven terms Fibonacci sequence as 5 and 6, which of the following is the last number of this Fibonacci sequence.
सात पदों वाले फिबोनाची अनुक्रम की पहली दो संख्याएँ 5 और 6 मानते हुए, निम्नलिखित में से कौन-सी इस फिबोनाची अनुक्रम की अंतिम संख्या है।

29 / 32

Which of the following error is returned when we try to open a file in write mode which does not exist?
जब हम किसी ऐसी फाइल को राइट मोड में खोलने का प्रयास करते हैं जो मौजूद नहीं है, तो निम्नलिखित में से कौन सी त्रुटि लौटती है?

30 / 32

What does the input() function do in python?
पायथन में input() फ़ंक्शन क्या करता है?

31 / 32

What will the find() function return if the specified substring is not found in the string?
यदि निर्दिष्ट सबस्ट्रिंग स्ट्रिंग में नहीं मिलती है तो find() फ़ंक्शन क्या लौटाएगा?

32 / 32

What type of data is : a=[(1,1),(2,4),(3,9)]?
a=[(1,1),(2,4),(3,9)] किस प्रकार का डेटा है?

Your score is

The average score is 36%

0%