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
How can you write data to a file in Python?
आप पायथन में किसी फ़ाइल में डेटा कैसे लिख सकते हैं?
write()
append()
add()
insert()
Next Question
25
See Explanation !
2
Which of the following statement will be true?
निम्नलिखित में से कौन सा कथन सत्य होगा?
It is mandatory to have_main_function in python.
It is not mandatory to have _main_function in python.
It is mandatory to have any function in python.
None of the above
Previous Question
Next Question
25
See Explanation !
3
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? a=55 b=’55’ print( a is not b)
निम्नलिखित कोड क्या आउटपुट देगा? a=55 b=’55’ print( a is not b)
True
False
55
TypeError
Previous Question
Next Question
25
See Explanation !
5
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
Previous Question
Next Question
25
See Explanation !
6
Each individual character in a string can be accessed using a technique called _____ .
स्ट्रिंग में प्रत्येक व्यक्तिगत चरित्र को _____ नामक तकनीक का उपयोग करके एक्सेस किया जा सकता है।
indexing
Replication
concatenation
None of the Above
Previous Question
Next Question
25
See Explanation !
7
When an algorithm is written in the form of a programming language it becomes a
जब एक एल्गोरिथ्म को एक प्रोग्रामिंग भाषा के रूप में लिखा जाता है तो यह एक
Flowchart
Program
Pseudo Code
Syntax
Previous Question
Next Question
25
See Explanation !
8
Which of the following is not Logical operator?
निम्नलिखित में से कौन सा लॉजिकल ऑपरेटर नहीं है?
and
or
not
Assignment
Previous Question
Next Question
25
See Explanation !
9
Python is a/an _________ language.
पायथन एक _________ भाषा है।
High Level
Low Level
Procedural
Difficult
Previous Question
Next Question
25
See Explanation !
10
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 !
11
What will the following code output? print(2 << 2)
निम्नलिखित कोड आउटपुट क्या होगा? print(2 << 2)
4
8
16
32
Previous Question
Next Question
25
See Explanation !
12
What is the output of the code print(7%2).
कोड print(7%2) का आउटपुट क्या है।
5.5
3.5
1
None of the above
Previous Question
Next Question
25
See Explanation !
13
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 !
14
___ is correct regarding the object- oriented programming concept in Python?
___ पायथन में ऑब्जेक्ट - ओरिएंटेड प्रोग्रामिंग अवधारणा के बारे में सही है?
Classes are real world entities.
Objects are real world entities
Objects and classes are real world entities.
objects are real-world entities while classes are not real.
Previous Question
Next Question
25
See Explanation !
15
What type of data is: a=[(1,1),(2,4),(3,9)]?
किस प्रकार का डेटा है: a = [(1,1), (2,4), (3,9)]?
Array of tuples
List of tuples
Tuples of lists
Invalid type
Previous Question
Next Question
25
See Explanation !
16
What will be the output of following expression : print(10/2+3*5)
निम्नलिखित कोड का आउटपुट क्या होगा? print(10/2+3*5)
20.0
20
40.0
40
Previous Question
Next Question
25
See Explanation !
17
Which of the following is an invalid statement?
निम्नलिखित में से कौन सा एक अमान्य कथन है?
abc = 1,000,000
a b c = 1000 2000 3000
a,b,c = 1000, 2000, 3000
a_b_c = 1,000,000
Previous Question
Next Question
25
See Explanation !
18
Work of tell() method in file processing is
फाइल प्रोसेसिंग में tell() फंक्शन का कार्य है
Tells you the current position within the file.
Tells the size of file you read
Tells the start position of the file.
Tells the end position of the file.
Previous Question
Next Question
25
See Explanation !
19
All keywords in python are in ____
अजगर के सभी कीवर्ड ____ में हैं
lowercase
UPPERCASE
Capitalized
None of the mentioned
Previous Question
Next Question
25
See Explanation !
20
Which function of pickle module is used to write data on binary file
बाइनरी फ़ाइल पर डेटा लिखने के लिए अचार मॉड्यूल का कौन सा फ़ंक्शन प्रयोग किया जाता है
dump()
write()
writeBinary()
load()
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
will return the mathematical number PI from the constants module.
गणितीय संख्या PI को स्थिरांक मॉड्यूल से वापस कर देगा।
Math.Pi
Circle()
Pandas
None of these
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python code? import random print(random.randrange(0,91,5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(0,91,5))
10
18
79
95
Previous Question
Next Question
25
See Explanation !
24
_____ help programmers to create lists in a concise way.
_____ प्रोग्रामर को संक्षिप्त तरीके से सूचियाँ बनाने में मदद करें।
Tuple
Dictionary
List Comprehensions
None of these
Previous Question
Next Question
25
See Explanation !
25
Which character is used in Python to make a single line comment?
एक पंक्ति टिप्पणी करने के लिए पायथन में किस वर्ण का उपयोग किया जाता है?
/
//
#
!
Previous Question