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 Code? def sum(x): return x*x print(sum(4))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def sum(x): return x*x print(sum(4))
16
4
8
64
Next Question
25
See Explanation !
2
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 !
3
The errors that can be pointed out by the complier are.
अनुपालनकर्ता द्वारा बताई जा सकने वाली त्रुटियां हैं।
Semantic errors
Syntax errors
Logical errors
All of the above
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following python code? from math import * floor(11.7)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import * floor(11.7)
12
11
11.0
none of these
Previous Question
Next Question
25
See Explanation !
5
Which of the following statements given below is/are true?
नीचे दिए गए कथनों में से कौन - सा कथन सही है/हैं?
Tuples have structure; lists have an order
Tuples are homogeneous, lists are heterogeneous.
Tuples are immutable, lists are mutable.
All of them
Previous Question
Next Question
25
See Explanation !
6
Which of the following is true about the break statement in loops?
लूप्स में ब्रेक स्टेटमेंट के बारे में निम्नलिखित में से कौन सा सत्य है?
It skips the current iteration and goes to the next iteration.
It terminates the loop entirely
It does nothing.
It restarts the loop.
Previous Question
Next Question
25
See Explanation !
7
Operations to be repeated a certain number of times are done by
संक्रियाओं को एक निश्चित संख्या में बार-बार दोहराए जाने के द्वारा किया जाता है
Selection
Sequential
Simple
Loop
Previous Question
Next Question
25
See Explanation !
8
Which of the following will delete key-value pair for key="tiger" in dictionary? dic={"lion":"'wild","tiger":"'wild",'cat":"domestic","dog":"domestic"}
निम्नलिखित में से कौन सा शब्दकोश में key="tiger" के लिए key - value pair को हटा देगा? dic ={" lion ":"' wild ", "tiger ":" wild ", 'cat ":"domestic "," dog ":"domestic "}
del dic("tiger"]
dic["tiger"].delete()
delete(dic.["tiger'])
del(dic.["tiger"])
Previous Question
Next Question
25
See Explanation !
9
The datatype whose representation is unknown are called
जिस डेटाटाइप का प्रतिनिधित्व अज्ञात है, उसे कहा जाता है
Built in datatype
Derived datatype
concrete datatype
Abstract datatype
Previous Question
Next Question
25
See Explanation !
10
What will be output for the following code ? import numpy as np a=np.array([2,3,4,5]) print(a.dtype)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a=np.array([2,3,4,5]) print(a.dtype)
int32
int
float
none of these
Previous Question
Next Question
25
See Explanation !
11
Which of the following types of loops are not supported in Python?
निम्नलिखित में से किस प्रकार के लूप पायथन में सपोर्ट नहीं करता हैं?
for
While
do-while
None of these
Previous Question
Next Question
25
See Explanation !
12
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 !
13
If we try to access the item outside the list index, then what type of error it may give ?
यदि हम सूची सूचकांक के बाहर आइटम तक पहुंचने का प्रयास करते हैं, तो यह किस प्रकार की त्रुटि दे सकता है?
List is not defined
List index out of range
List index out of bound
None of the above
Previous Question
Next Question
25
See Explanation !
14
What will be the output of the following Python code? word1="Apple" word2="Apple" list1=[1,2,3] list2=[1,2,3] print(word1 is word2) print(list1 is list2)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? word1 ="Apple" word2 = "Apple" list1=[1,2,3] list2 =[1,2,3] print(word1 is word2) print(list1 is list2)
True True
False True
False False
True False
Previous Question
Next Question
25
See Explanation !
15
Which of the following executes the programming code line by line?
निम्नलिखित में से कौन सा प्रोग्रामिंग कोड लाइन दर लाइन निष्पादित करता है?
Compiler
Interpreter
Executer
Translator
Previous Question
Next Question
25
See Explanation !
16
Suppose a list with name arr, contains 5 elements. You can get the 2nd element from the list using :
मान लीजिए arr नाम वाली एक सूची में 5 तत्व हैं। आप सूची से दूसरा तत्व प्राप्त कर सकते हैं:
arr[-2]
arr[2]
arr[-1]
arr[1]
Previous Question
Next Question
25
See Explanation !
17
empty( ) function used to create a NumPy array which contained the values
empty() फ़ंक्शन का उपयोग NumPy सरणी बनाने के लिए किया जाता है जिसमें मान होते हैं
Filled with Zero
Filled with Blank space
Filled with random garbage value
Filled with One
Previous Question
Next Question
25
See Explanation !
18
Which statement is correct to import all modules from the package ?
पैकेज से सभी मॉड्यूल आयात करने के लिए कौन सा कथन सही है?
From package import all
From package import *
From package include all
From package include *
Previous Question
Next Question
25
See Explanation !
19
what will the output of following : print(2+9*((3*12)-8)/10)
निम्नलिखित कोड का आउटपुट क्या होगा? print( 2+9*((3*12)-8)/10)
27.2
29.0
14.9
12.3
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? print('abcd'.partition('cd'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('abcd '.partition (' cd '))
(‘ab’, ‘cd’, ”)
(‘ab’, ‘cd’)
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
Which inbuilt function is used to takes an iterable object as input and makes them immutable.
कौन सा इनबिल्ट फ़ंक्शन एक पुनरावर्तनीय वस्तु को इनपुट के रूप में लेने के लिए उपयोग किया जाता है और उन्हें अपरिवर्तनीय बनाता है।
frozenset()
obj()
input()
None of these
Previous Question
Next Question
25
See Explanation !
22
What is true about a break statement?
ब्रेक स्टेटमेंट के बारे में क्या सच है?
Break stops the execution of entire program
Break halts the execution and forces the control out of the loop
Break forces the control out of the loop and starts the execution of next iteration
Break halts the execution of the loop for certain time frame
Previous Question
Next Question
25
See Explanation !
23
Suppose listExample is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after listExample.pop()?
मान लीजिए सूची है। [3, 4, 5, 20, 5, 25, 1, 3], listExample.pop() के बाद लिस्ट1 क्या है।
[3, 4, 5, 20, 5, 25, 1]
[1, 3, 3, 4, 5, 5, 20, 25]
[3, 5, 20, 5, 25, 1, 3]
[1, 3, 4, 5, 20, 5, 25]
Previous Question
Next Question
25
See Explanation !
24
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 !
25
If wd="Hello World" then which of the following statements will display last five characters of the string object?
यदि wd="Hello World" है तो निम्नलिखित में से कौन सा कथन स्ट्रिंग ऑब्जेक्ट के अंतिम पाँच अक्षर प्रदर्शित करेगा?
wd[4:]
wd[:4]
wd[-5:]
wd[:-4]
Previous Question