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 Python code? def f(values): values[0] = 44 v = [1, 2, 3] f(v) print(v)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def f(values): values[0] = 44 v = [1, 2, 3] f(v) print(v)
[1, 44]
[1, 2, 3, 44]
[44, 2, 3]
[1, 2, 3]
Next Question
25
See Explanation !
2
Who developed Python ?
पायथन किसने विकसित किया?
Ritche
Guido Van Rossum
Bill Gates
Sunder Pitchai
Previous Question
Next Question
25
See Explanation !
3
Python code can run on variety of plateforms, it means Python is a _____language.
पायथन कोड विभिन्न प्रकार के प्लेटफॉर्म पर चल सकता है, इसका मतलब है कि पायथन एक _____भाषा है।
Graphical
Cross-plateform
Plateform Dependent
All of these
Previous Question
Next Question
25
See Explanation !
4
Which of the following defines what an object can do?
निम्नलिखित में से कौन परिभाषित करता है कि कोई वस्तु क्या कर सकती है?
Operating System
Compiler
Interface
None of these
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday)
यदि सिस्टम की तारीख 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday = datetime.date.today () print(tday)
18-06-2017
06-18-2017
2017-06-18
Error
Previous Question
Next Question
25
See Explanation !
6
The brain of computer system is
कंप्यूटर सिस्टम का मस्तिष्क है
RAM
CPU
ROM
Control Unit
Previous Question
Next Question
25
See Explanation !
7
_______ method converts all uppercase characters to lowercase and vice versa of the given string, and returns it.
_______ विधि सभी अपरकेस वर्णों को दिए गए स्ट्रिंग के लोअरकेस और इसके विपरीत में परिवर्तित करती है, और इसे वापस करती है।
swapcase
uppertolower()
lowertoUpper()
None of these
Previous Question
Next Question
25
See Explanation !
8
Which of the following function of dictionary gets all the keys from the dictionary
निम्नलिखित में से डिक्शनरी का कौन सा फ़ंक्शन डिक्शनरी से सभी की निकालने के लिए किया जाता है
getkeys()
key()
keys()
none of the mentioned
Previous Question
Next Question
25
See Explanation !
9
Which one of the following is incorrect?
निम्नलिखित में से कौन सा गलत है?
The variables used inside function are called local variables.
The local variables of a particular function can be used inside other functions, but these cannot be used in global space.
The variables used outside function are called global variables.
In order to change the value of global variable inside function, keyword global is used.
Previous Question
Next Question
25
See Explanation !
10
To obtain a list of all the functions defined under sys module, which of the following functions can be used?
Sys मॉड्यूल के अंडर डिफाइन सभी फंक्शंस की एक लिस्ट प्राप्त करने के लिए, निम्नलिखित में से किस फ़ंक्शन का यूज़ किया जा सकता है?
print(sys)
print(dir.sys)
print(dir[sys])
print(dir(sys))
Previous Question
Next Question
25
See Explanation !
11
Which of the following is the exponentiation operator in Python?
पायथन में घातांकन ऑपरेटर निम्नलिखित में से कौन सा है?
^
**
^^
exp()
Previous Question
Next Question
25
See Explanation !
12
Which module in Python supports regular expressions?
पायथन में कौन सा मॉड्यूल रेगुलर एक्सप्रेशन का समर्थन करता है?
re
regex
pyregex
none of the mentioned
Previous Question
Next Question
25
See Explanation !
13
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
14
Other name of Pseudo code
Pseudo code का अन्य नाम
False Code
Representation of Code
Both A and B
None of these
Previous Question
Next Question
25
See Explanation !
15
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
16
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 !
17
Raw data assigned to a variable is called as...
एक चर को असाइन किया गया कच्चा डेटा कहा जाता है...
variable
literal
identifier
comment
Previous Question
Next Question
25
See Explanation !
18
The ______ statement lets the program go through the piece of code without performing any action.
______ कथन प्रोग्राम को कोई कार्रवाई किए बिना कोड के टुकड़े से गुजरने देता है।
pass
Get
Range
None of these
Previous Question
Next Question
25
See Explanation !
19
Which is a valid Constant in python
जो अजगर में एक वैध स्थिरांक है
Hello
949227
True
"2'
Previous Question
Next Question
25
See Explanation !
20
How is a code block indicated in Python?
पायथन में एक कोड ब्लॉक कैसे इंगित किया जाता है?
Brackets
Indentation
Key
None of the above
Previous Question
Next Question
25
See Explanation !
21
Which file extension is used to save Python files?
पायथन फ़ाइलों को सहेजने के लिए किस फ़ाइल एक्सटेंशन का उपयोग किया जाता है?
.py
.python
.pt
.pyt
Previous Question
Next Question
25
See Explanation !
22
What will the following code output? print(‘\\n’)
निम्नलिखित कोड आउटपुट क्या होगा? print ('\\n ')
\\n
\n
New line
Error
Previous Question
Next Question
25
See Explanation !
23
What happens when multiple if statements are used instead of if-elif?
क्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?
Only the first condition is checked.
All conditions are checked, even if one is True.
It behaves the same as if-elif.
It raises an error.
Previous Question
Next Question
25
See Explanation !
24
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 !
25
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नहीं देखते हैं, तो हमें क्या मिलता है?
Runtime Error
Syntax Error
Logical Error
None of the above
Previous Question