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
The ______ can be accessed only inside the function in which they are declared, whereas global variables can be accessed throughout the program body by all functions.
______ को केवल उस फ़ंक्शन के अंदर एक्सेस किया जा सकता है जिसमें उन्हें घोषित किया गया है, जबकि सभी फ़ंक्शन द्वारा पूरे प्रोग्राम बॉडी में ग्लोबल वेरिएबल्स को एक्सेस किया जा सकता है।
Global variables
local variables
datatype
None of these
Next Question
25
See Explanation !
2
What will be the output of the following Python code? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
(5,1,6,2)
(5,1,7,6)
(5,1,7,6,2)
Error
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following code? print(10 // 3)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10 // 3)
3.33
3
4
Error
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]:
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1], [33, 6, 1, 2]] v = values[0][0] for row in range(0, len(values)): for column in range(0, len(values[row])): if v < values[row][column]: v
3
5
6
33
Previous Question
Next Question
25
See Explanation !
5
Which one of the following is the correct extension of the Python file.
निम्नलिखित में से कौन सा पायथन फ़ाइल का सही विस्तार है।
.py
.python
.p
None of these
Previous Question
Next Question
25
See Explanation !
6
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Previous Question
Next Question
25
See Explanation !
7
what will the output of following code my_string="Hello,world" print(my_string[-6:-1])
निम्नलिखित कोड का आउटपुट क्या होगा my_string ="हैलो,वर्ल्ड" प्रिंट(my_string [-6:-1])
,worl
worl
world
oworld
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? mylist=list("a#b#c#d".split('#')) print(mylist)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? mylist=list("a#b#c#d".split('#')) print(mylist)
[‘a’, ‘b’, ‘c’, ‘d’]
[‘a b c d’]
[‘a#b#c#d’]
[‘abcd’]
Previous Question
Next Question
25
See Explanation !
9
____ is a set of functions you want to include in your applications.
____ कार्यों का एक सेट है जिसे आप अपने अनुप्रयोगों में शामिल करना चाहते हैं।
Module
Function
Folder
None of these
Previous Question
Next Question
25
See Explanation !
10
What will be the output of following code? print(“5”+5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(" 5 "5)
55
10
5
Type Error
Previous Question
Next Question
25
See Explanation !
11
in python a variable named 'num' ,which type of value we can store in this variable
अजगर में 'NUM' नामक एक चर, हम इस चर में किस प्रकार का मान संग्रहीत कर सकते हैं
Integer
Float
String
All of These
Previous Question
Next Question
25
See Explanation !
12
are set of procedures defined in library to find the minimum value function or the root of an equation.
न्यूनतम मान फ़ंक्शन या समीकरण के मूल को खोजने के लिए लाइब्रेरी में परिभाषित प्रक्रियाओं का सेट हैं।
Optimisers
Pandas
scipy ()
None of these
Previous Question
Next Question
25
See Explanation !
13
Which of the following environment variable for Python tells the Python interpreter where to locate the module files imported into a program ?
पायथन के लिए निम्नलिखित में से कौन सा पर्यावरण चर पायथन दुभाषिया को बताता है कि किसी प्रोग्राम में आयात की गई मॉड्यूल फ़ाइलों का पता कहां लगाया जाए?
PYTHONPATH
PYTHONSTARTUP
PYTHONCASEOK
PYTHONHOME
Previous Question
Next Question
25
See Explanation !
14
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
exit
break
continue
stop
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? x = 'abcd' for i in x: print(i) x.upper()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = x में i के लिए 'abcd ': print(i) x.upper ()
a B C D
a b c d
A B C D
error
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python function? import math print(abs(math.sqrt(25)))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import math print(abs(math.sqrt(25)))
Error
-5
5
5.0
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? list1 = [11, 2, 23] list2 = [11, 2, 2] print(list1 < list2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
18
Which of the following statement(s) will terminate only the current pass of the loop and proceed with the next iteration of the loop?
निम्नलिखित में से कौन सा कथन केवल लूप के वर्तमान पास को समाप्त करेगा और लूप के अगले पुनरावृत्ति के साथ आगे बढ़ेगा?
pass
break
continue
goto
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
20
Which of the following functions helps us to randomize the items of a list?
निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
seed
randomise
shuffle
uniform
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? print('Hello!2@#World'.istitle())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('Hello!2@#World'.istitle())
True
False
None
error
Previous Question
Next Question
25
See Explanation !
22
Which of the following is not a keyword ?
निम्नलिखित में से कौन सा एक कीवर्ड नहीं है?
eval
nonlocal
assert
finally
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code snippet? print('abcefd'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcefd '.replace (' cd ', '12 '))
ab1ef2
abcefd
ab1efd
ab12ed2
Previous Question
Next Question
25
See Explanation !
24
Assume q= [3, 4, 5, 20, 5, 25, 1, 3], then what will be the items of q list after q.pop(1) ?
मान लीजिए q= [3, 4, 5, 20, 5, 25, 1, 3], तो q.pop(1) के बाद q सूची में क्या आइटम होंगे?
[3, 4, 5, 20, 5, 25, 1, 3]
[1, 3, 3, 4, 5, 5, 20, 25]
[3, 5, 20, 5, 25, 1, 3]
[1, 3, 4, 5, 20, 5, 25]
Previous Question
Next Question
25
See Explanation !
25
What will be the output of the following? print(sum(1,2,3))
निम्नलिखित कोड का परिणाम क्या है ? print(sum(1,2,3))
error
6
1
3
Previous Question