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 is the proper syntax to check if a particular element is present in a list?
निम्नलिखित में से कौन सा उचित वाक्यविन्यास यह जांचने के लिए है कि कोई विशेष तत्व किसी सूची में मौजूद है या नहीं?
if ele in list
if not ele not in list
Both of the above
None of these
Next Question
25
See Explanation !
2
Which of the following is the basic I/O connections in file ?
फ़ाइल में निम्न में से कौन सा बुनियादी I/O कनेक्शन है?
Standard Input
Standard Output
Standard Errors
All of the mentioned
Previous Question
Next Question
25
See Explanation !
3
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question
Next Question
25
See Explanation !
4
The brain of computer system is
कंप्यूटर सिस्टम का मस्तिष्क है
RAM
CPU
ROM
Control Unit
Previous Question
Next Question
25
See Explanation !
5
Given a string s="Welcome", which of the following code is incorrect ?
एक स्ट्रिंग s="Welcome" दी गई है, निम्नलिखित में से कौन सा कोड गलत है?
print s[0]
print s.lower()
s[1]='r'
print s.strip()
Previous Question
Next Question
25
See Explanation !
6
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम सूची सूचकांक के बाहर आइटम तक पहुंचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
List is not defined
List index out of range
List index out of bound
None of the above
Previous Question
Next Question
25
See Explanation !
7
Which statement can be use to swap the values of an and b
a और b के मानों को स्वैप करने के लिए किस कथन का उपयोग किया जा सकता है?
a=b,b=a
a,b=b,a
a=b;b=a
a=b and b=a
Previous Question
Next Question
25
See Explanation !
8
____ is used to close a file object(fp).
____ का उपयोग फ़ाइल ऑब्जेक्ट(fp) को बंद करने के लिए किया जाता है।
close.fp
fp.close()
file.exit()
None of these
Previous Question
Next Question
25
See Explanation !
9
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code snippet? print('abcdef12'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcdef12 '.replace (' cd ', '12 '))
ab12ef12
abcdef12
ab12efcd
none of the mentioned
Previous Question
Next Question
25
See Explanation !
11
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
a
b
A
B
Previous Question
Next Question
25
See Explanation !
12
Which of the following is an invalid statement in python.
निम्नलिखित में से कौन सा पायथन मे इनवैलिड स्टेटमेन्ट है ।
abc=2,00,000
a,b,c=200,300,400
a_b_c= 2,00,000
abc=200 300 400
Previous Question
Next Question
25
-d2)-">
See Explanation !
-d2)-" target="_blank">
13
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
-d2)-" target="_blank">निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
14
The result of abs() is equal to math.fabs()?
क्या abs() फंक्शन math.fabs() के बराबर है?
Yes
No
Can't say
None of these
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? import random print(random.randrange(0,91,5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(0,91,5))
10
18
79
95
Previous Question
Next Question
25
See Explanation !
16
Which of the statements about modules is false?
मॉड्यूल के बारे में कौन से कथन गलत हैं?
In the “from-import" form of import, identifiers beginning with two underscores are private and aren't imported.
dir() built-in function monitors the items in the namespace of the main module.
In the "from-import" form of import, all identifiers regardless of whether they are private or public are imported.
When a module is loaded, a compiled version of the module with file extension .pyc is automatically produced.
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? i = 2 while True: if i%3 == 0: break print(i) i += 2
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 2 जबकि सही: यदि i%3 == 0: break print(i) i = 2
2 4 6 8 10 …
2 4
2 3
error
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? example = "helle" print(example.find("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.find("e"))
Error
-1
1
0
Previous Question
Next Question
25
See Explanation !
19
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 !
20
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 !
21
The errors that can be pointed out by the complier are.
अनुपालनकर्ता द्वारा बताई जा सकने वाली त्रुटियां हैं।
Semantic errors
Syntax errors
Logical errors
All of the above
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.rfind("e"))
-1
4
3
1
Previous Question
Next Question
25
See Explanation !
23
Which of the following language is understood by computer ?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
Machine language
Assembly language
High-level language
None of the above
Previous Question
Next Question
25
See Explanation !
24
What will be the value of the following Python expression? print(float(4+int(2.39)%2))
निम्नलिखित पायथन एक्सप्रेशन का मान क्या होगा? print(float(4 int(2.39 )%2))
5.0
5
4.0
4
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following Python code? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} b={4:"D",5:"E"} a.update(b) print(a)
{1: ‘A’, 2: ‘B’, 3: ‘C’}
Method update() doesn’t exist for dictionaries
{1: 'A', 2: 'B', 3: 'C', 4: 'D', 5: 'E'}
{4: ‘D’, 5: ‘E’}
Previous Question