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

Solved - O Level Python Model Paper 2025

Ques 1 Report Error

Python में सिंगल लाइन कमेंट करने के लिए किस कैरेक्टर का उपयोग किया जाता है?

Which character is used in Python to make a single line comment?

[A] /

[B] //

[C] #

[D] !

Correct Answer : #


Ques 2 Report Error

अपवाद बढ़ाने के लिए पायथन में किस कीवर्ड का उपयोग किया जाता है?

What keyword is used in Python to raise exceptions?

[A] raise

[B] goto

[C] try

[D] except

Correct Answer : raise


Ques 3 Report Error

निम्न में से कौन सा Python फ़ाइल का सही एक्सटेंशन है?

Which one of the following is the correct extension of the Python file?

[A] .python

[B] .py

[C] .p

[D] None of the above

Correct Answer : .py


Ques 4 Report Error

निम्नलिखित में से कौन सा पायथन में वैध सेट ऑपरेशन नहीं है?

Which of the following is not a valid set operation in python?

[A] Union

[B] Intersection

[C] Difference

[D] None of the above

Correct Answer : None of the above


Ques 5 Report Error

पहचानकर्ता की अधिकतम संभव लंबाई क्या है?

What is the maximum possible length of an identifier?

[A] 16

[B] 8

[C] 32

[D] None of the above

Correct Answer : None of the above


Ques 6 Report Error

निम्नलिखित में से कौन सा पायथन में मान्य स्ट्रिंग हेरफेर कार्य हैं?

Which of the following are valid string manipulation functions in Python?

[A] count()

[B] upper()

[C] strip()

[D] all of the above

Correct Answer : all of the above


Ques 7 Report Error

पायथन प्रोग्रामिंग भाषा में कितने कीवर्ड मौजूद हैं?

How many keywords present in the python programming language?

[A] 32

[B] 64

[C] 33

[D] 29

Correct Answer : 33


Ques 8 Report Error

पायथन किस भाषा में लिखा गया है?

In which language is Python written?

[A] C++

[B] C

[C] Java

[D] None of the above

Correct Answer : C


Ques 9 Report Error

पाइथन कितने कंट्रोल स्टेटमेंट को सपोर्ट करता है?

How many control statements python supports?

[A] 3

[B] 4

[C] 5

[D] 6

Correct Answer : 3


Ques 10 Report Error

पहचानकर्ताओं से निपटने के दौरान पाइथन केस संवेदनशील है?

Is Python case sensitive when dealing with identifiers?

[A] Yes

[B] No

[C] Machine dependent

[D] None of the above

Correct Answer : Yes


Ques 11 Report Error

निम्नलिखित में से कौन सी अवधारणा पायथन का हिस्सा नहीं है?

Which of the following concepts is not a part of Python?

[A] Pointers

[B] Loops

[C] Dynamic typing

[D] All of the Above

Correct Answer : Pointers


Ques 12 Report Error

पायथन भाषा में फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?

Which keyword is used for function in Python language?

[A] Function

[B] def

[C] Fun

[D] Define

Correct Answer : def


Ques 13 Report Error

पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन से कथन का उपयोग किया जाता है?

Which of the following statements are used in Exception Handling in Python?

[A] try

[B] except

[C] finally

[D] All of the above

Correct Answer : All of the above


Ques 14 Report Error

अजगर के लिए पिप का क्या अर्थ है?

What does pip stand for python?

[A] unlimited length

[B] all private members must have leading and trailing underscores

[C] Preferred Installer Program

[D] None of the above

Correct Answer : Preferred Installer Program


Ques 15 Report Error

निम्नलिखित में से किस प्रकार के लूप Python में समर्थित नहीं हैं?

Which of the following types of loops are not supported in Python?

[A] For

[B] While

[C] Do-while

[D] None of the above

Correct Answer : Do-while


Ques 16 Report Error

निम्नलिखित में से कौन सा फंक्शन पाइथन में बिल्ट-इन फंक्शन है?

Which of the following functions is a built-in function in python?

[A] factorial()

[B] print()

[C] seed()

[D] sqrt()

Correct Answer : print()


Ques 17 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है:

What is the output of the following program:

