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 6
25
See Explanation !
1
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Next Question
25
See Explanation !
2
What will be the output of the following ? import numpy as np a = np.arange(5,1) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(5,1) print(a)
[ ]
[1 2 3 4 5]
[5 4 3 2 1]
[1 2 3 4]
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following ? import numpy as np a = np.arange(1,3,.5) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,3,.5) print(a)
[1 2 3]
[1. 1.5 2. 2.5]
[1. 1.5 2. 2.5 3]
[1 1.5 2 2.5 3]
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following ? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4]) b=np.array([3,5]) c=a*b print(c)
[ 2 4 3 5]
[ 6 20]
[ 6 12 10 20]
26
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=np.array([3,5]) c=a+b print(c)
[2 4 1 3 5 ]
[5 9 1]
15
ValueError
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a a[1]=3 print(b)
[2 4 1]
[3 4 1]
[2 3 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following ? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,4,1]) b=a.copy() a[1]=3 print(b
[2 4 1]
[2 3 1]
[3 4 1]
[2 4 3]
Previous Question
Next Question
25
See Explanation !
8
NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है
Indexed
Sliced
Iterated
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
9
Using ndim we can find
ndim का उपयोग करके हम पा सकते हैं
We can find the dimension of the array
Size of array
Operational activities on Matrix
None of the mentioned above
Previous Question
Next Question
25
See Explanation !
10
What will be the output of following Python code? import numpy as np a = np.array([(10,20,30)]) print(a.itemsize)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([(10,20,30)]) print(a.itemsize)
10
9
4
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
11
Numpy developed by?
Numpy किसके द्वारा विकसित किया गया है?
Guido van Rossum
Travis Oliphant
Wes McKinney
Jim Hugunin
Previous Question
Next Question
25
See Explanation !
12
Which of the following Numpy operation are correct?
निम्नलिखित में से कौन सा Numpy ऑपरेशन सही है?
Mathematical and logical operations on arrays.
Fourier transforms and routines for shape manipulation.
Operations related to linear algebra.
All of the above
Previous Question
Next Question
25
See Explanation !
13
The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?
ndarray
narray
nd_array
darray
Previous Question
Next Question
25
See Explanation !
14
What is a correct syntax to create a NumPy array?
NumPy array बनाने के लिए सही सिंटैक्स क्या है?
np.array([4,5,6])
np.create_array([4,5,6])
np.createArray([4,5,6])
np.numpyArray([4,5,6])
Previous Question
Next Question
25
See Explanation !
15
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
16
What is a correct syntax to check the number of dimensions in an array?
ऐरे में डायमेंशन की संख्या की जांच करने के लिए सही सिंटैक्स क्या है?
np.ndim(array_name)
array_name.ndim()
np.dim(array_name)
array_name.dim
Previous Question
Next Question
25
See Explanation !
17
What is a correct syntax to print the first item of an array?
किसी ऐरे के पहले आइटम को प्रिंट करने के लिए सही सिंटैक्स क्या है?
print(arr[1])
print(arr,0)
print(arr,1)
None of These
Previous Question
Next Question
25
See Explanation !
18
What is a correct syntax to print the number 8 from the array below: arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
नीचे दिए गए सरणी से संख्या 8 को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
print(arr[3,0])
print(arr[1,2])
print(arr[7,2])
None of The Above
Previous Question
Next Question
25
See Explanation !
19
What is a correct syntax to print the numbers [3, 4, 5] from the array below: arr = np.array([1,2,3,4,5,6,7])
नीचे दी गई सारणी से संख्या [3, 4, 5] को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([1,2,3,4,5,6,7])
print(arr[2:4])
print(arr[2:5])
print(arr[2:6])
print(arr[3:6])
Previous Question
Next Question
25
See Explanation !
20
Which syntax would print the last 3 numbers from the array below: arr = np.array([1,2,3,4,5,6,7])
नीचे दिए गए ऐरे से अंतिम 3 नंबर कौन सा सिंटैक्स प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[3:])
print(arr[3])
print(arr[:3])
print(arr[4:])
Previous Question
Next Question
25
See Explanation !
21
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
22
which one is the correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.float([1,2,3,4])
arr=np.array([1,2,3,4]).toFloat()
arr=np.array([1,2,3,4],dtype='float')
arr=np.farray([1,2,3,4])
Previous Question
Next Question
25
See Explanation !
23
What is a correct syntax to create an array of type float?
फ्लोट प्रकार की सरणी बनाने के लिए सही सिंटैक्स क्या है?
arr=np.array([1,2,3,4],dtype='float')
arr=np.array([1,2,3,4],dtype='f')
arr=np.array([1,2,3,4],dtype=float)
All of the above
Previous Question
Next Question
25
See Explanation !
24
In NumPy, what does the SHAPE of an array mean?
NumPy में, सरणी के आकार का क्या अर्थ है?
the shape is the number of rows
the shape is the number of columns
the shape is the number of element in each dimension
Total number of elements in array
Previous Question
Next Question
25
See Explanation !
25
What is a correct method to join two or more arrays?
दो या दो से अधिक सरणियों में शामिल होने का सही तरीका क्या है?
np.concatenate()
np.join()
np.array_join()
np.join_array()
Previous Question