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
Which of the following is not a correct mode to open a file ?
फ़ाइल खोलने के लिए निम्न में से कौन सा सही मोड नहीं है?
ab
rw
a+
r+
Next Question
25
See Explanation !
2
NumPy arrays can be
NumPy ऐरे में क्या क्या हो सकता है
Indexed
Sliced
Iterated
All of the mentioned above
Previous Question
Next Question
25
See Explanation !
3
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 !
4
What will be the result of the expression: 15 and 10?
अभिव्यक्ति का परिणाम क्या होगा: 15 और 10?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
5
How many control statements python supports?
पाइथॉन कितने नियंत्रण कथनों का समर्थन करता है?
3
4
5
6
Previous Question
Next Question
25
See Explanation !
6
os.getlogin() function return?
os.getlogin() फ़ंक्शन क्या रिटर्न करेगा ?
Return the name of the user logged in to the terminal
Return the email of the user logged in to the terminal
Return the login time when user logged in to the terminal
None of the above
Previous Question
Next Question
25
See Explanation !
7
It defines the accessibility and the lifetime of a variable.
यह एक चर की सुलभता और जीवनकाल को परिभाषित करता है।
scope
Lifetime
keyword
None
Previous Question
Next Question
25
See Explanation !
8
_____ symbols are used to connect one box of flow chart to another.
_____ प्रतीकों का उपयोग प्रवाह चार्ट के एक बॉक्स को दूसरे से जोड़ने के लिए किया जाता है।
Flow Lines
circle
diamond
None of the above
Previous Question
Next Question
25
See Explanation !
9
Which is mean by 'a' mode when working with text file.
टेक्स्ट फ़ाइल के साथ काम करते समय a मोड से इसका मतलब है।
Append File
Write File
Read File
Read and Write both
Previous Question
Next Question
25
See Explanation !
10
Which of the following functions accepts only integers as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल इन्टिजर को आर्ग्यमन्ट के रूप में एक्सेप्ट करता है?
ord()
min()
chr()
any()
Previous Question
Next Question
25
See Explanation !
11
What will be the result of the expression 10 or 0 ?
अभिव्यक्ति 10 या 0 का परिणाम क्या होगा?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
12
Which of the following methods will create a copy of a list?
निम्नलिखित में से कौन सा तरीका एक सूची की एक प्रति बनाएगा?
copy = list(original)
copy = original[:]
copy = original.copy()
All of the above
Previous Question
Next Question
25
See Explanation !
13
What value does the following expression evaluate to ? x = 5 while x < 10: print(x, end='')
निम्नलिखित अभिव्यक्ति का मान क्या होगा? x = 5 while x < 10: print(x, end='')
Closed loop
one time loop
Infinite loop
Evergreen loop
Previous Question
Next Question
25
See Explanation !
14
Select the reserve keyword in Python
पायथन में रिजर्व कीवर्ड का चयन करें
else
import
print
all of these
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? for i in range(2.0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(2.0): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
16
If b is a dictionary, what does any(b) do?
यदि b एक डिक्शनरी है, तो कोई भी (b) क्या करता है?
Returns True if any key of the dictionary is true
Returns False if dictionary is empty
Returns True if all keys of the dictionary are true
Method any() doesn’t exist for dictionary
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? myList = [1, 2, 3, 4, 5, 6] for i in range(1, 6): myList[i - 1] = myList[i] for i in range(0, 6): print(myList[i], end = " ")
2 3 4 5 6 1
6 1 2 3 4 5
2 3 4 5 6 6
1 1 2 3 4 5
Previous Question
Next Question
25
See Explanation !
18
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Previous Question
Next Question
25
See Explanation !
19
What will be the output of : infile.read(2)
निम्नलिखित कोड का आउटपुट क्या होगा? infile.read(2)
Read two words from file
Read two line from file
Read two character / two bytes
count the number of '2' in file
Previous Question
Next Question
25
See Explanation !
20
What is default data type of NumPy Array
NumPy Array का डिफ़ॉल्ट डेटा प्रकार क्या है?
float
integer
string
boolean
Previous Question
Next Question
25
See Explanation !
21
Which of the following statements given below is/are true?
नीचे दिए गए कथनों में से कौन - सा कथन सही है/हैं?
Tuples have structure; lists have an order
Tuples are homogeneous, lists are heterogeneous.
Tuples are immutable, lists are mutable.
All of them
Previous Question
Next Question
25
See Explanation !
22
In which of the following data type, duplicate items are not allowed ?
निम्नलिखित में से किस डेटा प्रकार में डुप्लीकेट आइटम की अनुमति नहीं है?
List
Dictionary
Set
None of the Above
Previous Question
Next Question
25
See Explanation !
23
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
24
Which of the following is not true about an interpreter
निम्नलिखित में से कौन एक दुभाषिया के बारे में सही नहीं है
Interpreter generates an object program from the source program
Interpreter is a kind of translator
Interpreter analysis each source statement every time it is to be executed
None of the above
Previous Question
Next Question
25
See Explanation !
25
Which of the following is not a keyword in Python
पायथन में इनमें से कौन सा कीवर्ड कीवर्ड नहीं है
eval
assert
nonlocal
pass
Previous Question