print("Hello World"[::-1])

[A] dlroW olleH

[B] Hello Word

[C] D

[D] error

Correct Answer : dlroW olleH


Ques 18 Report Error

निम्नलिखित में से कौन सा कार्य पायथन में दिनांक को संबंधित समय में परिवर्तित करता है?

Which of the following functions converts date to corresponding time in Python?

[A] strptime()

[B] strftime()

[C] Both A and B

[D] None of the above

Correct Answer : strptime()


Ques 19 Report Error

कमांड प्रॉम्प्ट से पायथन शुरू करने के लिए, कमांड का उपयोग करें

To start Python from the command prompt, use the command

[A] execute python

[B] go python

[C] python

[D] run python

Correct Answer : python


Ques 20 Report Error

पायथन में दिनांक समय संगणना को संभालने के लिए निम्नलिखित में से किस मॉड्यूल को आयात करने की आवश्यकता है?

Which of the following modules need to be imported to handle date time computations in Python?

[A] datetime

[B] date

[C] time

[D] timedate

Correct Answer : datetime


Ques 21 Report Error

~~~~~~5 किसका मूल्यांकन करता है?

What does ~~~~~~5 evaluate to?

[A] +5

[B] -11

[C] +11

[D] -5

Correct Answer : +5


Ques 22 Report Error

पायथन में निम्नलिखित अभिव्यक्ति का परिणाम क्या होगा

What will be the result of the following expression in Python “2 ** 3 + 5 ** 2”?

[A] 65536

[B] 33

[C] 169

[D] None of the above

Correct Answer : 33


Ques 23 Report Error

नीचे दिए गए कोड स्निपेट में var का डेटाटाइप क्या होगा?

What will be the datatype of the var in the below code snippet?

var = 10
print(type(var)) 
var = "Hello" 
print(type(var))

[A] Str and int

[B] int and int

[C] str and str

[D] int and str

Correct Answer : int and str


Ques 24 Report Error

पायथन में दावा कैसे अक्षम किया जा सकता है?

How can assertions be disabled in Python?

[A] Passing –O when running python

[B] Assertions are disabled by default

[C] Both A and B are wrong

[D] Assertions cannot be disabled in python

Correct Answer : Passing –O when running python


Ques 25 Report Error

पायथन में एक कोड ब्लॉक कैसे दर्शाया जाता है?

How is a code block indicated in Python?

[A] Brackets

[B] Indentation

[C] Key

[D] None of the above

Correct Answer : Indentation


Ques 26 Report Error

नीचे दिए गए कोड स्निपेट में ___ क्या होगा?

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)

[A] ValueError: attempt to assign sequence of size 6 to extended slice of size 5

[B] [10, 2, 20, 4, 30, 6, 40, 8, 50, 60]

[C] [1, 2, 10, 20, 30, 40, 50, 60]

[D] [1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]

Correct Answer : ValueError: attempt to assign sequence of size 6 to extended slice of size 5


Ques 27 Report Error

निम्नलिखित सूची में फेरबदल करने के लिए सही कमांड क्या है?

What is the correct command to shuffle the following list?

fruit=['apple', 'banana', 'papaya', 'cherry']

[A] fruit.shuffle()

[B] shuffle(fruit)

[C] random.shuffle(fruit)

[D] random.shuffleList(fruit)

Correct Answer : random.shuffle(fruit)


Ques 28 Report Error

नीचे दिए गए कथनों में से कौन सा/से सत्य है/हैं?

Which of the following statements given below is/are true?

[A] Tuples have structure; lists have an order.

[B] Tuples are homogeneous, lists are heterogeneous.

[C] Tuples are immutable, lists are mutable.

[D] All of them.

Correct Answer : Tuples are immutable, lists are mutable.


Ques 29 Report Error

निम्नलिखित कोड का परिणाम क्या है:

What is the output of the following code:

L=[‘a’,’b’,’c’,’d’]
print ( “”.join(L))

[A] Error

[B] None

[C] abcd

[D] [‘a’,’b’,’c’,’d’]

Correct Answer : abcd


