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
What is the use of seek() method in files?
फाइलों में seek() फंक्शन का क्या उपयोग है?
sets the file's current position at the offset
sets the file's previous position at the offset
sets the file's current position within the file
None of these
Next Question
25
See Explanation !
2
If list1=[10,20,30], then operation list1*2 returns ____ .
यदि list1=[10,20,30], तो ऑपरेशन list1*2 ____ लौटाता है।
[10,20,30,10,20,30]
[20,40,60]
[10,20,30,20,40,60]
None
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
4
What is the output of following Python code? >>print(5*(2//3))
निम्नलिखित पायथन कोड का आउटपुट क्या है? >>print(5*(2//3))
3
3.3
0
error
Previous Question
Next Question
25
See Explanation !
5
What is the return type of following function ? def func1(): return 'mnp',22 print(type(func1()))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def func1(): return 'mnp',22 print(type(func1()))
List
Dictionary
String
Tuple
Previous Question
Next Question
25
See Explanation !
6
Which of the following are valid escape sequences in Python ?
पायथन में निम्नलिखित में से कौन से मान्य एस्केप सीक्वेंस हैं?
\n
\t
\\
All of the above
Previous Question
Next Question
25
See Explanation !
7
What is the output of the following program: print ("Hello World"[::-1])
निम्नलिखित प्रोग्राम का आउटपुट क्या है: PRINT (" Hello World "[::-1])
dlroW olleH
Hello Worl
D
error
Previous Question
Next Question
25
See Explanation !
8
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 !
9
Which of these in not a core data type in python?
इनमें से कौन सा पायथन में कोर डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
10
In the declaration, x = Circle (), x contains a _to Circle object. -
घोषणा में, x = Circle (), x में a_to Circle ऑब्जेक्ट है। -
dropna()
Reference
Optimisers
None of these
Previous Question
Next Question
25
See Explanation !
11
What is the output of the following program: i = 0 while i < 3: print (i) i=i+1 print (i+1)
निम्नलिखित प्रोग्राम का आउटपुट क्या है: i = 0 while i < 3: print (i) i=i+1 print (i+1)
0 2 1 3 2 4
0 1 2 3 4 5
Infinite loop
0 1 2 3
Previous Question
Next Question
25
See Explanation !
12
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 !
13
What is the output of the following? m=0 while m<5: m+=1 if m==3: break else: print(0)
निम्नलिखित का आउटपुट क्या है? m=0 while m<5: m+=1 if m==3: break else: print(0)
0 1 2 0
0 1 2
0 0 1 0 2
error
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? a=["Apple","Ball","Cobra"] a.sort(key=len) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=["Apple","Ball","Cobra"] a.sort(key=len) print(a)
[‘Apple’, ‘Ball’, ‘Cobra’]
[‘Ball’, ‘Apple’, ‘Cobra’]
[‘Cobra’, ‘Apple’, ‘Ball’]
Invalid syntax for sort()
Previous Question
Next Question
25
See Explanation !
15
What is the output of the following statement ? print ((2, 4) + (1, 5))
निम्नलिखित कोड का परिणाम क्या है ? print ((2, 4) + (1, 5))
(2 , 4), (4 , 5)
(3 , 9)
(2, 4, 1, 5)
Invalid Syntax
Previous Question
Next Question
25
See Explanation !
16
Which of the following will never be displayed on executing print(random.choice({0: 1, 2: 3}))?
निम्नलिखित में से कौन सा प्रिंट निष्पादित करने पर कभी प्रदर्शित नहीं होगा (random.choice ({0: 1, 2: 3}))?
0
1
KeyError: 1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
Which amongst this is not a jump statement ?
इनमें से कौन सा कथन जंप कथन नहीं है?
for
goto
continue
break
Previous Question
Next Question
25
See Explanation !
18
____ statement used for error checking. -
____ कथन त्रुटि की जाँच के लिए उपयोग किया जाता है। -
Assert
List
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following python code? from math import * floor(11.7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import * floor(11.7)
12
11
11.0
none of these
Previous Question
Next Question
25
See Explanation !
20
Which of the following statements is used to check if a file exists in Python?
निम्नलिखित में से किस फंक्शन का उपयोग यह जांचने के लिए किया जाता है कि कोई फ़ाइल पायथन में मौजूद है या नहीं?
file_exists()
exists_file()
os.path.exists()
check_file()
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def m(list): v = list[0] for e in list: if v < e: v = e return v values = [[3, 4, 5, 1], [33, 6, 1, 2]] for row in values: print(m(row), end = " ")
3 33
1 1
5 6
5 33
Previous Question
Next Question
25
See Explanation !
22
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 !
23
When we open file in append mode the file pointer is at the of the file?
जब हम फाइल को एपेंड मोड में खोलते हैं तो फाइल पॉइंटर फाइल के ____ पर होता है?
anywhere in between the file
End
beginning
second line of the file
Previous Question
Next Question
25
See Explanation !
24
The data structure which is a mutable ordered sequence of elements is called
डेटा संरचना जो तत्वों का एक परिवर्तनशील क्रमबद्ध अनुक्रम है, कहलाती है
Built in
List
Tuple
Derived data
Previous Question
Next Question
25
See Explanation !
25
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
True
False
1
Error
Previous Question