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
Which of the following functions converts a string to a float in python ?
निम्नलिखित में से कौन सा कार्य अजगर में एक स्ट्रिंग को एक फ्लोट में परिवर्तित करता है?
int(x [,base])
long(x [,base])
float(x)
str(x)
Next Question
25
See Explanation !
2
Shape() function in Numpy array is used to
Numpy सरणी में SHAPE () फ़ंक्शन का उपयोग किसके लिए किया जाता है?
Find the shape of the array
change the shape of array
Display elements
None of these
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? matrix = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? मैट्रिक्स = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
1 2 3 4
4 5 6 7
1 3 8 12
2 5 9 13
Previous Question
Next Question
25
See Explanation !
4
Which of the following statements are used in Exception Handling in Python?
पायथन में एक्सेप्शन हैंडलिंग में निम्नलिखित में से कौन सा कथन उपयोग किया जाता है?
try
except
finally
All of the above
Previous Question
Next Question
25
See Explanation !
5
are set of procedures defined in library to find the minimum value function or the root of an equation.
न्यूनतम मान फ़ंक्शन या समीकरण के मूल को खोजने के लिए लाइब्रेरी में परिभाषित प्रक्रियाओं का सेट हैं।
Optimisers
Pandas
scipy ()
None of these
Previous Question
Next Question
25
See Explanation !
6
_____ creates an uninitialized array of specified shape and dtype.
.....निर्दिष्ट शेप और dtype का एक अनइनीशिलाइज्ड ऐरे बनाता का है।
full
empty
init
None of these
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('xyy', -10, -1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', -10, -1))
2
0
1
error
Previous Question
Next Question
25
See Explanation !
8
Which statement is correct?
कौन सा कथन सही है?
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both are mutable
Both are immutable
Previous Question
Next Question
25
See Explanation !
9
Which of the following is equivalent to random.randrange(3)?
निम्नलिखित में से कौन random.randrange(3) के बराबर है?
range(3)
random.choice(range(0, 3))
random.shuffle(range(3))
random.select(range(3))
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will be the output of the following Python code? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={} a[2]=1 a[1]=[2,3,4] print(a[1][1])
[2,3,4]
3
2
An exception is thrown
Previous Question
Next Question
25
See Explanation !
12
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
13
The Pandas ______ method returns a new Data Prame.
पांडा की ______ विधि एक नया डेटा प्रैम बताती है।
dropna()
Pandas
read_csv()
None of these
Previous Question
Next Question
25
See Explanation !
14
It is a combination of Operators, Operands and Constants
यह ऑपरेटर्स, ऑपरेंड्स और कांस्टेंट्स का संयोजन है
Identifier
Expression
Syntax
Task
Previous Question
Next Question
25
See Explanation !
15
In Python, a variable may be assigned a value of one type, and then later assigned a value of a different type. This concept is known as
पायथन में, एक चर को एक प्रकार का मान असाइन किया जा सकता है, और फिर बाद में एक अलग प्रकार का मान असाइन किया जा सकता है। इस अवधारणा को........... के रूप में जाना जाता है
mutability
static typing
dynamic typing
immutability
Previous Question
Next Question
25
See Explanation !
16
What is the output of the following y='klmn' for i in range(len(y)): print(y)
निम्नलिखित कोड का परिणाम क्या है ? y='klmn' for i in range(len(y)): print(y)
klmn klmn klmn klmn
k
kkk
None of the these
Previous Question
Next Question
25
See Explanation !
17
What will the following code output? print(4 & 5)
निम्नलिखित कोड आउटपुट क्या होगा? print(4 & 5)
4
5
0
1
Previous Question
Next Question
25
See Explanation !
18
What is the output of below program ? def say(message, times =1): print(message * times) say("Hello") say("Word",5)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def say(message, times =1): print(message * times) say("Hello") say("Word",5)
Hello WordWordWordWordWord
Hello Word 5
Hello Word,Word,Word,Word,Word
Hello HelloHelloHelloHelloHello
Previous Question
Next Question
25
See Explanation !
19
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 !
20
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
21
To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
स्ट्रिंग 3 = "हैलो" से इंडेक्स 3 पर character को रिट्रीव करने के लिए हम किस कमांड को एक्सक्यूट करते हैं (multiple answers allowed)?
s[]
s.getitem(3)
s.__getitem__(3)
s.getItem(3)
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? x = 'abcd' for i in x: print(i) x.upper()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = x में i के लिए 'abcd ': print(i) x.upper ()
a B C D
a b c d
A B C D
error
Previous Question
Next Question
25
See Explanation !
23
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 !
24
Write the list comprehension to pick out only negative integers from a given list ‘l’.
दी गई लिस्ट। L ’से केवल नेगटिव इन्टिजर निकालने के लिए लिस्ट की समझ लिखें।
[x<0 in l]
[x for x<0 in l]
[x in l for x<0]
[x for x in l if x<0]
Previous Question
Next Question
25
See Explanation !
25
What will be the output of : print((-3)**2)
इसका आउटपुट क्या होगा: print((-3)**2)
-9
9
6
-6
Previous Question