Ques 30 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है: (9//2)

What is the output of the code print

[A] 4.5

[B] 4.0

[C] 4

[D] Error

Correct Answer : 4


Ques 31 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है:

What is the output of the following program:

i = 0
while i < 3:
      print (i) 
      i=i+1 
      print (i+1)

[A] 0 2 1 3 2 4

[B] 0 1 2 3 4 5

[C] Infinite loop

[D] 0 1 2 3

Correct Answer : 0 2 1 3 2 4


Ques 32 Report Error

निम्नलिखित प्रोग्राम का आउटपुट क्या है:

What will be the output of the following Python code?

str1="helloworld" 
str1[::-1]

[A] dlrowolleh

[B] Hello

[C] World

[D] Helloworld

Correct Answer : dlrowolleh


Ques 33 Report Error

निम्नलिखित में से कौन सा पायथन में डेटा प्रकार नहीं है?

Which of the following is not a data type in python?

[A] String

[B] numbers

[C] Slice

[D] List

Correct Answer : Slice


Ques 34 Report Error

पीवीएम को प्राय: कहा जाता है।

PVM is often called .

[A] Python Interpreter.

[B] Python compiler

[C] Python Volatile machine

[D] Portable virtual machine

Correct Answer : Python Interpreter.


Ques 35 Report Error

कौन सा कथन सही है??

Which statement is correct??

[A] List is mutable & Tuple is immutable

[B] List is immutable & Tuple is mutable

[C] Both are mutable

[D] Both are immutable

Correct Answer : List is mutable & Tuple is immutable


Ques 36 Report Error

शब्दकोश में है:

Dictionary has:

[A] Sequence value pair

[B] Key value pair

[C] Tuple value pair

[D] Record value pair

Correct Answer : Key value pair


Ques 37 Report Error

निम्न आदेश प्रतिस्थापन है जब एकाधिक if का उपयोग किया जाता है

The following command is substitution when multiple ifs are used

[A] else if

[B] eliff

[C] elif

[D] otherwise

Correct Answer : elif


Ques 38 Report Error

for i in range (-5,0,1) चलेगा

for i in range (-5,0,1) will run

[A] 4 times

[B] 5 times

[C] 6 times

[D] 3 time

Correct Answer : 5 times


Ques 39 Report Error

कौन सा सच नहीं है:

Which is not true:

[A] a,b,c=5,4,3

[B] x=[10,5,4,6]

[C] d={}

[D] 5=a

Correct Answer : 5=a


Ques 40 Report Error

पायथन में खाली सेट बनाने के लिए कौन से विकल्प सही हैं?

Which options are correct to create an empty set in Python?

[A] {}

[B] []

[C] ()

[D] set()

Correct Answer : set()


Ques 41 Report Error

सीएसवी का मतलब है|

csv stands for

[A] comma string values

[B] comma sequence values

[C] comma separated values

[D] comma segregated values

Correct Answer : comma separated values


Ques 42 Report Error

निम्नलिखित में से कौन सा कीवर्ड पायथन में उलटा कीवर्ड नहीं है?

Which of the following keywords is not reversed keyword in python?

[A] None

[B] Class

[C] Goto

[D] None

Correct Answer : Goto


Ques 43 Report Error

पायथन में टिप्पणियों को जोड़ने के लिए किस विशेष प्रतीक का उपयोग किया जाता है?

Which is the special symbol used in python to add comments?

[A] $

[B] //

[C] /*… */

[D] #

Correct Answer : #


Ques 44 Report Error

निम्नलिखित आदेशों को क्रियान्वित करने पर, 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

[A] Error, operands could not be broadcast together with these shapes

[B] [[ 0 10 20, 30] [10 21, 32] [20 31 22] [30 31 32]]

[C] [[ 0 0 0] [0 0 0] [0 0 0] [0 0 0]]

[D] [[ 0 1 2] [10 11 12] [20 21 22] [30 31 32]]

Correct Answer : [[ 0 1 2] [10 11 12] [20 21 22] [30 31 32]]


Ques 45 Report Error

निम्नलिखित एक मशीन लर्निंग अवधारणा है

Following is a Machine learning concept

[A] Generating prime nos

[B] Drawing image

[C] Predicting image

[D] Drawing Graphs

Correct Answer : Predicting image


Ques 46 Report Error

round(0.5) - round(-0.5) का नतीजा क्या है?

What is the result of round(0.5) – round(-0.5)?

[A] 1.0

[B] 2.0

[C] 0(Zero)

[D] 0.0

Correct Answer : 0(Zero)


Ques 47 Report Error

फ़ंक्शन मूल सरणी को संशोधित करता है और फ़ंक्शन सरणी का एक नया उदाहरण बनाता है।

The function modifies the original array and function creates a new instance of the array.

[A] reshape,resize

[B] resize,reshape

[C] ndims,resize

[D] reshape, ndims

Correct Answer : reshape,resize


Ques 48 Report Error

संख्याओं का अनुक्रम बनाने के लिए, NumPy एक फ़ंक्शन प्रदान करता है जो रेंज के अनुरूप होता है जो सूचियों के बजाय सरणी देता है

To create sequences of numbers, NumPy provides a function analogous to range that returns arrays instead of lists

[A] arange

[B] aspace

[C] aline

[D] None of the above

Correct Answer : arange


Ques 49 Report Error

स्थानीय वेरिएबल्स का नाम अंडरस्कोर से क्यों शुरू होता है?

Why does the name of local variables start with an underscore discouraged?

[A] To identify the variable

[B] It confuses the interpreter.

[C] It indicates a private variable of a class

[D] None of these

Correct Answer : It indicates a private variable of a class


Ques 50 Report Error

निम्नलिखित में से किसकी अभिव्यक्ति में सर्वोच्च प्राथमिकता है?

Which one of the following has the highest precedence in the expression?

[A] Division

[B] Subtraction

[C] Power

[D] Parentheses

Correct Answer : Parentheses


Ques 51 Report Error

डेटाइम में बदलने के लिए प्रयोग किया जाने वाला फंक्शन है :

The function used to convert to datetime is :

[A] Convert_todatetime()

[B] To_datetime()

[C] Datetime_to()

[D] Todate()

Correct Answer : To_datetime()


Ques 52 Report Error

कौन सी सूची अनुक्रमणिका उपरोक्त सूची से ‘red’ मान का चयन करेगी

Which list index would select the value 'red' from the above list

colors = ["red", "green", "burnt sienna", "blue"]

[A] “red”

[B] 0

[C] 1

[D] -4

Correct Answer : 0


Ques 53 Report Error

वर्गों का आउटपुट क्या होगा = {x: x*x for x in range(6)}

What will be the output of squares = {x: x*x for x in range(6)}

[A] [0, 1, 4, 9, 16, 25]

[B] [0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25]

[C] {0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25}

[D] Error

Correct Answer : {0: 0, 1: 1, 2: 4, 3: 9, 4: 16, 5: 25}


Ques 54 Report Error

वह कौन सा व्यंजक है जो 'baz' में 'z' लौटाता है?

What is the expression that returns the 'z' in 'baz'?

x=[10, [3.141, 20, [30, 'baz', 2.718]]]

[A] x[1][0][1][2]

[B] x[1][0][1][2]

[C] x[1][2][0][2]

[D] x[1][2][1][2]

Correct Answer : x[1][2][1][2]


Ques 55 Report Error

पायथन सूचियों और टुपल्स के बीच मुख्य अंतर क्या है?

What’s the main difference between Python lists and tuples?

[A] Lists can hold any data type and tuples can only contain int and str objects.

[B] Lists are immutable and tuples are mutable.

[C] Lists are faster and tuples are slower.

[D] Lists are mutable and tuples are immutable.

Correct Answer : Lists are mutable and tuples are immutable.


Ques 56 Report Error

आप वेरिएबल a को लंबाई 1 का टपल कैसे असाइन करते हैं? (सभी सही हैं की जाँच करें।)

How do you assign a tuple of length 1 to the variable a? (Check all that are correct.)

[A] a = (1,)

[B] a=1,

[C] a=[1]

[D] a=1

Correct Answer : a = (1,)


Ques 57 Report Error

जब निम्न कोड चलाया जाता है तो क्या प्रिंट होता है?

What is printed when the following code is run?

tup = ('30', '3', '2', '8')
print(sorted(tup, reverse = True)) 

[A] ['2', '3', '30', '8']

[B] ['2', '3', '8', '30']

[C] ['30', '8', '3', '2']

[D] ['8', '30', '3', '2']

Correct Answer : ['8', '30', '3', '2']


Ques 58 Report Error

निम्नलिखित में से कौन से फ़ाइल स्वरूपों को पायथन प्रोग्रामिंग के माध्यम से डेटा स्टोर करने की अनुमति है?

Which of the following file formats are allowed to store data through python programming?

[A] Video files

[B] Audio files

[C] Text Files

[D] Binary Files

Correct Answer : Binary Files


Ques 59 Report Error

फाइल को पाइथन में ओपन करने के लिए लैंग्वेज फंक्शन का प्रयोग किया जाता है।

To open a file in python language function is used .

[A] Begin()

[B] Create()

[C] open()

[D] File()

Correct Answer : open()


Ques 60 Report Error

यदि हम फ़ाइल खोलते समय फ़ाइल मोड निर्दिष्ट नहीं करते हैं, तो फ़ाइल मोड में खुलेगी

If we do not specify file mode while opening a file, the file will open in mode

[A] read

[B] write

[C] append

[D] will give an error

Correct Answer : read


Ques 61 Report Error

एक फ़ाइल Myfile.txt खोलने के लिए, जो d:\Myfolder पर संग्रहीत है, WRITING के लिए, हम उपयोग कर सकते हैं

To open a file Myfile.txt ,which is stored at d:\Myfolder, for WRITING , we can use

[A] F=open("d:\Myfolder\Myfile.txt","w")

[B] F=open(file="d:\Myfolder\Myfile.txt","w")

[C] F=open("d:\\Myfolder\Myfile.txt","w")

[D] F=open("d:\\Myfolder\\Myfile.txt","w")

Correct Answer : F=open("d:\\Myfolder\\Myfile.txt","w")


Ques 62 Report Error

किस प्रारूप में बाइनरी फ़ाइल में जानकारी होती है

In which format Binary file contains information

[A] Zebra way

[B] Quick response code

[C] same format in which the data is held in memory.

[D] ASCII Format

Correct Answer : same format in which the data is held in memory.


Ques 63 Report Error

फाइल ऑब्जेक्ट FILE से सभी सामग्री को एक बार में पढ़ने के लिए हम उपयोग कर सकते हैं

To read all contents from file object FILE at once we may use

[A] FILE.read(*)

[B] FILE.readlines()

[C] FILE.read()

[D] FILE.readline()

Correct Answer : FILE.read()


Ques 64 Report Error

एक प्रोग्रामर के लिए पढ़ने और लिखने में क्या आसान है।

What is easier for a programmer to read and write.

[A] Binary file

[B] Text file

[C] Doc file

[D] Excel file

Correct Answer : Text file


Ques 65 Report Error

readlines () वापस आ जाएगी

readlines () will return

[A] list of characters

[B] list of strings

[C] list of lines

[D] list of tuples

Correct Answer : list of lines


Ques 66 Report Error

निम्नलिखित में से कौन सा फ़ाइल-मोड फ़ाइल डेटा को बनाए रखता है और नए डेटा को जोड़ता है।

Which of the following file-modes does retains file data and append new data.

[A] ’a+’

[B] ’a’

[C] ’w+’

[D] ’r+’

Correct Answer : ’a+’


Ques 67 Report Error

निम्नलिखित में से किस फ़ंक्शन का उपयोग फ़ाइल में स्ट्रिंग्स की सूची लिखने के लिए किया जाता है?

Which of the following function is used to write LIST OF STRINGS in a file?

[A] write()

[B] writeline()

[C] writelines()

[D] write(all)

Correct Answer : writelines()


Ques 68 Report Error

फाइल में लिस्ट लिखने की कमांड।

Command to write a list in a file.

[A] write()

[B] writeline()

[C] writelines()

[D] writepara()

Correct Answer : writelines()


Ques 69 Report Error

सूची को फाइल में लिखता है।

Writes a list in a file.

[A] write()

[B] writeline()

[C] writelines()

[D] writepara()

Correct Answer : writelines()


Ques 70 Report Error

निम्नलिखित में से कौन सा चर नाम के रूप में काम नहीं करेगा?

Which of the following would NOT work as a variable name?

[A] a

[B] len

[C] length

[D] x

Correct Answer : len


Ques 71 Report Error

निम्न में से कौन सी विधि एक नई सरणी वस्तु बनाती है जो समान डेटा को देखती है?

Which of the following method creates a new array object that looks at the same data?

[A] View

[B] Copy

[C] Paste

[D] all of the mentioned

Correct Answer : View


Ques 72 Report Error

फंक्शन के लिए किस कीवर्ड का प्रयोग किया जाता है?

Which keyword is used for function?

[A] Def

[B] def

[C] Define

[D] Fund

Correct Answer : def


Ques 73 Report Error

NumPy सरणियाँ हो सकती हैं।

NumPy arrays can be

[A] Indexed

[B] Sliced

[C] Iterated

[D] All of the mentioned above

Correct Answer : All of the mentioned above


Ques 74 Report Error

पायथन में फंक्शन का उपयोग निम्न में से क्या है?

What of the following is the use of function in python?

[A] They are reusable

[B] They don’t provide molularity

[C] You cant create your own functions

[D] All of the mentioned

Correct Answer : They are reusable


Ques 75 Report Error

Python में NumPy का उद्देश्य क्या है?

What is the purpose of NumPy in Python?

[A] To do numerical calculations

[B] To do scientific computing

[C] Both A and B

[D] None of the mentioned above

Correct Answer : Both A and B


Ques 76 Report Error

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

What will be the output?

 def f(x,y,z): 
      return x+ y+ z

 f(2,30,400)

[A] 432

[B] 24000

[C] 430

[D] No output

Correct Answer : 432


Ques 77 Report Error

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

What will be the output of the following Python code?

from numpy import random
x = random.randint(100) 
print(x)

[A] 56

[B] 26

[C] 40

[D] All of the mentioned above

Correct Answer : All of the mentioned above


Ques 78 Report Error

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

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)

