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? def foo(fname, val): print(fname(val)) foo(max, [1, 2, 3]) foo(min, [1, 2, 3])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(fname, val): print(fname(val)) foo(max, [1, 2, 3]) foo(min, [1, 2, 3])
3 1
1 3
error
none of the mentioned
Next Question
25
See Explanation !
2
Python uses a/an _______ to convert source code
पायथन स्रोत कोड को परिवर्तित करने के लिए एक/एक _______ का उपयोग करता है
Interpreter
Compiler
Combination of Compiler and Interpreter
all of these
Previous Question
Next Question
25
See Explanation !
3
Which of the following lines of code will result in an error?
कोड की निम्नलिखित लाइन्स में से कौन सा एरर होगा ?
s={abs}
s={4, ‘abc’, (1,2)}
s={2, 2.2, 3, ‘xyz’}
s={san}
Previous Question
Next Question
25
See Explanation !
4
What is the output of the following code: L=['a','b','c','d'] print ( "".join(L))
निम्नलिखित कोड का आउटपुट क्या है: L=[' a ', 'b ',' c ', 'd '] print (".join(L))
Error
None
abcd
[‘a’,’b’,’c’,’d’]
Previous Question
Next Question
25
See Explanation !
5
What is called when a function is defined inside a class?
जब किसी फ़ंक्शन को क्लास के अंदर परिभाषित किया जाता है तो उसे क्या कहा जाता है?
Module
Class
Another function
Method
Previous Question
Next Question
25
See Explanation !
6
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
Previous Question
Next Question
25
See Explanation !
7
Which of the following is not a valid mode to open a file?
निम्नलिखित में से कौन सा फ़ाइल खोलने के लिए वैध मोड नहीं है?
ab
rw
r+
w+
Previous Question
Next Question
25
See Explanation !
8
To add a new element to a list we use which Python command?
एक सूची में एक नया तत्व जोड़ने के लिए हम किस पायथन कमांड का उपयोग करते हैं?
list1.addEnd (5)
list1.addLast (5)
list1.append (5)
list1.add(5)
Previous Question
Next Question
25
See Explanation !
9
NumPY stands for. -
NumPY का अर्थ है -
Numbering Python
Number In Python
Numerical Python
None of the above
Previous Question
Next Question
25
See Explanation !
10
Which of the following error is returned when we try to open a file in write mode which does not exist?
जब हम किसी ऐसी फ़ाइल को राइट मोड में खोलने की प्रयास करते हैं जो मौजूद नहीं है तो निम्न में से कौन सी एरर दिखाई देती है
File Found Error
File Not Exist Error
File Not Found Error
None of the above
Previous Question
Next Question
25
See Explanation !
11
Algorithms cannot be represented by____
एल्गोरिदम को ____ द्वारा प्रदर्शित नहीं किया जा सकता है
pseudo codes
syntax
flowcharts
programs
Previous Question
Next Question
25
See Explanation !
12
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 !
13
Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?
for
While
do-while
None of these
Previous Question
Next Question
25
See Explanation !
14
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
15
what is Lambda function in python
पायथन में लैम्ब्डा फंक्शन क्या है ?
A built-in Python function
A one-line anonymous function
Lambda is a function in python but user can not use it.
None of the above
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? len(["hello",2, 4, 6])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? len(["hello",2, 4, 6])
Error
6
4
3
Previous Question
Next Question
25
See Explanation !
17
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
18
What is the output of the following code? print(5 > 3 and 5 < 10)
निम्नलिखित कोड का आउटपुट क्या है? प्रिंट(5 > 3 और 5 < 10)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
19
Which is the function to read the remaining lines of the file from a file object infile?
फ़ाइल ऑब्जेक्ट infile से फ़ाइल की शेष पंक्तियों को पढ़ने के लिए कौन सा फंक्शन है?
infile.read(2)
infile.read()
infile.readlines()
infile.readline()
Previous Question
Next Question
25
See Explanation !
20
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
21
Every function has an implicit statement _____ as the last instruction in the function body.
फ़ंक्शन बॉडी में अंतिम निर्देश के रूप में प्रत्येक फ़ंक्शन का एक अंतर्निहित कथन _____ होता है।
Return
pass
for
None of these
Previous Question
Next Question
25
See Explanation !
22
A sequence of instruction, in a computer language, to get the desired result is known as _____ .
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम _____ के रूप में जाना जाता है।
An Algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
23
What is the value of the expression 10 + 3 ** 3 * 2?
अभिव्यक्ति 10 3 ** 3 * 2 का मान क्या है?
28
739
829
64
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following expression ? print (7//2) print (-7//2)
निम्नलिखित अभिव्यक्ति का आउटपुट क्या होगा? print (7//2) print (-7//2)
3 -3
4 -4
3 -4
3 3
Previous Question
Next Question
25
See Explanation !
25
Which of the following will not be returned by random.choice(“1 ,”)?
निम्नलिखित में से कौन सा random.choice(“1 ,”) द्वारा रिटर्न नहीं किया जाएगा?
1
(space)
'
none of the mentioned
Previous Question