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
If return statement is not used inside the function, the function will return:
यदि फंक्शन के अंदर रिटर्न स्टेटमेंट का उपयोग नहीं किया जाता है, तो फंक्शन रिटर्न करेगा:
None
0
Null
Arbitary value
Next Question
25
See Explanation !
2
Which method is used to get all keys from a dictionary?
शब्दकोश से सभी कुंजियाँ प्राप्त करने के लिए किस विधि का उपयोग किया जाता है?
keys()
getkeys()
allkeys()
keyvalues()
Previous Question
Next Question
25
See Explanation !
3
In which year was the Python 3.0 version developed?
पायथन 3.0 संस्करण किस वर्ष विकसित किया गया था?
2008
2010
2000
2005
Previous Question
Next Question
25
See Explanation !
4
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
15
150
200
10
Previous Question
Next Question
25
See Explanation !
5
Which of the following operator in python evaluates to true if the variables on either side of the operator point to the same object and false otherwise?
अजगर में निम्नलिखित में से कौन सा ऑपरेटर सही का मूल्यांकन करता है यदि ऑपरेटर के दोनों ओर के चर एक ही वस्तु की ओर इशारा करते हैं और अन्यथा गलत हैं?
**
//
is
not in
Previous Question
Next Question
25
See Explanation !
6
Which of the following is NOT a valid Python keyword?
निम्नलिखित में से कौन एक वैध पायथन कीवर्ड नहीं है?
None
True
False
equal
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code snippet? print('1.1'.isnumeric())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('1.1'.isnumeric ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
8
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 !
9
A program which translate a high-level language code into a machine language code is called
एक प्रोग्राम जो एक उच्च - स्तरीय भाषा कोड को मशीन भाषा कोड में अनुवादित करता है, उसे कहा जाता है
Compiler
Interpreters
Both Compiler and Interpreter
None of the above
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code snippet? print('abcdefcdghcd'.split('cd'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abcdefcdghcd '.split (' cd '))
[‘ab’, ‘ef’, ‘gh’]
[‘ab’, ‘ef’, ‘gh’, ”]
(‘ab’, ‘ef’, ‘gh’)
(‘ab’, ‘ef’, ‘gh’, ”)
Previous Question
Next Question
25
See Explanation !
11
What will be the output of the following Python code? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
[10,34,56,[95]]
[10,23,56,[78]]
[10,23,56,[95]]
[10,34,56,[78]]
Previous Question
Next Question
25
See Explanation !
12
What is 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, 222, 14]
Error
25
[25, 14, 222, 33, 2]
Previous Question
Next Question
25
See Explanation !
13
Which of the following is the correct way to declare a variable in Python?
पायथन में वेरिएबल घोषित करने का सही तरीका निम्नलिखित में से कौन सा है?
int x = 10
x = 10
var x = 10
x: 10
Previous Question
Next Question
25
See Explanation !
14
You don't have to pay for Python and you can view its source code too. It means Python is ..........
आपको पायथन के लिए भुगतान करने की ज़रूरत नहीं है और आप इसका सोर्स कोड भी देख सकते हैं। इसका मतलब है कि पायथन.......... है ।
Free and open source
freeware
open source
shareware
Previous Question
Next Question
25
See Explanation !
15
When _____ gets executed, 'inner PI value' is printed as that is 'pi' value inside the function namespace.
जब _____ को निष्पादित किया जाता है, तो 'आंतरिक PI मान' मुद्रित किया जाता है क्योंकि यह फ़ंक्शन नेमस्पेस के अंदर 'pi' मान होता है।
pi()
piFun()
Fun()
None of these
Previous Question
Next Question
25
See Explanation !
16
Which method is used to add an element to the end of a list?
सूची के अंत में किसी तत्व को जोड़ने के लिए किस विधि का उपयोग किया जाता है?
insert()
append()
extend()
add()
Previous Question
Next Question
25
See Explanation !
17
If no delimiter is given in split() function then words are separated by
यदि स्प्लिट() फ़ंक्शन में कोई डेलिमिटर नहीं दिया जाता है, तो शब्दों को निम्नलिखित से अलग किया जाता है
space
colon
semi colon
None
Previous Question
Next Question
25
See Explanation !
18
Which module is to be imported for using randint( ) function ?
randint () फ़ंक्शन का उपयोग करने के लिए कौन सा मॉड्यूल इम्पोर्ट किया जाना जरूरी है?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
19
Which of the function take takes two arguments?
कौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी
dump()
load()
Both A and B
None of the above
Previous Question
Next Question
25
See Explanation !
20
How we can convert the Numpy array to the list in python?
हम पायथन में Numpy सरणी को सूची में कैसे परिवर्तित कर सकते हैं?
list(array)
list.array
array.list
None of these
Previous Question
Next Question
25
See Explanation !
21
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
22
A process is expressed in a flowchart by
एक प्रक्रिया फ़्लोचार्ट में किसके द्वारा व्यक्त की जाती है
Rectangle
A Circle
Parallelogram
A Diamond
Previous Question
Next Question
25
See Explanation !
23
The small sections of code that are used to perform a particular task is called
कोड के छोटे खंड जो किसी विशेष कार्य को करने के लिए उपयोग किए जाते हैं, कहलाते हैं
Subroutines
Files
Pseudo code
Modules
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Previous Question
Next Question
25
See Explanation !
25
To add a new element to a list we use which command?
एक लिस्ट में एक न्यू एलिमेंट ऐड करने के लिए हम किस कमांड का यूज़ करते हैं?
list1.add(5)
list1.append(5)
list1.addLast(5)
list1.addEnd(5)
Previous Question