[A] 9997

[B] 9999

[C] 9996

[D] None of the mentioned

Correct Answer : 9996


Ques 79 Report Error

निम्नलिखित में से कौन सा निर्णय लेने वाला कथन नहीं है:

Which of following is not a decision-making statement:

[A] if-elif statement

[B] for statement

[C] if -else statement

[D] if statement

Correct Answer : for statement


Ques 80 Report Error

NumPy का मतलब है?

NumPy stands for?

[A] Number in Python

[B] Numerical Python

[C] Numbering Python

[D] None of the above

Correct Answer : Numerical Python


Ques 81 Report Error

किसी if स्टेटमेंट में वैकल्पिक शर्त जोड़ने के लिए आप किस कीवर्ड का उपयोग करेंगे?

What keyword would you use to add an alternative condition to an if statement?

[A] else if

[B] elseif

[C] elif

[D] None of the above

Correct Answer : elif


Ques 82 Report Error

जब आप निम्नलिखित कोड निष्पादित करते हैं तो क्या त्रुटि होगी?

What error will occur when you execute the following code?

MANGO = APPLE

[A] Name error

[B] Syntax error

[C] Type error

[D] Value error

Correct Answer : Name error


Ques 83 Report Error

निर्माण में बयानों का निष्पादन एक स्थिति परीक्षण पर निर्भर करता है।

