Syllabus
O Level
M1 R5: Information Technology Tools and Network Basics
Introduction to Computers
Office Automation Tools
Internet and Web Technologies
Networking Fundamentals
M2 R5: Web Designing and Publishing
HTML
CSS
Javascript
Web Hosting And Publishing
M3 R5: Programming and Problem Solving through Python
Introduction to Programming
Python Programming
Data Structures in Python
File Processing in Python
M4 R5: Internet of Things (IoT) and Its Applications
Introduction to IoT
IoT Architecture
IoT Applications
IoT Security and Challenges | Soft Skills
Courses
Under Graduate Courses
BA
BCA
B.COM
Post Graduate Courses
MCA
MBA
M.COM
MA
M.SC.(MATHS)
MSW
Institutional Courses
DCA
ADCA
DFA
DOAP
TALLY PRIME
JAVA
PYTHON
CCA
C Languages
Job Oriented Courses
Digital Marketing
Full Stack Development
Data Science
Cybersecurity and Ethical Hacking
Blockchain Development
Cloud Computing
Artificial Intelligence (AI) and Machine Learning
Government Courses
CCC
O LEVEL
A LEVEL
Mock Test
M1 R5: Information Technology Tools and Network Basics
M2 R5: Web Designing and Publishing
M3 R5: Programming and Problem Solving through Python
M4 R5: Internet of Things (IoT) and Its Applications
Old Papers
2025
New!
2024
New!
2023
New!
2022
New!
2021
New!
2020
New!
2019
New!
2018
New!
2017
New!
2016
New!
2015
New!
2014
New!
2013
New!
2012
New!
2011
New!
Assignments
HTML
New!
CSS
New!
Javascript
New!
Python
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
File Processing in Python
Set 7
25
See Explanation !
1
What is a correct method to split arrays?
सरणियों को विभाजित करने का सही तरीका क्या है?
array_split()
split()
split_array()
hstack() and vstack()
Next Question
25
See Explanation !
2
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])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np ary = np.array([1,2,3,5,8]) ary = ary + 1 print (ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
3
What will be output for the following code? import numpy as np a = np.array([1,2,3,5,8]) b = np.array([0,3,4,2,1]) c = a + b c = c*a print (c[2])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([1,2,3,5,8]) b = np.array([0,3,4,2,1]) c = a + b c = c*a print (c[2])
18
20
21
22
Previous Question
Next Question
25
See Explanation !
4
Regarding creating ndarray, choose the build in functions in numpy.
Ndarray बनाने के संबंध में, numpy में बिल्ड इन फ़ंक्शंस चुनें।
np.array()
np.zeros()
np.empty()
All of the above
Previous Question
Next Question
25
See Explanation !
5
What are the attributes of numpy array?
Numpy सरणी के गुण क्या हैं?
shape, dtype, ndim
objects, type, list
objects, non vectorization
Unicode and shape
Previous Question
Next Question
25
See Explanation !
6
What is zeros() function in numpy use to?
numpy उपयोग में zeros() फ़ंक्शन क्या है?
make a matrix with first column 0
make a matrix with all elements 0
make a matrix with diagonal elements 0
All of the above
Previous Question
Next Question
25
See Explanation !
7
How to import numpy module?
कैसे numpy मॉड्यूल आयात करने के लिए?
from numpy import *
import numpy
import numpy as my_numpy
All of above
Previous Question
Next Question
25
See Explanation !
8
What is the use of shape() in numpy?
numpy में shape() का उपयोग क्या है?
change in shape of array
reshaping of array
get the shape of the array
All of above
Previous Question
Next Question
25
See Explanation !
9
What does size attribute in numpy use to find?
numpy में numpy एट्रिब्यूट का क्या उपयोग है
Number of Rows and Column in array
Size of each items in array
Number of elements in array
Largest element of an array
Previous Question
Next Question
25
See Explanation !
10
Attribute of array determines
ऐरे के एट्रिब्यूट से क्या क्या पता कर सकते है
Size, shape
memory consumption
data type of array
All of these
Previous Question
Next Question
25
See Explanation !
11
Getting and setting the value of individual array elements:
पर्टिकुलर ऐरे एलिमेंट का मान प्राप्त करना और सेट करना
Indexing
Slicing
Reshaping
None of the above
Previous Question
Next Question
25
See Explanation !
12
Getting and setting smaller subarrays within a larger array
एक बड़े ऐरे से छोटे ऐरे को प्राप्त करना और सेट करना
Indexing
Slicing
Reshaping
None of the above
Previous Question
Next Question
25
See Explanation !
13
The number of axes in an ndarray is called its ___
एक ndarray में अक्षों की संख्या को उसका ___कहा जाता है।
rank
dtype
shape
None of these
Previous Question
Next Question
25
See Explanation !
14
NumPy arrays used over lists because
NumPy ऐरे का उपयोग लिस्ट पर किया जाता है क्योंकि
NumPy arrays have contiguous memory location
They are more speedy to work with
They are more convenient to deal with
All of the above
Previous Question
Next Question
25
See Explanation !
15
empty( ) function used to create a NumPy array which contained the values
empty() फ़ंक्शन का उपयोग NumPy सरणी बनाने के लिए किया जाता है जिसमें मान होते हैं
Filled with Zero
Filled with Blank space
Filled with random garbage value
Filled with One
Previous Question
Next Question
25
See Explanation !
16
What will be output for the following code ? import numpy as np a=np.array([2,3,4,5]) print(a.dtype)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,3,4,5]) print(a.dtype)
int32
int
float
none of these
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? len(["hello",2, 4, 6])
Error
6
4
3
Previous Question
Next Question
25
See Explanation !
18
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
19
What is the output of the following code? import numpy as np a=np.array([1,2,3,5,8]) b=np.array([0,3,4,2,1]) c=a+b c=c*a print(c[2])
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3,5,8]) b=np.array([0,3,4,2,1]) c=a+b c=c*a print(c[2])
10
21
12
28
Previous Question
Next Question
25
See Explanation !
20
What is the output of following code ? a = np.array([[1,2,3],[4,5,6]]) print(a.shape)
निम्नलिखित कोड का परिणाम क्या है? a = np.array([[1,2,3],[4,5,6]]) print(a.shape)
(2,3)
(3,2)
(1,1)
none of these
Previous Question
Next Question
25
See Explanation !
21
What will be output for the following code? import numpy as np a=np.array([[1,2,3],[0,1,4]]) print (a.size)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([[1,2,3],[0,1,4]]) print (a.size)
1
5
6
4
Previous Question
Next Question
25
See Explanation !
22
What is the use of the zeros() function in Numpy array in python ?
पायथन में Numpy ऐरे में zero() फंक्शन का उपयोग है
To make a Matrix with all element 0
To make a Matrix with all diagonal element 0
To make a Matrix with first row 0
None of the above
Previous Question
Next Question
25
See Explanation !
23
NumPY stands for:
NumPY का पूर्ण रूप है:
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
24
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])
निम्नलिखित कोड का परिणाम क्या है? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
25
what will be output for the following code? import numpy as np a=np.array([1,2,3,5,8]) print(a.ndim)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3,5,8]) print(a.ndim)
0
1
2
3
Previous Question