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
Python programming language allows to use one loop inside another loop known as ?
पायथन प्रोग्रामिंग भाषा एक लूप को दूसरे लूप के अंदर उपयोग करने की अनुमति देती है जिसे जाना जाता है?
switch
foreach
Nested Loop
None
Next Question
25
See Explanation !
2
To obtain a list of all the functions defined under sys module, which of the following functions can be used?
Sys मॉड्यूल के अंडर डिफाइन सभी फंक्शंस की एक लिस्ट प्राप्त करने के लिए, निम्नलिखित में से किस फ़ंक्शन का यूज़ किया जा सकता है?
print(sys)
print(dir.sys)
print(dir[sys])
print(dir(sys))
Previous Question
Next Question
25
See Explanation !
3
What is the Full form of EOL?
EOL का फुल फॉर्म क्या है?
End of List
End of Line
End of Loop
End of Language
Previous Question
Next Question
25
See Explanation !
4
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
5
What does np.zeros((2,3)) return?
Np.zeros ((2,3)) क्या लौटाता है?
A 2x3 array of ones
A 2x3 array of zeros
A 3x2 array of zeros
Error
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following ? import numpy as np a = np.arange(5,1) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(5,1) print(a)
[ ]
[1 2 3 4 5]
[5 4 3 2 1]
[1 2 3 4]
Previous Question
Next Question
25
See Explanation !
7
______ are the modes of both writing and reading in binary format in file.
______ फ़ाइल में द्विआधारी प्रारूप में लिखने और पढ़ने दोनों के तरीके हैं।
bw+
wb+
rb+
None of these
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? a= [1, 2, 3, 4, 5] for i in range(1, 5): a[i-1] = a[i] for i in range(0, 5): print(a[i],end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a= [1, 2, 3, 4, 5] for i in range(1, 5): a[i-1] = a[i] for i in range(0, 5): print(a[i],end = " ")
5 5 1 2 3
5 1 2 3 4
2 3 4 5 1
2 3 4 5 5
Previous Question
Next Question
25
See Explanation !
9
Designing the problem?
समस्या को डिज़ाइन करना चाहते हैं?
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following Python code? list1=[1,3] list2=list1 list1[0]=4 print(list2)
निम्नलिखित कोड का परिणाम क्या है ? list1=[1,3] list2=list1 list1[0]=4 print(list2)
[1, 4]
[1,3, 4]
[4,3]
[1,3]
Previous Question
Next Question
25
See Explanation !
11
When we open file in append mode the file pointer is at the of the file?
जब हम फाइल को एपेंड मोड में खोलते हैं तो फाइल पॉइंटर फाइल के ____ पर होता है?
anywhere in between the file
End
beginning
second line of the file
Previous Question
Next Question
25
See Explanation !
12
A detailed flowchart is known as:
एक विस्तृत फ़्लोचार्ट के रूप में जाना जाता है:
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
13
The syntax of seek() is: file_object.seek(offset [, reference_point]) What does the reference_point indicate?
seek () का सिंटैक्स है: file_object.seek(offset [, Reference_point]) रेफरेंस_पॉइंट क्या दर्शाता है?
reference_point indicates the current position of the file object
reference_point indicates the starting position of the file object
reference_point indicates the ending position of the file object
None of the above
Previous Question
Next Question
25
See Explanation !
14
What will be the value of x=(5*2-4*8)%7
x=(5*2-4*8)%7 का मान क्या होगा?
10
9
7
6
Previous Question
Next Question
25
See Explanation !
15
Kite/diamond symbol in flow chart is used for_______
फ्लो चार्ट में पतंग/हीरा प्रतीक का उपयोग _______ के लिए किया जाता है
Execution
Decision
Statement
All of the above
Previous Question
Next Question
25
See Explanation !
16
_____function takes a list of lines to be written to file.
_____FUNCTION फ़ाइल में लिखी जाने वाली पंक्तियों की एक सूची लेता है।
writelines()
write()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
17
How can we create an empty list in Python ?
हम पायथन में एक खाली लिस्ट कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
18
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 !
19
Which of the following is the datatype possible in python?
पाइथन में निम्नलिखित में से कौन सा डेटाटाइप संभव है?
int
list
dictionary
All of the above
Previous Question
Next Question
25
See Explanation !
20
In Python, a variable is assigned a value of one type, and then later assigned a value of a different type. This will yield
पायथन में, एक चर को एक प्रकार का मान सौंपा जाता है, और फिर बाद में एक अलग प्रकार का मान सौंपा जाता है। इससे
Warning
Not available
Error
No Error
Previous Question
Next Question
25
See Explanation !
21
Which method is used to add an element to the end of a list?
सूची के अंत में किसी तत्व को जोड़ने के लिए किस विधि का उपयोग किया जाता है?
insert()
append()
extend()
add()
Previous Question
Next Question
25
See Explanation !
22
If the else statement is used with a while loop, the else statement is executed when the condition becomes _____ .
यदि else स्टेटमेंट का प्रयोग 'व्हाइल' लूप के साथ किया जाता है, तो else स्टेटमेंट तब निष्पादित होता है जब कंडीशन हो जाती है।
True
False
Infinite
NULL
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following Python function, assuming that the random module has already been imported? import random random.uniform(3,4)
यह मानते हुए कि random मॉड्यूल पहले से ही आयात किया जा चुका है, निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? import random random.uniform(3,4)
Error
Either 3 or 4
Any integer other than 3 and 4
Any decimal value between 3 and 4
Previous Question
Next Question
25
See Explanation !
24
Python operator always yields the result of
पायथन ऑपरेटर हमेशा का परिणाम देता है
integer
floating point
complex
all of these
Previous Question
Next Question
25
See Explanation !
25
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