Execution of statements in construct depend on a condition test.

[A] Selection

[B] Sequence

[C] Iteration

[D] Repetition

Correct Answer : Selection


Ques 84 Report Error

NumPy में परिभाषित सबसे महत्वपूर्ण वस्तु एक N-आयामी सरणी प्रकार है जिसे कहा जाता है?

The most important object defined in NumPy is an N-dimensional array type called?

[A] narray

[B] ndarray

[C] nd_array

[D] darray

Correct Answer : ndarray


Ques 85 Report Error

निम्नलिखित में से कौन सा फ़ंक्शन कॉल करने का सही तरीका है?

Which one of the following is the right way to call a function?

[A] call function_name()

[B] function function_name()

[C] function_name()

[D] None of these

Correct Answer : function_name()


Ques 86 Report Error

निम्नलिखित में से कौन सा कथन असत्य है?

Which among the following statement is false?

[A] ndarray is also known as the axis array.

[B] In NumPy, dimensions are called axes.

[C] NumPy main objective is the homogeneous multidimensional array.

[D] ndaaray. dataitemSize is the buffer containing the actual elements of the array.

Correct Answer : ndarray is also known as the axis array.


Ques 87 Report Error

निम्नलिखित फलन का अध्ययन कीजिए: इस कोड का आउटपुट क्या होगा?

Study the following function: What will be the output of this code?

import math
abs(math.sqrt(36))

[A] error

[B] -6

[C] 6

[D] 6.0

Correct Answer : 6.0


Ques 88 Report Error

निम्न में से कौन ufuncs में प्रयुक्त बफर के आकार को सेट करता है?

Which of the following sets the size of the buffer used in ufuncs?

[A] bufsize(size)

[B] setsize(size)

[C] setbufsize(size)

[D] size(size)

Correct Answer : setbufsize(size)


Ques 89 Report Error

NumPy में फोरट्रान ऑर्डर क्या है?

What is fortran order in NumPy?

[A] Reshaping regarding row major order

[B] Reshaping regarding column major order

[C] Converting to 1D array

[D] All of the above

Correct Answer : Reshaping regarding column major order


Ques 90 Report Error

NumPy ऐरे की विशेषताएँ क्या हैं?

What are the attributes of NumPy array?

[A] Shape, dtype, ndim

[B] Objects, type, list

[C] Objects, non-vectorization

[D] Unicode and shape

Correct Answer : Shape, dtype, ndim


Ques 91 Report Error

NumPy किसके द्वारा विकसित किया गया है?

NumPy developed by?

[A] Guido Van Rosum

[B] Travis Oliphant

[C] Wes McKinney

