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 is a correct syntax to check the number of dimensions in an array?
ऐरे में डायमेंशन की संख्या की जांच करने के लिए सही सिंटैक्स क्या है?
np.ndim(array_name)
array_name.ndim()
np.dim(array_name)
array_name.dim
Next Question
25
See Explanation !
2
How can assertions be disabled in Python?
पायथन में दावे कैसे अक्षम किए जा सकते हैं?
Passing –O when running python
Assertions are disabled by default
Both A and B are wrong
Assertions cannot be disabled in python
Previous Question
Next Question
25
See Explanation !
3
Suppose list1 is [1, 3, 2], What is list1 * 2?
मान लीजिए list1 [1, 3, 2] है, list1 * 2 क्या है?
[2, 6, 4]
[1, 3, 2, 1, 3]
[1, 3, 2, 1, 3, 2]
[1, 3, 2, 3, 2, 1]
Previous Question
Next Question
25
See Explanation !
4
Which of the following functions is used to open a file in Python?
पायथन में फ़ाइल खोलने के लिए निम्नलिखित में से किस फ़ंक्शन का उपयोग किया जाता है?
open_file()
file_open()
open()
read_file()
Previous Question
Next Question
25
See Explanation !
5
Which mode Opens a file for both reading and writing in binary format.
कौन सा मोड बाइनरी प्रारूप में पढ़ने और लिखने दोनों के लिए एक फ़ाइल खोलता है।
rb+
rb-
Wb
None
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? for i in range(0): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(0): print(i)
0
no output
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
7
Which of the following language is understood by computer ?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
Machine language
Assembly language
High-level language
None of the above
Previous Question
Next Question
25
See Explanation !
8
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है।
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? print("abcdef".find("cd"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("abcdef ".find (" cd "))
True
2
3
None of the mentioned
Previous Question
Next Question
25
See Explanation !
10
What is the value of the expression 100 / 25 ?
व्यंजक 100/25 का मान क्या है?
4
4.0
2.5
none of these
Previous Question
Next Question
25
See Explanation !
11
Escape sequences are treated as ____
एस्केप सीक्वेंस को ____ माना जाता है
Strings
Characters
Integers
None of These
Previous Question
Next Question
25
See Explanation !
12
What is recursion in python?
पाइथन में रिकर्शन फंक्शन के है
Repeating a process in a loop
Calling a function from within itself
Using a loop to iterate over elements
Breaking down a problem into smaller subproblems
Previous Question
Next Question
25
See Explanation !
13
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question
Next Question
25
See Explanation !
14
Designing the problem?
समस्या को डिज़ाइन करना चाहते हैं?
Testing
Debugging
logical error
Algorithm
Previous Question
Next Question
25
See Explanation !
15
What will be output for the following code? import numpy as np a = np.array([1,2,3,5,8]) b = np.array([0,3,4,2,1]) c = a + b c = c*a print (c[2])
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([1,2,3,5,8]) b = np.array([0,3,4,2,1]) c = a + b c = c*a print (c[2])
18
20
21
22
Previous Question
Next Question
25
See Explanation !
16
______ 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 !
17
A statement is used when a statement is required syntactically but you do not want any code to execute.
एक स्टेटमेंट का उपयोग तब किया जाता है जब किसी स्टेटमेंट को वाक्यात्मक रूप से आवश्यक होता है लेकिन आप नहीं चाहते कि कोई कोड निष्पादित हो।
break
pass
continue
none of these
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code? names = ['Amir', 'Bear', 'Charlton', 'Daman'] print(names[-1][-1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? NAMES = [' अमीर ', 'भालू ',' चार्ल्टन ', 'दमन '] PRINT(NAMES [-1] [-1])
A
Daman
Error
n
Previous Question
Next Question
25
See Explanation !
19
Which of the following keywords is used to skip the current iteration in a Python loop?
निम्नलिखित में से कौन सा कीवर्ड पायथन लूप में वर्तमान पुनरावृत्ति को छोड़ने के लिए उपयोग किया जाता है?
break
exit
pass
continue
Previous Question
Next Question
25
See Explanation !
20
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code snippet? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? a={1:"A",2:"B",3:"C"} for i,j in a.items(): print(i,j,end=" ")
1 A 2 B 3 C
1 2 3
A B C
1:”A” 2:”B” 3:”C”
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? print('a@ 1,'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' a@ 1,'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
23
What is full form of CSV?
सीएसवी का फुल फॉर्म क्या है?
Comma Space Value
Comma Separated Value
Common spaced Value
Compact Structure View
Previous Question
Next Question
25
See Explanation !
24
In order to store values in terms of key and value we use what core data type.
की और वैल्यू के संदर्भ में मानों को संग्रहीत करने के लिए हम किस कोर डेटा प्रकार का उपयोग करते हैं।
list
tuple
class
dictionary
Previous Question
Next Question
25
See Explanation !
25
The ____ function takes two parameters, filename and mode.
____ फ़ंक्शन दो पैरामीटर, फ़ाइल नाम और मोड लेता है।
Range
Input
Open()
Pass
Previous Question