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
New!
CSS
New!
Javascript
New!
Python
New!
Log in
Sign Up
O Level Papers!
M3 R5: Programming and Problem Solving through Python
Set
25
See Explanation !
1
Extension of python module is
पायथन मॉड्यूल का एक्सटेंशन क्या है
.mod
.module
.py
.python
Next Question
25
See Explanation !
2
Which statement will move file pointer 10 bytes backward from current position.
कौन सा स्टेटमेंट फाइल पॉइंटर को वर्तमान स्थिति से 10 बाइट पीछे ले जाएगा ।
f.seek(-10, 0)
f.seek(10,0)
f.seek(-10, 1)
None of the above
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? tuple1=(5,1,7,6,2) tuple1.pop(2) print(tuple1)
(5,1,6,2)
(5,1,7,6)
(5,1,7,6,2)
Error
Previous Question
Next Question
25
See Explanation !
4
Which file extension is used to save Python files?
पायथन फ़ाइलों को सहेजने के लिए किस फ़ाइल एक्सटेंशन का उपयोग किया जाता है?
.py
.python
.pt
.pyt
Previous Question
Next Question
25
See Explanation !
5
The GCD of the numbers 136 and 170 is ______ .
136 और 170 संख्याओं का GCD ______ है।
34
40
50
None
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? x = "abcdef" i = "a" while i in x: x = x[1:] print(i, end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? x = "abcdef" i = "a" जबकि i x: x = x[1:] print(i, end = "")
a a a a a a
a
no output
error
Previous Question
Next Question
25
See Explanation !
7
Given a string s="Welcome", which of the following code is incorrect ?
एक स्ट्रिंग s="Welcome" दी गई है, निम्नलिखित में से कौन सा कोड गलत है?
print s[0]
print s.lower()
s[1]='r'
print s.strip()
Previous Question
Next Question
25
See Explanation !
8
What will be the output of the following Python code? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a={5,6,7,8} b={7,8,9,10} print(len(a+b))
8
Error, unsupported operand ‘+’ for sets
6
Nothing is displayed
Previous Question
Next Question
25
See Explanation !
9
Data structure used in recursion.
रिकर्सन में उपयोग की जाने वाली डेटा संरचना।
Stack
Queue
Pointer
None of these
Previous Question
Next Question
25
See Explanation !
10
____ is used to close a file object(fp).
____ का उपयोग फ़ाइल ऑब्जेक्ट(fp) को बंद करने के लिए किया जाता है।
close.fp
fp.close()
file.exit()
None of these
Previous Question
Next Question
25
See Explanation !
11
Which one of these is floor division?
इनमें से कौन सा फर्श विभाजन है?
/
//
%
None of the mentioned
Previous Question
Next Question
25
See Explanation !
12
_______ are user Define name
_______ उपयोगकर्ता हैं नाम को परिभाषित करें
Identifiers
constant
syntax
expression
Previous Question
Next Question
25
See Explanation !
13
What will the following code output? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
निम्नलिखित कोड का आउटपुट क्या होगा? a,b,c=3,5,6 b,c,a=a,b,c print(a,” ”,b,” ”,c)
3 5 6
6 3 5
5 6 3
6 5 3
Previous Question
Next Question
25
See Explanation !
14
What will be the output : 24//6%3,24//4//2
इसका आउटपुट क्या होगा: 24//6%3,24//4//2
(1,3)
(2,5)
(2,1)
(4,8)
Previous Question
Next Question
25
See Explanation !
15
Hierarchy in a pseudo-code can be shown by:
सूड़ो-कोड में पदानुक्रम को द्वारा दिखाया जा सकता है|
Curly Braces
Round Brackets
Indentation
Semicolon
Previous Question
Next Question
25
See Explanation !
16
Which predefined Python function is used to find length of String()
स्ट्रिंग() की लंबाई का पता लगाने के लिए किस पूर्वनिर्धारित पायथन फ़ंक्शन का उपयोग किया जाता है
length
length()
len()
None
Previous Question
Next Question
25
See Explanation !
17
Both the functions randint and uniform accept ____________ parameters.
दोनों फ़ंक्शन में रैंडम और यूनिफार्म ____________ पैरामीटर्स को स्वीकार करते हैं।
0
1
3
2
Previous Question
Next Question
25
See Explanation !
18
which of the following will read entire content of file (file object 'f')?
निम्नलिखित में से कौन फ़ाइल (file object 'f') की संपूर्ण सामग्री को पढ़ेगा ?
f.reads()
f.read()
f.read(all)
f.read( *)
Previous Question
Next Question
25
See Explanation !
19
Which one is not the attribute of a file ?
इनमें से कौन एक फाइल की विशेषता नहीं है ?
softspace
mode
closed
rename
Previous Question
Next Question
25
See Explanation !
20
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 !
21
What plays a vital role in Python programming?
पायथन प्रोग्रामिंग में क्या महत्वपूर्ण भूमिका निभाता है?
Statements
Control
Structure
Indentation
Previous Question
Next Question
25
See Explanation !
22
Advantage of using Flow Charts are :
फ़्लो चार्ट का उपयोग करने के लाभ हैं :
Effective Analysis
Proper documentation
Efficient Coding
All of the above
Previous Question
Next Question
25
See Explanation !
23
What will be the output of the following python program? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def addItem(listParam): listParam+=[1] mylist=[1,2,3,4] addItem(mylist) print(len(mylist))
5
8
2
1
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(t
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? data = [[[1, 2] , [3, 4]], [[5, 6], [7, 8]]] def ttt(m): v = m[0][0] for row in m: for element in row: if v < element: v = element return v print(ttt(data[0]))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
25
Which of the following declaration is incorrect?
निम्नलिखित में से कौन सी घोषणा गलत है?
a_=3
_a=3
a?=3
All of These
Previous Question