[D] Jim Hugunin

Correct Answer : Travis Oliphant


Ques 92 Report Error

uint32 डेटा प्रकार की सीमा क्या है?

What is the range of uint32 data type?

[A] (-2147483648 to 2147483647)

[B] (-32768 to 32767)

[C] (0 to 65535)

[D] (0 to 4294967295)

Correct Answer : (0 to 4294967295)


Ques 93 Report Error

हम सिस्टम में numPy कैसे स्थापित करते हैं?

How we install numPy in system?

[A] install numpy

[B] pip install python numpy

[C] pip install numpy

[D] pip install numpy python

Correct Answer : pip install numpy


Ques 94 Report Error

NumPy मॉड्यूल कैसे इम्पोर्ट करें?

How to import NumPy module?

[A] Import numpy

[B] Import numpy as my_numpy

[C] Import numpy as np

[D] All of the above

Correct Answer : All of the above


Ques 95 Report Error

पायथन उपयोग करता है:

Python uses:

[A] compiler

[B] assembler

[C] interpreter

[D] Linker only

Correct Answer : interpreter


Ques 96 Report Error

NumPy मॉड्यूल कैसे इम्पोर्ट करें?

How to import NumPy module?

[A] Import numpy

[B] Import numpy as my_numpy

[C] Import numpy as np

[D] All of the above

Correct Answer : All of the above


Ques 97 Report Error

पायथन उपयोग करता है

Python uses:

[A] compiler

[B] assembler

[C] interpreter

[D] Linker only

Correct Answer : interpreter


Ques 98 Report Error

सीएसवी का मतलब है

csv stands for

[A] comma string values

[B] comma sequence values

[C] comma separated values

[D] comma segregated values

Correct Answer : comma separated values


Ques 99 Report Error

Python में ____ प्रकार के फंक्शन/मैथेड है।

There are ______ Functions/Method in Python Programming.

[A] 1

[B] 2

[C] 3

[D] 4

Correct Answer : 2


Ques 100 Report Error

डिफ़ॉल्ट रूप से, पायथन स्रोत फ़ाइलों को _______ में एन्कोडेड माना जाता है।

By default, Python source files are treated as encoded in _______.

[A] UTF-8

[B] UTF-16

[C] Both of the correct

[D] Both of the wrong

Correct Answer : UTF-8


Related Papers
Latest Updates