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
Set
25
See Explanation !
1
The most important object defined in NumPy is an N-dimensional array type called?
NumPy में परिभाषित सबसे महत्वपूर्ण एक ऑब्जेक्ट न डायमेंशन ऐरे का प्रकार है जिसे कहा जाता है?
ndarray
narray
nd_array
darray
Next Question
25
See Explanation !
2
What is the return value of trunc()?
Trunc() का रिटर्न वैल्यू क्या है?
int
bool
float
None
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? a={'B':5,'A':9,'C':7} print(sorted(a))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={'B':5,'A':9,'C':7} print(sorted(a))
[‘A’,’B’,’C’]
[‘B’,’C’,’A’]
[5,7,9]
[9,5,7]
Previous Question
Next Question
25
See Explanation !
4
Choose the correct function declaration of fun1() so that we can execute the following two function calls successfully. fun1(25, 75, 55) fun1(10, 20)
fun1() का सही फ़ंक्शन घोषणापत्र चुनें ताकि हम निम्नलिखित दो फ़ंक्शन कॉल सफलतापूर्वक निष्पादित कर सकें fun1(25, 75, 55) fun1(10, 20)
def fun1(**kwargs)
def fun1(args*)
No, it is not possible in Python
def fun1(*data)
Previous Question
Next Question
25
See Explanation !
5
What is the output of >>>float('12.6')
>>>float('12.6') का आउटपुट क्या है?
12.6
'12.6'
12
syntax error
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question
Next Question
25
See Explanation !
7
Which of the following is not a logical operator?
निम्नलिखित में से कौन एक लॉजिकल ऑपरेटर नहीं है?
or
equal
and
not
Previous Question
Next Question
25
See Explanation !
8
Give the output of : print((range(4)))
print((range(4))) का आउटपुट क्या होगा
range(0,5)
range(1,5)
range(1,4)
range(0,4)
Previous Question
Next Question
25
See Explanation !
9
Which statement is correct about Isalnum().
Isalnum () के बारे में कौन सा कथन सही है।
Method returns true if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns false
Method returns False if all characters in the string are alphanumeric numbers(either alphabets numbers). If not,it returns True
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code? x = 'abcd' for i in range(len(x)): print(i.upper())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(i.upper())
a b c d
0 1 2 3
error
1 2 3 4
Previous Question
Next Question
25
See Explanation !
11
Which one the following is a mutable data type ?
निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?
set
tuple
string
None of These
Previous Question
Next Question
25
See Explanation !
12
How do you import NumPy in Python?
आप Python में NumPy कैसे इम्पोर्ट करते हैं?
import numpy as np
import numPy
from python import numpy
using numpy
Previous Question
Next Question
25
See Explanation !
13
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday.weekday())
यदि सिस्टम दिनांक 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.weekday())
6
1
0
7
Previous Question
Next Question
25
See Explanation !
15
Python converts the source code into an intermediate form called ____ .
पायथन स्रोत कोड को एक मध्यवर्ती रूप में परिवर्तित करता है जिसे ____ कहा जाता है।
Source-code
bytecode
human-readable code
None of these
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? print("abc DEF".capitalize())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abc DEF".capitalize())
abc def
ABC DEF
Abc def
Abc Def
Previous Question
Next Question
25
See Explanation !
17
Which of the following modules need to be imported to handle date time computations in Python?
दिनांक समय गणनाओं को संभालने के लिए निम्नलिखित में से किस मॉड्यूल को आयात करने की आवश्यकता है?
datetime
date
time
timedate
Previous Question
Next Question
25
See Explanation !
18
_______ method converts all uppercase characters to lowercase and vice versa of the given string, and returns it.
_______ विधि सभी अपरकेस वर्णों को दिए गए स्ट्रिंग के लोअरकेस और इसके विपरीत में परिवर्तित करती है, और इसे वापस करती है।
swapcase
uppertolower()
lowertoUpper()
None of these
Previous Question
Next Question
25
See Explanation !
19
ndarray is also known as the ____ array.
ndarray को ____ सरणी के रूप में भी जाना जाता है।
Array
alias
variable
None of these
Previous Question
Next Question
25
See Explanation !
20
How can you perform element-wise addition of two NumPy arrays arr1 and arr2?
आप दो NumPy सरणियों arr1 और arr2 को एलिमेंट वाइज कैसे जोड़ सकते हैं?
arr1 + arr2
add(arr1, arr2)
arr1.add(arr2)
elementwise_add(arr1, arr2)
Previous Question
Next Question
25
See Explanation !
21
What is the value of the expression 100 // 25 ?
व्यंजक 100//25 का मान क्या है?
4
4.0
2.5
None of These
Previous Question
Next Question
25
See Explanation !
22
Dictionary has:
शब्दकोश में है:
Sequence value pair
Key value pair
Tuple value pair
Record value pair
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following ? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np print(np.maximum([2, 3, 4], [1, 5, 2]))
[1 5 2]
[1 5 4]
[2 3 4]
[2 5 4]
Previous Question
Next Question
25
See Explanation !
24
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code snippet? for i in [1, 2, 3, 4][::-1]: print (i)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? for i in [1, 2, 3, 4][::-1]: print (i)
1 2 3 4
4 3 2 1
error
none of the mentioned
Previous Question