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
Which of the following statements create a dictionary?
निम्नलिखित में से कौन सा स्टेट्मेंट एक ड़िक्शनरी बनाता है?
d = {}
d = {“john”:40, “peter”:45}
d = {40:”john”, 45:”peter”}
All of the mentioned
Next Question
25
See Explanation !
2
What does the continue statement do in a loop?
लूप में कंटीन्यू स्टेटमेंट क्या करता है?
Exits the loop entirely.
Skips the rest of the code in the current iteration and moves to the next iteration.
Restarts the loop.
Causes an error.
Previous Question
Next Question
25
See Explanation !
3
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question
Next Question
25
See Explanation !
4
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 !
5
What is the output of the following code ? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.array([[1,2,3]]) print(a.shape)
(2,3)
(3,1)
(1,3)
None of These
Previous Question
Next Question
25
See Explanation !
6
If return statement is not used inside the function, the function will return:
यदि फंक्शन के अंदर रिटर्न स्टेटमेंट का उपयोग नहीं किया जाता है, तो फंक्शन रिटर्न करेगा:
None
0
Null
Arbitary value
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Code? def sum(x): return x*x print(sum(4))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def sum(x): return x*x print(sum(4))
16
4
8
64
Previous Question
Next Question
25
See Explanation !
8
The expression _____ implies that the variable x is converted to integer.
अभिव्यक्ति _____ का तात्पर्य है कि चर x को पूर्णांक में परिवर्तित किया जाता है।
exp(x)
int (x)
chr (x)
None of these
Previous Question
Next Question
25
See Explanation !
9
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
10
Which one is the type of algorithm:
कौन सा एल्गोरिथ्म का प्रकार है:
Flowchart
Pseudo
Greedy
Connector
Previous Question
Next Question
25
See Explanation !
11
A detailed flowchart is known as:
एक विस्तृत फ़्लोचार्ट के रूप में जाना जाता है:
Micro
Union
Macro
Stack
Previous Question
Next Question
25
See Explanation !
12
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन सा प्रोग्रामिंग कोड लाइन दर लाइन निष्पादित करता है?
Compiler
Interpreter
Executer
Translator
Previous Question
Next Question
25
See Explanation !
13
Choose the correct option with respect to Python.
पाइथन के सन्दर्भ में सही विकल्प का चयन कीजिए
Both tuples and lists are immutable
Tuples are immutable while lists are mutable
Both tuples and lists are mutable
Tuples are mutable while lists are immutable
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? from math import* print(floor(3.7))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import* print(floor(3.7))
3
4
3.0
None of These
Previous Question
Next Question
25
See Explanation !
15
What is mean by dynamically typed language
गतिशील रूप से टाइप की गई भाषा का क्या मतलब है
A variable can store any datatype type of value
A variable can store only numeric value
A variable can store only one type of value
A value of a variable is change each type when it run
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? str1="helloworld" print(str1[::-1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? str1="helloworld" print(str1[::-1])
dlrowolleh
hello
world
helloworld
Previous Question
Next Question
25
See Explanation !
17
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 !
18
If we change one data type to another, then it is called ______?
यदि हम एक डेटा प्रकार को दूसरे में बदलते हैं, तो इसे ______ कहा जाता है?
Type conversion
Type casting
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
19
What will be the output of the following Python code ? def display(b,n): while n>0: print(b,end='') n=n-1 display('z',3)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def display(b,n): while n>0: print(b,end='') n=n-1 display('z',3)
zzz
zz
Infinite loop
An exception is thrown
Previous Question
Next Question
25
See Explanation !
20
Python is a/an _________ language.
पायथन एक _________ भाषा है।
High Level
Low Level
Procedural
Difficult
Previous Question
Next Question
25
See Explanation !
21
What is the correct command to shuffle the following list? fruit=['apple', 'banana', 'papaya', 'cherry']
निम्नलिखित सूची में फेरबदल करने का सही आदेश क्या है? fruit=[' apple ', 'banana ',' papaya ', 'cherry ']
fruit.shuffle()
shuffle(fruit)
random.shuffle(fruit)
random.shuffleList(fruit)
Previous Question
Next Question
25
See Explanation !
22
What will be the result of the expression 5 and 10?
अभिव्यक्ति 5 और 10 का परिणाम क्या होगा?
5
1
10
0
Previous Question
Next Question
25
See Explanation !
23
which is a correct way to open a file in python
पायथन में फ़ाइल खोलने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
file_object=open(file_name,mode)
open(file_object,file_name,mode)
file_open(file_object,file_name,mode)
file_object=file_open(file_name,mode)
Previous Question
Next Question
25
See Explanation !
24
What will be the output of the following Python code? print(max("what are you"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(max("what are you"))
error
u
t
y
Previous Question
Next Question
25
See Explanation !
25
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