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 if the system date is 21st June, 2017 (Wednesday)? import datetime tday=datetime.date.today() print(tday.isoweekday())
यदि सिस्टम दिनांक 21 जून, 2017 (बुधवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday=datetime.date.today() print(tday.isoweekday())
Wed
Wednesday
2
3
Next Question
25
See Explanation !
2
What is zeros() function in numpy use to?
numpy उपयोग में zeros() फ़ंक्शन क्या है?
make a matrix with first column 0
make a matrix with all elements 0
make a matrix with diagonal elements 0
All of the above
Previous Question
Next Question
25
See Explanation !
3
Which of the following is correct about Python
पाइथन के बारे में निम्नलिखित में से कौन सा सही है
It supports automatic garbage collection
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
4
What will the following code output? a=5 a*=10 print(a)
निम्नलिखित कोड क्या आउटपुट देगा? a=5 a*=10 print(a)
5
10
50
Error
Previous Question
Next Question
25
See Explanation !
5
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 !
6
Which of the following is a membership operator in Python?
निम्नलिखित में से कौन पायथन में एक सदस्यता ऑपरेटर है?
is
in
on
at
Previous Question
Next Question
25
See Explanation !
7
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 !
8
Which of the following functions will not result in an error when no arguments are passed to it?
जब कोई आर्ग्यमन्ट पास नहीं किया जाता हैं, तो निम्नलिखित में से कौन से फंक्शन में एरर आएगा ?
min()
divmod()
all()
float()
Previous Question
Next Question
25
See Explanation !
9
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.values () में x के लिए: print(x)
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
10
Which of the following is the datatype possible in python?
पाइथन में निम्नलिखित में से कौन सा डेटाटाइप संभव है?
int
list
dictionary
All of the above
Previous Question
Next Question
25
See Explanation !
11
what is 'f' in the following statement? f=open("Data.txt","r")
निम्नलिखित कथन में 'f' क्या है? f=open("Data.txt","r")
file name
file handle
Mode of file
file handling
Previous Question
Next Question
25
See Explanation !
12
Which one of the following is the correct way of calling a function?
निम्नलिखित में से कौन-सा एक फंक्शन को कॉल करने का सही तरीका है?
function_name()
call function_name()
ret function_name()
function function_name()
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code if the system date is 18th June, 2017 (Sunday)? import datetime tday=datetime.date.today() print(tday)
यदि सिस्टम की तारीख 18 जून, 2017 (रविवार) है, तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import datetime tday = datetime.date.today () print(tday)
18-06-2017
06-18-2017
2017-06-18
Error
Previous Question
Next Question
25
See Explanation !
14
Flowchart and algorithms are used for
फ्लोचार्ट और एल्गोरिदम का उपयोग किसके लिए किया जाता है
Better programming
easy testing and debugging
Efficient Coding
All
Previous Question
Next Question
25
See Explanation !
15
The _____ statement is used for exiting from the loop.
लूप से बाहर निकलने के लिए _____ कथन का उपयोग किया जाता है।
Continue
Break
pass
None of these
Previous Question
Next Question
25
See Explanation !
16
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 !
17
_____ reports all error with line numbers and produce faster object code then interpreter.
_____ लाइन संख्याओं के साथ सभी त्रुटि की रिपोर्ट करता है और फिर दुभाषिया के बाद तेज़ ऑब्जेक्ट कोड का उत्पादन करता है।
Compiler
Assembler
Translator
None of these
Previous Question
Next Question
25
See Explanation !
18
Give the output of: print(2^5)
इसका आउटपुट क्या होगा : print(2^5)
32
7
10
3
Previous Question
Next Question
25
See Explanation !
19
What is unpickling?
अनपिकलिंग क्या है
It is used for object serialization
It is used for object de-serialization
change the string value to number
extract the list element in simple variable
Previous Question
Next Question
25
See Explanation !
20
Is it safe to directly use the == operator to determine whether objects of type float are equal ?
क्या यह निर्धारित करने के लिए सीधे == ऑपरेटर का उपयोग करना सुरक्षित है कि टाइप फ्लोट की वस्तुएं समान हैं या नहीं?
Yes
No
Yes, if the values are < 100
Yes, if the values are > 100
Previous Question
Next Question
25
See Explanation !
21
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 !
22
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 !
23
The data type whose representation is known are called
जिस डेटा प्रकार का प्रतिनिधित्व ज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
24
____ is a function of dictionary gets all the values from the dictionary.
____ शब्दकोश का एक कार्य है जो शब्दकोश से सभी मान प्राप्त करता है।
values()
chr()
uni()
None of these
Previous Question
Next Question
25
See Explanation !
25
What is the output of the following program ? print "Hello World".[::-1]
निम्नलिखित प्रोग्राम का आउटपुट क्या है? print "Hello World".[::-1]
dlroWolleH
Hello Worl
d
Error
Previous Question