Menu mobile
Home
PYTHON
Python Tutorial
Program Example
Interview Questions
JAVA
Java Tutorial
Program Example
Interview Questions
C Language
C Tutorial
Program Example
Interview Questions
Web Design
HTML
CSS
Java Script
PHP
Assignment
MS Office
HTML
CSS
Java Script
JQuery
AngularJs
QUIZ ON : PYTHON - NUMPY BASICS
NUMPY BASICS
00:00:00
English
Hindi
Question No# :
01
Which of the following functions that build the abstract data type ?
Which of the following functions that build the abstract data type ?
A.
Constructors
Constructors
B.
Destructors
Destructors
C.
recursive
recursive
D.
Nested
Nested
Question No# :
02
Which of the following functions that retrieve information from the data type?
Which of the following functions that retrieve information from the data type?
A.
Constructors
Constructors
B.
Selectors
Selectors
C.
Selectors
Selectors
D.
Selectors
Selectors
Question No# :
03
<p>What is the output of the following code ?</p><pre>import numpy as np<br>y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]])<br>print(y.ndim)</pre>
<p>निम्नलिखित कोड का परिणाम क्या है ?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]])<br>print(y.ndim)</pre>
A.
1
1
B.
2
2
C.
3
3
D.
0
0
Question No# :
04
What is the purpose of zeros() function used in NumPy array ?
NumPy सरणी में उपयोग किए जाने वाले शून्य () फ़ंक्शन का उद्देश्य क्या है?
A.
To make a Matrix with all diagonal
element 0
To make a Matrix with all diagonal
element 0
B.
To make a Matrix with first row 0
To make a Matrix with first row 0
C.
To make a Matrix with all elements 0
To make a Matrix with all elements 0
D.
None of the above
None of the above
Question No# :
05
<p>What is the output of the following code ?</p><pre>import numpy as np<br>a = np.array([[1,2,3]])<br>print(a.shape)</pre>
<p>निम्नलिखित कोड का परिणाम क्या है ?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>a = np.array([[1,2,3]])<br>print(a.shape)</pre>
A.
(2,3)
(2,3)
B.
(3,1)
(3,1)
C.
(1,3)
(1,3)
D.
None of These
None of These
Question No# :
06
<p>What will be output for the following code ?</p><pre>import numpy as np<br>a = np.array([[1, 2, 3],[0,1,4],[11,22,33]])<br>print (a.size)</pre><div><br></div>
<p>निम्नलिखित कोड के लिए आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>a = np.array([[1, 2, 3],[0,1,4],[11,22,33]])<br>print (a.size)</pre>
A.
1
1
B.
3
3
C.
9
9
D.
4
4
Question No# :
07
<p>What will be the output of the following ?</p><pre>import numpy as np<br>a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]])<br>print(a[2,2])</pre>
<p>निम्नलिखित का आउटपुट क्या होगा?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>a = np.array([[ 1,2,3,4], [5,6,7,8], [9,10,11,12]])<br>print(a[2,2])</pre>
A.
7
7
B.
11
11
C.
10
10
D.
8
8
Question No# :
08
NumPY stands for?
NumPY का मतलब है?
A.
Numbering Python
Numbering Python
B.
Number in Python
Number in Python
C.
Numerical Python
Numerical Python
D.
Number for Python
Number for Python
Question No# :
09
<p>What is the output of the following code?</p><pre>import numpy as np<br>a = np.array([1,2,3,5,8])<br>b = np.array([0,1,5,4,2])<br>c = a + b<br>c = c*a<br>print (c[2])</pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा ?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>a = np.array([1,2,3,5,8])<br>b = np.array([0,1,5,4,2])<br>c = a + b<br>c = c*a<br>print (c[2])</pre>
A.
6
6
B.
24
24
C.
0
0
D.
None of these
None of these
Question No# :
10
<p>What will be the output of the following ?</p><pre>import numpy as np<br>a = np.array( [2, 3, 4, 5] )<br>b = np.arange(4)<br>print(a+b)</pre>
<p>निम्नलिखित कोड का आउटपुट क्या होगा ?</p><pre style="font-size: 12.6px; letter-spacing: 0.14px;">import numpy as np<br>a = np.array( [2, 3, 4, 5] )<br>b = np.arange(4)<br>print(a+b)</pre>
A.
[2 3 4 5]
[2 3 4 5]
B.
[3 4 5 6]
[3 4 5 6]
C.
[1 2 3 4]
[1 2 3 4]
D.
[2 4 6 8]
[2 4 6 8]
Previous
1
Next
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz