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
What will be the output of the following Python code? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[10,23,56,[78]] b=list(a) a[3][0]=95 a[1]=34 print(b)
[10,34,56,[95]]
[10,23,56,[78]]
[10,23,56,[95]]
[10,34,56,[78]]
Next Question
25
See Explanation !
2
What will be the output of the following Python code? matrix = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? मैट्रिक्स = [[1, 2, 3, 4], [4, 5, 6, 7], [8, 9, 10, 11], [12, 13, 14, 15]] for i in range(0, 4): print(matrix[i][1], end = " ")
1 2 3 4
4 5 6 7
1 3 8 12
2 5 9 13
Previous Question
Next Question
25
See Explanation !
3
Which of the following is the basic I/O connections in file ?
फ़ाइल में निम्न में से कौन सा बुनियादी I/O कनेक्शन है?
Standard Input
Standard Output
Standard Errors
All of the mentioned
Previous Question
Next Question
25
See Explanation !
4
____function reads a single line from the file; a newline character (\n) is left at the end of the string.
____फ़ंक्शन फ़ाइल से एक पंक्ति पढ़ता है; स्ट्रिंग के अंत में एक नई पंक्ति वर्ण (\n) छोड़ दिया जाता है।
read()
Readline()
write()
None of these
Previous Question
Next Question
25
See Explanation !
5
You do not have pay Python and you can view its source code too. it means Python is _______
आपके पास पायथन का भुगतान नहीं है और आप इसका स्रोत कोड भी देख सकते हैं। इसका मतलब है कि पायथन _______ है
Free and Open Source
Freeware
Open source
Shareware
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code? example = "helle" print(example.rfind("e"))
निम्नलिखित कोड का परिणाम क्या है ? example = "helle" print(example.rfind("e"))
1
2
4
5
Previous Question
Next Question
25
See Explanation !
7
What is the range of values that random.random() can return?
उन वैल्यू की रेंज क्या है जो random.random () रिटर्न आ सकते हैं?
[0.0, 1.0]
(0.0, 1.0]
(0.0, 1.0)
[0.0, 1.0)
Previous Question
Next Question
25
See Explanation !
8
If we not see the rules of th programming language, we get ?
यदि हम प्रोग्रामिंग भाषा के नियमों को नहीं देखते हैं, तो हमें क्या मिलता है?
Runtime Error
Syntax Error
Logical Error
None of the above
Previous Question
Next Question
25
See Explanation !
9
What is the maximum possible length of an identifier for better redability? -
बेहतर रीडेबिलिटी के लिए एक पहचानकर्ता की अधिकतम संभव लंबाई क्या है? -
31 characters
63 characters
No limit but 79 characters for better redability
All of the above.
Previous Question
Next Question
25
See Explanation !
10
The data type of an expression int(m)/int(n) will result in:
किसी अभिव्यक्ति के डेटा प्रकार int(m )/ int(n) का परिणाम होगा:
Int
Float
int or float
None of these
Previous Question
Next Question
25
See Explanation !
11
Which statement is generally used as a placeholder?
कौन सा कथन सामान्यतः प्लेसहोल्डर के रूप में प्रयोग किया जाता है?
continue
break
pass
goto
Previous Question
Next Question
25
See Explanation !
12
Which of the following is a valid way to create an empty tuple?
खाली टपल बनाने के लिए निम्नलिखित में से कौन सा एक वैध तरीका है?
empty_tuple = ()
empty_tuple = tuple()
empty_tuple = []
Both A and B
Previous Question
Next Question
25
See Explanation !
13
Which function is used to get the number of elements in a NumPy array?
NumPy सरणी में तत्वों की संख्या प्राप्त करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
len(array)
array.length()
array.size
count(array)
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following pseudo code, where & represent AND operation ? Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
निम्नलिखित छद्म कोड का आउटपुट क्या होगा, जहाँ - Integer a, b, c | Set b= 5, a = 1 | c= a & b | Print c
1
3
5
7
Previous Question
Next Question
25
See Explanation !
15
In which year was the Python language developed?
पायथन भाषा का विकास किस वर्ष में हुआ था?
1995
1972
1981
1991
Previous Question
Next Question
25
-d2)-">
See Explanation !
-d2)-" target="_blank">
16
What will be the output of the following Python code snippet? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
-d2)-" target="_blank">निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? d1 = {"john":40, "peter":45} d2 = {"john":466, "peter":45} print(d1 > d2)
True
False
Error
None
Previous Question
Next Question
25
See Explanation !
17
Suppose listExample is [‘h’,’e’,’l’,’l’,’o’], what is len(listExample)?
मान लीजिए listExample [' h ',’e ',’ l ', ’l ',’ o '] है, len(listExample) क्या है?
5
4
None
Error
Previous Question
Next Question
25
See Explanation !
18
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.extend([34, 5])?
मान लीजिए लिस्ट है [3, 4, 5, 20, 5, 25, 1, 3] ,listExample.extend([34, 5]) के बाद की लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1, 3, 34, 5]
[1, 3, 3, 4, 5, 5, 20, 25, 34, 5]
[25, 20, 5, 5, 4, 3, 3, 1, 34, 5]
[1, 3, 4, 5, 20, 5, 25, 3, 34, 5]
Previous Question
Next Question
25
See Explanation !
19
_________immediately terminates the current loop iteration.
_________ वर्तमान लूप पुनरावृत्ति को तुरंत समाप्त कर देता है।
break
pass
continue
None of These
Previous Question
Next Question
25
See Explanation !
20
What is an algorithm
एल्गोरिथ्म क्या है
A flowchart
Step by step instructions used to solve a problem
A flowchart or pseudo code
A decision
Previous Question
Next Question
25
See Explanation !
21
To include the use of functions which are present in the random library, we must use the option:
उन फ़ंक्शन का उपयोग शामिल करने के लिए जो रैंडम लाइब्रेरी में मौजूद हैं, हमें किस ऑप्शन का यूज़ करना चाहिए:
import random
random.h
import.random
random.random
Previous Question
Next Question
25
See Explanation !
22
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 !
23
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = 'abcd' for i in range(len(x)): print(x) x = 'a'
a
abcd abcd abcd abcd
a a a a
none of the mentioned
Previous Question
Next Question
25
See Explanation !
24
The function pow(x,y,z) is evaluated as:
फ़ंक्शन pow(x, y, z) का मूल्यांकन इस प्रकार है:
(x**y)**z
(x**y) / z
(x**y) % z
(x**y)*z
Previous Question
Next Question
25
See Explanation !
25
What will return by math.trunc() function in python
पायथन में Math.trunc() फ़ंक्शन द्वारा क्या लौटाया जाएगा
The truncated decimal part of a number
The rounded integer value of a number.
The truncated integer value of a number.
The floor (largest integer less than or equal to the number).
Previous Question