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
Given a string x="hello" What is the output of x.count('l')?
एक स्ट्रिंग x = "hello " को देखते हुए x.count ('1') का आउटपुट क्या है?
2
1
0
none
Next Question
25
See Explanation !
2
What is the range of values that random.random() can return?
उन वैल्यू की रेंज क्या है जो random.random () रिटर्न आ सकते हैं?
[0.0, 1.0]
(0.0, 1.0]
(0.0, 1.0)
[0.0, 1.0)
Previous Question
Next Question
25
See Explanation !
3
empty( ) function used to create a NumPy array which contained the values
empty() फ़ंक्शन का उपयोग NumPy सरणी बनाने के लिए किया जाता है जिसमें मान होते हैं
Filled with Zero
Filled with Blank space
Filled with random garbage value
Filled with One
Previous Question
Next Question
25
See Explanation !
4
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 !
5
In python we can change the value of variable
अजगर में हम चर का मान बदल सकते हैं
One Time
Two Time
Any Number of Time
we can not change the value of variable
Previous Question
Next Question
25
See Explanation !
6
Which of the following is not a valid namespace?
इनमें से कौन - सा एक मान्य नेमस्पेस नहीं है?
Global namespace
Public namespace
Built-in namespace
Local namespace
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? word1="Apple" word2="Apple" list1=[1,2,3] list2=[1,2,3] print(word1 is word2) print(list1 is list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? word1 ="Apple" word2 = "Apple" list1=[1,2,3] list2 =[1,2,3] print(word1 is word2) print(list1 is list2)
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
8
Which one the following is a mutable data type ?
निम्नलिखित में से कौन सा एक परिवर्तनशील डेटा प्रकार है?
set
tuple
string
None of These
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? values = [[3, 4, 5, 1 ], [33, 6, 1, 2]] for row in values: row.sort() for element in row: print(element, end = " ") print()
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? values = [[3, 4, 5, 1 ], [33, 6, 1, 2]] for row in values: row.sort() for element in row: print(element, end = " ") print()
The program prints two rows 3 4 5 1 followed by 33 6 1 2
The program prints on row 3 4 5 1 33 6 1 2
The program prints two rows 3 4 5 1 followed by 33 6 1 2
The program prints two rows 1 3 4 5 followed by 1 2 6 33
Previous Question
Next Question
25
See Explanation !
10
Find the last element of list in Python? Assume 'bikes' is the name of list.
पायथन में सूची का अंतिम तत्व खोजें? मान लें कि 'बाइक' सूची का नाम है।
bikes[:-1]
bilkes[1]
bikes (:-1)
None of the above
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
Suppose d = {“john”:40, “peter”:45}. To obtain the number of entries in dictionary which command do we use?
मान लीजिए d = {“john”:40, “peter”:45}. शब्दकोश में प्रविष्टियों की संख्या प्राप्त करने के लिए हम किस कमांड का उपयोग करते हैं?
d.size()
len(d)
size(d)
d.len()
Previous Question
Next Question
25
See Explanation !
13
Which keyword is used to exit a loop prematurely in Python?
पायथन में लूप से समय से पहले एग्जिट होने के लिए किस कीवर्ड का यूज़ किया जाता है?
exit
break
continue
stop
Previous Question
Next Question
25
See Explanation !
14
Which one is the type of algorithm:
कौन सा एल्गोरिथ्म का प्रकार है:
Flowchart
Pseudo
Greedy
Connector
Previous Question
Next Question
25
See Explanation !
15
Which of the following language is understood by computer?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
Machine language
Assembly language
High-level language
None of these
Previous Question
Next Question
25
See Explanation !
16
The operator used to check if both the operands reference the same object memory, is the .......... operator.
ऑपरेटर यह जांचने के लिए प्रयोग किया जाता है कि क्या दोनों ऑपरेंड एक ही ऑब्जेक्ट मेमोरी को संदर्भित करते हैं, ……… ऑपरेटर है।
in
is
id
==
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question
Next Question
25
See Explanation !
18
Which of the following is a logical operator in Python?
निम्नलिखित में से कौन पायथन में एक लॉजिकल ऑपरेटर है?
and
or
not
All of the these
Previous Question
Next Question
25
See Explanation !
19
What is the output of the following? m=0 while m<5: m+=1 if m==3: break else: print(0)
निम्नलिखित का आउटपुट क्या है? m=0 while m<5: m+=1 if m==3: break else: print(0)
0 1 2 0
0 1 2
0 0 1 0 2
error
Previous Question
Next Question
25
See Explanation !
20
Algorithm when translated into a programming language is called
प्रोग्रामिंग भाषा में अनुवाद करने पर एल्गोरिथ्म को कहा जाता है
Flowchart
Identifier
Code
Debugging
Previous Question
Next Question
25
See Explanation !
21
What will the following code output? a=555 b=55 print( b in a)
निम्नलिखित कोड क्या आउटपुट देगा? a=555 b=55 print( b in a)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
22
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question
Next Question
25
See Explanation !
23
Is Python case sensitive when dealing with identifiers?
क्या पहचानकर्ताओं से निपटते समय पायथन केस संवेदनशील होता है?
yes
no
machine dependent
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
4
8
16
32
Previous Question
Next Question
25
See Explanation !
25
Which of these is not true about recursion?
इनमें से कौन सा रिकर्शन के बारे में सच नहीं है?
Making the code look clean
A complex task can be broken into sub-problems
Recursive calls take up less memory
Sequence generation is easier than a nested iteration
Previous Question