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
CSS
Javascript
Python
Practical Questions
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
Set
25
See Explanation !
1
What will be the output of the following code? f=open("demo.txt","r") print(f.tell())
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 01 HOURS 03 MINUTES 46 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
1
2
-1
0
Next Question
25
See Explanation !
2
Function range(3) will yield an iteratable sequence like
फंक्शन रेंज(3) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[0, 1, 2]
[0, 1, 2, 3]
[1, 2, 3]
[0, 2]
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
The function random.randint(4) can return only one of the following values. Which?
फ़ंक्शन random.randint (4) निम्न में से केवल एक वैल्यू रिटर्न कर सकता है। कौन से है ?
4
3.4
error
5
Previous Question
Next Question
25
See Explanation !
5
If a is a dictionary with some key-value pairs, what does a.popitem() do?
यदि कुछ की-वैल्यू वाले पेअर के साथ एक ड़िक्शनरी है,तो a.popitem () क्या करता है?
Removes an arbitrary element
Removes all the key-value pairs
Removes the key-value pair for the key given as an argument
Invalid method for dictionary
Previous Question
Next Question
25
See Explanation !
6
Which of the following methods is not a string method in Python?
पायथन में निम्नलिखित में से कौन सी विधि स्ट्रिंग विधि नहीं है?
capitalize()
startswith()
pop()
find()
Previous Question
Next Question
25
See Explanation !
7
Which of the following are valid string manipulation functions in python?
पायथन में मान्य स्ट्रिंग हेरफेर फ़ंक्शन निम्नलिखित में से कौन से हैं?
count()
upper()
strip()
All the above
Previous Question
Next Question
25
See Explanation !
8
What does the function re.match do?
फ़ंक्शन re.match क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned
Previous Question
Next Question
25
See Explanation !
9
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
10
What is the result of the following operation? print(3%7)
निम्नलिखित ऑपरेशन का परिणाम क्या है? प्रिंट(3%7)
4
3
2
1
Previous Question
Next Question
25
See Explanation !
11
Correct syntax of file.writelines is?
File.writelines का सही वाक्यविन्यास है?
file.writelines(sequence)
fileObject.writelines()
fileObject.writelines(sequence)
none of the mentioned
Previous Question
Next Question
25
See Explanation !
12
What will be the output of the following code? list1=[2,33,222,14,25] print(list1[-1])
निम्नलिखित कोड का आउटपुट क्या होगा? list1=[2,33,222,14,25] print(list1[-1])
2
33
14
25
Previous Question
Next Question
25
See Explanation !
13
How can you import NumPy in a Python script?
आप Python स्क्रिप्ट में NumPy को कैसे इम्पोर्ट कर सकते हैं?
import numpy
import np
from math import numpy
import numPy as np
Previous Question
Next Question
25
See Explanation !
14
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
Previous Question
Next Question
25
See Explanation !
15
Which among the following list of operators has the highest precedence? +, -, **, %, /, <<, >>, |
ऑपरेटरों की निम्नलिखित सूची में से किसकी सर्वोच्च प्राथमिकता है? , -, **, %, /, <<, >>, |
<<
**
|
%
Previous Question
Next Question
25
See Explanation !
16
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 !
17
Which of the following is an invalid variable?
निम्नलिखित में से कौन सा एक अमान्य चर है?
my_string_1
1st_string
foo
_myvar
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? print("ccdcddcd".find("c"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("ccdcddcd ".find (" c "))
4
0
Error
True
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? print('ab'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('ab'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
20
Which of the following data structures is returned by the functions globals() and locals()?
निम्नलिखित में से कौन सा डेटा स्ट्रक्चर फंक्शन ग्लोबल्स () और लोकल लोगों () द्वारा रिटर्न की जाती है?
list
set
dictionary
tuple
Previous Question
Next Question
25
See Explanation !
21
What will the following code output? a=55 | b=55 | print( a is not b)
निम्नलिखित कोड आउटपुट क्या होगा? a=55 | b=55 | print( a b नहीं है)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
22
The _____ symbol is used at the beginning of a flow chart.
फ्लो चार्ट की शुरुआत में _____ प्रतीक का उपयोग किया जाता है।
Oval or Pill Shape
Rectangle
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd', 0))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd ', 0))
[‘abcdefcdghcd’]
‘abcdefcdghcd’
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
25
Which of the following expressions results in an error?
निम्नलिखित में से किस अभिव्यक्ति के परिणामस्वरूप एक त्रुटि होती है?
float('10')
int('10')
float('10.8')
int('10.8')
Previous Question