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 snippet? print('ab cd-ef'.title())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' ab cd - ef '.title ())
Ab cd-ef
Ab Cd-ef
Ab Cd-Ef
None of the mentioned
Next Question
25
See Explanation !
2
To convert the read value through input() into integer type, ______ () is used
इनपुट () के माध्यम से रीड वैल्यू को पूर्णांक प्रकार में बदलने के लिए, ______ () का उपयोग किया जाता है
floating
float
int
integer
Previous Question
Next Question
25
See Explanation !
3
Which of the following statement is correct about Getcwd() .
Getcwd () के बारे में निम्नलिखित में से कौन सा कथन सही है।
Method displays the directory of a process.
Method displays the current working directory of a process.
Method create file of a process.
None of these
Previous Question
Next Question
25
See Explanation !
4
Which is the most appropriate definition for recursion?
पुनरावृत्ति के लिए सबसे उपयुक्त परिभाषा कौन सी है?
A function that calls itself
A function execution instance that calls another execution instance of the same function
A class method that calls another class method
An in-built method that is automatically called
Previous Question
Next Question
25
See Explanation !
5
In which format Binary file contains information?
बाइनरी फ़ाइल में सूचना किस प्रारूप में होती है?
Quick response code
Same format in which the data is held in memory
ASCII format
Unicode format
Previous Question
Next Question
25
See Explanation !
6
The.........symbol is always the first and the last symbol in the flowchart.
......... symbol फ्लोचार्ट में हमेशा पहला और अंतिम प्रतीक होता है।
Rectangle
Terminal
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
7
Function defined to achieve some task as per the programmers requirement is called a :
प्रोग्रामर की आवश्यकता के अनुसार कुछ कार्य को पूरा करने के लिए परिभाषित फ़ंक्शन को कहा जाता है:
User Defined Function
Library Functions
Builtin Functions
All of the above
Previous Question
Next Question
25
See Explanation !
8
The contents inside the "for loop" are separated by?
लूप के अंदर की सामग्री को _____ द्वारा अलग किया जाती है?
colon
comma
semicolon
hyphen
Previous Question
Next Question
25
See Explanation !
9
Provide the output for the expression: list = [1, 2] + [3, 4]
list= [1, 2] + [3, 4] का आउटपुट क्या होगा
[4,6]
[1, 2, 3, 4]
10
Error in Code
Previous Question
Next Question
25
See Explanation !
10
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
11
what is the output of the following code? M=['b' *x for x in range(4)] print(M)
निम्नलिखित कोड का परिणाम क्या है ? M=['b' *x for x in range(4)] print(M)
['', 'b', 'bb', 'bbb']
['b,'bb', "bbb', "bbbb']
['b','bb', bbb']
none of these
Previous Question
Next Question
25
See Explanation !
12
Which of the following is correct in respect of advantages of functions?
फ़ंक्शंस के फायदों के संबंध में निम्नलिखित में से कौन सा सही है?
Decomposing complex problems into simpler pieces
Reducing duplication of code
both A and B
None of the above.
Previous Question
Next Question
25
See Explanation !
13
What will be the result of the expression 5 and 10?
अभिव्यक्ति 5 और 10 का परिणाम क्या होगा?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
14
The data type whose representation is known are called
जिस डेटा प्रकार का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
15
____ keyword used for function in python
पायथन में फ़ंक्शन के लिए कौन सा कीवर्ड उपयोग किया जाता है
fun
function
def
define
Previous Question
Next Question
25
See Explanation !
16
Which of the following function returns True if the string is non empty and has all uppercase alphabets.
निम्नलिखित में से कौन सा फ़ंक्शन सही बताता है यदि स्ट्रिंग खाली नहीं है और सभी अपरकेस वर्णमाला हैं।
islower()
isupper()
Islower()
None
Previous Question
Next Question
25
See Explanation !
17
In Python, a variable must be declared before it is assigned a value.
पायथन में, एक चर को एक मान निर्दिष्ट करने से पहले घोषित किया जाना चाहिए।
True
False
Only in Functions
Only in modules
Previous Question
Next Question
25
See Explanation !
18
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 !
19
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) pr
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1.0]=4 count = 0 for i in a: count += a[i] print(count) print(a)
An exception is thrown
3
6
2
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What does the function re-search do?
फ़ंक्शन फिर से खोज क्या करता है?
matches a pattern at the start of the string.
matches a pattern at any position in the string.
such a function does not exist
none of the mentioned.
Previous Question
Next Question
25
See Explanation !
22
What arithmetic operators cannot be used with strings?
तारों के साथ कौन से अंकगणितीय ऑपरेटरों का उपयोग नहीं किया जा सकता है?
+
*
-
All of the mentioned
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following code snippet? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbe
निम्नलिखित कोड का परिणाम क्या है ? numbers = (4, 7, 19, 2, 89, 45, 72, 22) sorted_numbers = sorted(numbers) odd_numbers = [x for x in sorted_numbers if x% 2!=0] print(odd_numbers)
[7, 19, 45, 89]
[2, 4, 22, 72]
[4, 7, 19, 2, 89, 45, 72, 22]
[24, 7, 19, 22, 45, 72, 89]
Previous Question
Next Question
25
See Explanation !
24
Which module in Python provides functions for file and directory manipulation?
पायथन में कौन सा मॉड्यूल फ़ाइल और फोल्डर में प्रोसेस के लिए फ़ंक्शन प्रदान करता है?
os
fileutils
filesystem
io
Previous Question
Next Question
25
See Explanation !
25
A step by step method for solving a problem using English Language
अंग्रेजी भाषा का उपयोग करके किसी समस्या को हल करने के लिए चरण - दर - चरण विधि
program
Flowchart
statement
Algorithm
Previous Question