Q1.
NumPy का मतलब है?
NumPy stands for?
A.
Number in Python
B.
Numerical Python
C.
Numbering Python
D.
None of the above
View Answer
Correct Answer: Numerical Python
Q2.
किसी 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
View Answer
Correct Answer: elif
Q3.
जब आप निम्न कोड निष्पादित करते हैं तो क्या त्रुटि होगी?
What error will occur when you execute the following code?MANGO = APPLE
A.
Name error
B.
Syntax error
C.
Type error
D.
Value error
View Answer
Correct Answer: Name error
Q4.
Python प्रोग्राम के शुरू से अंत तक एक के बाद एक Statement को Execute करता है। यह है एक
Python executes one statement after another from beginning to the end of the program. This is a
A.
Selection Construct
B.
Sequential Construct
C.
Iteration Construct
D.
None of the above
View Answer
Correct Answer: Sequential Construct
Q5.
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
View Answer
Correct Answer: ndarray
Q6.
निम्न में से कौन सा फ़ंक्शन कॉल करने का सही तरीका है?
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
View Answer
Correct Answer: function_name()
Q7.
पायथन में स्ट्रिंग ______ का अनुक्रम है
String in python are sequence of ______
A.
ASCII code
B.
unicode
C.
balance code
D.
mode code
View Answer
Correct Answer: unicode
Q8.
निम्न में से कौन सा अपरिवर्तनीय हैं।
Which of the following are immutable.
A.
Numbers
B.
string
C.
tupple
D.
all of these
View Answer
Correct Answer: all of these
Q9.
निम्नलिखित का आउटपुट / output of the followingLst1=[1,4,9]
lst1*3
A.
[1,4,9,1,4,9,1,4,9]
B.
[1,4,9]3
C.
[1,1,1,4,4,4,9,9,9]
D.
[1,3,4,9]
View Answer
Correct Answer: [1,4,9,1,4,9,1,4,9]
Q10.
निम्नलिखित कोड के लिए आउटपुट क्या होगा?
What will be output for the following code?import numpy as np
ary = np.array([1,2,3,5,8])
ary = ary + 1
print (ary[1])
View Answer
Correct Answer: 3
Q11.
List में numpy array कैसे परिवर्तित करें?
How to convert numpy array to list?
A.
array.list()
B.
array.list
C.
list.array()
D.
list(array)
View Answer
Correct Answer: array.list()
Q12.
NumPy किसके द्वारा विकसित किया गया है?
NumPy developed by?
A.
Guido Van Rosum/ गुइडो वैन रोसुम
B.
Travis Oliphant /ट्रैविस ओलीफंट
C.
Wes McKinney/ वेस मैककिनी
D.
Jim Hugunin /जिम ह्यूगुनिन
View Answer
Correct Answer: Travis Oliphant /ट्रैविस ओलीफंट
Q13.
हम Python में NumPy सरणी के आकार को कैसे बदल सकते हैं?
How we can change the shape of the NumPy array in python?
A.
By shape()
B.
By reshape()
C.
By ord()
D.
By change()
View Answer
Correct Answer: By reshape()
Q14.
size() function numpy में क्या करता है?
What does size() function do in numpy?
A.
counts the number of elements
B.
estimates the array of maximum numbers
C.
finds shape of array
D.
code is wrong
View Answer
Correct Answer: counts the number of elements
Q15.
numpy array के प्रकार को खोजने के लिए?
How to find the type of numpy array?
A.
type(array)
B.
dtype
C.
objects.type(array)
D.
numpy(type)
View Answer
Correct Answer: dtype
Q16.
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
View Answer
Correct Answer: All of the above
Q17.
पायथन उपयोग करता है:
Python uses:
A.
compiler
B.
assembler
C.
interpreter
D.
Linker only
View Answer
Correct Answer: interpreter
Q18.
निम्नलिखित में से कौन सा पायथन में गलत फाइल हैंडलिंग मोड है
Which of the following is incorrect file handling mode in Python
A.
wb+
B.
ab
C.
xr
D.
ab+
View Answer
Correct Answer: xr
Q19.
Python 3 में यूजर से इनपुट स्वीकार करने के लिए कौन से फंक्शन का उपयोग किया जाता है
In Python 3, which functions are used to accept input from the user
A.
input()
B.
raw_input()
C.
rawinput()
D.
string()
View Answer
Correct Answer: input()
Q20.
उपरोक्त पायथन कोड का आउटपुट क्या होगा?
What will be the output of above Python code?d1={"abc":5,"def":6,"ghi":7}
print(d1[0])
A.
abc
B.
5
C.
{"abc":5}
D.
Error
View Answer
Correct Answer: Error