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? print("abcdef".find("cd") == "cd" in "abcdef")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" abcdef ".find(" cd ") == "abcdef" में "cd ")
True
False
Error
None of the mentioned
Next Question
25
See Explanation !
2
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 !
3
____is a string literal denoted by triple quotes for providing the specifications of certain program elements.
____ एक स्ट्रिंग शाब्दिक है जिसे कुछ प्रोग्राम तत्वों के विनिर्देश प्रदान करने के लिए ट्रिपल कोट्स द्वारा दर्शाया गया है।
Interface
Modularity
Client
Docstring
Previous Question
Next Question
25
See Explanation !
4
Which operator is also called as Conditional operator?
किस ऑपरेटर को कंडीशनल ऑपरेटर भी कहा जाता है?
Ternary
Relational
Logical
Assignment
Previous Question
Next Question
25
See Explanation !
5
Which statement is generally used as a placeholder?
कौन सा कथन सामान्यतः प्लेसहोल्डर के रूप में प्रयोग किया जाता है?
continue
break
pass
goto
Previous Question
Next Question
25
See Explanation !
6
Users write the programs in which language?
यूज़र प्रोग्राम किस भाषा में लिखते हैं?
Low-level Language
High-level Language
Middle-level Language
None of these
Previous Question
Next Question
25
See Explanation !
7
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 !
8
Empty list in python is made by ?
अजगर में खाली सूची किसके द्वारा बनाई गई है?
l=[]
l=list()
Both of the above
None of these
Previous Question
Next Question
25
See Explanation !
9
Which one is the type of algorithm:
कौन सा एल्गोरिथ्म का प्रकार है:
Flowchart
Pseudo
Greedy
Connector
Previous Question
Next Question
25
See Explanation !
10
Special meaning words of Pythons, fixed for specific functionality are called ___
विशिष्ट कार्यक्षमता के लिए तय किए गए पायथन के विशेष अर्थ वाले शब्दों को ___ कहा जाता है।
Identifiers
Functions
Keywords
Literals
Previous Question
Next Question
25
See Explanation !
11
Which of the following is not a valid mode to open a file?
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है?
ab
rw
r+
w+
Previous Question
Next Question
25
See Explanation !
12
Which of the following is not a declaration of the dictionary?
निम्नलिखित में से कौन सा ड़िक्शनरी का डिक्लेरेशन नहीं है?
{1: ‘A’, 2: ‘B’}
dict([[1,”A”],[2,”B”]])
{1,”A”,2”B”}
{ }
Previous Question
Next Question
25
See Explanation !
13
Which of the following operators has the highest precedence?
निम्नलिखित में से किस ऑपरेटर की सर्वोच्च प्राथमिकता है?
*
**
<
==
Previous Question
Next Question
25
See Explanation !
14
What is the data type of elements in a NumPy array?
NumPy ऐरे में तत्वों का डेटा प्रकार क्या है?
Only integers
Only floating-point numbers
Homogeneous, but can be integers or floating-point numbers
Heterogeneous, supporting a mix of data types
Previous Question
Next Question
25
See Explanation !
15
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन सा प्रोग्रामिंग कोड लाइन दर लाइन निष्पादित करता है?
Compiler
Interpreter
Executer
Translator
Previous Question
Next Question
25
See Explanation !
16
Which character is used in Python to make a single line comment?
एक पंक्ति टिप्पणी करने के लिए पायथन में किस वर्ण का उपयोग किया जाता है?
/
//
#
!
Previous Question
Next Question
25
See Explanation !
17
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
for
while
do while
None of the above
Previous Question
Next Question
25
See Explanation !
18
Which of the following function returns the index value of first occurrence of substring occurring in the given string.
निम्नलिखित में से कौन सा फंक्शन दिए गए स्ट्रिंग में होने वाली सबस्ट्रिंग की पहली घटना का इंडेक्स मान बताता है।
index()
find()
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(x): x = ['def', 'abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
20
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 !
21
Which of the following function convert a sequence of tuples to dictionary in python?
निम्नलिखित में से कौन सा फ़ंक्शन ट्यूपल्स के अनुक्रम को अजगर में शब्दकोश में परिवर्तित करता है?
set (x)
dict(d)
frozenset(s)
chr(x)
Previous Question
Next Question
25
See Explanation !
22
Which of the following is not a Keyword in Python ?
पायथन में निम्नलिखित में से कौन सा कीवर्ड नहीं है?
break
while
continue
operators
Previous Question
Next Question
25
See Explanation !
23
Operators with the same precedence are evaluated in which manner?
समान प्राथमिकता वाले ऑपरेटरों का मूल्यांकन किस तरीके से किया जाता है?
Left to Right
Right to Left
Can’t say
None of the mentioned
Previous Question
Next Question
25
See Explanation !
24
Which of the following is not an advantage of using modules?
निम्नलिखित में से कौन सा मॉड्यूल का उपयोग करने का लाभ नहीं है?
Provides a means of reuse of program code
Provides a means of dividing up tasks
Provides a means of reducing the size of the program
Provides a means of testing individual parts of the program
Previous Question
Next Question
25
See Explanation !
25
Identify the correct function call to read first 5 character of the file from the beginning
शुरुआत से फ़ाइल के पहले 5 अक्षर को पढ़ने के लिए सही फ़ंक्शन कॉल की पहचान करें
f.read(5)
f.read()=5
f.readline(5)
f.readlines(5)
Previous Question