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? print("xyyzxyzxzxyy".count('xyy', 2, 11))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".count(' xyyy ', 2, 11))
2
0
1
error
Next Question
25
See Explanation !
2
Which of the following functions does not throw an error?
निम्नलिखित में से कौन सा फंक्शन एरर नहीं देता है?
ord()
ord(‘ ‘)
ord(”)
ord(“”)
Previous Question
Next Question
25
See Explanation !
3
The structure having keys and values is called _____ .
चाबियाँ और मानों वाली संरचना को _____ कहा जाता है।
List
Dictionary
Tuple
None of these
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 == d2)
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
5
Which function removes a set's first and the last element from a list?
कौन सा फ़ंक्शन एक सूची से एक सेट के पहले और अंतिम तत्व को हटा देता है?
pop
remove
dispose
None of these
Previous Question
Next Question
25
See Explanation !
6
How many keywords are there in python 3.7?
पायथन 3.7 में कितने कीवर्ड हैं?
32
33
31
30
Previous Question
Next Question
25
See Explanation !
7
what will the output of : 34//5+34%5 in python
पायथन में: 34//5+34%5 का आउटपुट क्या होगा
15
150
200
10
Previous Question
Next Question
25
See Explanation !
8
Which module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?
HTTP
urllib
socket
header
Previous Question
Next Question
25
See Explanation !
9
Both the functions randint and uniform accept ____________ parameters.
दोनों फ़ंक्शन में रैंडम और यूनिफार्म ____________ पैरामीटर्स को स्वीकार करते हैं।
0
1
3
2
Previous Question
Next Question
25
See Explanation !
10
Which of these about a frozenset is not true?
फ्रोजेनसेट के बारे में इनमें से कौन सा सच नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
11
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन सा प्रोग्रामिंग कोड लाइन दर लाइन निष्पादित करता है?
Compiler
Interpreter
Executer
Translator
Previous Question
Next Question
25
See Explanation !
12
A natural number 1 is also an ____ .
एक प्राकृतिक संख्या 1 भी एक ____ है।
Factor
integer number
unique number
None of these
Previous Question
Next Question
25
See Explanation !
13
To convert the read value through input() into integer type, ______ () is used
इनपुट () के माध्यम से रीड वैल्यू को पूर्णांक प्रकार में बदलने के लिए, ______ () का उपयोग किया जाता है
floating
float
int
integer
Previous Question
Next Question
25
See Explanation !
14
How to import numpy module?
कैसे numpy मॉड्यूल आयात करने के लिए?
from numpy import *
import numpy
import numpy as my_numpy
All of above
Previous Question
Next Question
25
See Explanation !
15
What is “Hello”.replace(“l”, “e”)?
“Hello”.replace(“l”, “e”) क्या है?
Heeeo
Heelo
Heleo
None
Previous Question
Next Question
25
See Explanation !
16
Which of the following is not a valid identifier?
निम्नलिखित में से कौन एक मान्य पहचानकर्ता नहीं है?
student
s12
123
_123
Previous Question
Next Question
25
See Explanation !
17
The.........symbol is always the first and the last symbol in the flowchart.
......... symbol फ्लोचार्ट में हमेशा पहला और अंतिम प्रतीक होता है।
Rectangle
Terminal
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
18
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 !
19
What is a correct syntax to print the number 8 from the array below: arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
नीचे दिए गए सरणी से संख्या 8 को प्रिंट करने के लिए सही सिंटैक्स क्या है: arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
print(arr[3,0])
print(arr[1,2])
print(arr[7,2])
None of The Above
Previous Question
Next Question
25
See Explanation !
20
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ORD (' A '))
65
97
32
67
Previous Question
Next Question
25
See Explanation !
21
What is the output of the expression : 3*1**3 ?
अभिव्यक्ति का आउटपुट क्या है: 3*1**3 ?
27
9
3
1
Previous Question
Next Question
25
See Explanation !
22
If we overcome the rules of the programming language, we get
यदि हम प्रोग्रामिंग भाषा के नियमों को पार करते हैं, तो हमें
Runtime error
Syntax error
logical error
None of the above.
Previous Question
Next Question
25
See Explanation !
23
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 !
24
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Previous Question
Next Question
25
See Explanation !
25
The function that yields current position in the file.
फ़ंक्शन जो फ़ाइल में वर्तमान स्थिति प्राप्त करता है।
tell()
write()
Writelines()
None of the above
Previous Question