Home
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
Other 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
2024
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 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
Next Question
25
See Explanation !
2
..........design approach starts by dividing the complex algorithm into one or more modules.
..........डिजाइन दृष्टिकोण जटिल एल्गोरिथ्म को एक या अधिक मॉड्यूल में विभाजित करके शुरू होता है।
Top-Down
Down-Top
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
3
A computer programme that manages and controls a computer’s activity :
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है:
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
4
Which of the following is not a declaration of the dictionary?
निम्नलिखित में से कौन सा ड़िक्शनरी का डिक्लेरेशन नहीं है?
{1: ‘A’, 2: ‘B’}
dict([[1,”A”],[2,”B”]])
{1,”A”,2”B”}
{ }
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following Python code? print('xyyzxxyxyy'.lstrip('xyy'))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print('xyyzxxyxyy '.lstrip (' xyy '))
error
zxxyxyy
z
zxxy
Previous Question
Next Question
25
See Explanation !
6
____ is the output you get when '2'==2 is executed
____ वह आउटपुट है जो आपको तब मिलता है जब '2'==2 निष्पादित होता है-
True
false
ValueError occurs
TypeError occurs
Previous Question
Next Question
25
See Explanation !
7
What is the output of this code? def calc(x): r=2*x**2 return r print(calc(5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def calc(x): r=2*x**2 return r print(calc(5))
Error
50
100
20
Previous Question
Next Question
25
See Explanation !
8
Which of the following carries out the instructions defined in the interface ?
निम्नलिखित में से कौन इंटरफ़ेस में परिभाषित निर्देशों का पालन करता है?
Operating System
Compiler
Implementation
Interpreter
Previous Question
Next Question
25
See Explanation !
9
Which is Special type of literal in Python
जो पायथन में विशेष प्रकार का शाब्दिक है
Integer
Complex Number
None
String
Previous Question
Next Question
25
See Explanation !
10
What is the output of the following? print(max([1, 2, 3, 4.] [4, 5, 6], [7]))
निम्नलिखित कोड का परिणाम क्या है ? print(max([1, 2, 3, 4.] [4, 5, 6], [7]))
[4,5, 6]
[7]
[1, 2,3, 4]
7
Previous Question
Next Question
25
See Explanation !
11
Which function is used to generate evenly spaced values within a specified range?
किसी निर्दिष्ट सीमा के भीतर समान दूरी वाले मान उत्पन्न करने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
numpy.linspace()
numpy.range()
numpy.arrange()
numpy.spaceline()
Previous Question
Next Question
25
See Explanation !
12
Which of the following is Immutable object.
निम्नलिखित में से कौन अपरिवर्तनीय वस्तु है।
List
Tuple
Dictionary
All of the above
Previous Question
Next Question
25
See Explanation !
13
Work of tell() method in file processing is
फाइल प्रोसेसिंग में tell() फंक्शन का कार्य है
Tells you the current position within the file.
Tells the size of file you read
Tells the start position of the file.
Tells the end position of the file.
Previous Question
Next Question
25
See Explanation !
14
in python which function is used to read CSV file
पायथन में CSV फ़ाइल को पढ़ने के लिए किस फ़ंक्शन का उपयोग किया जाता है?
csv.reader(file)
csv.read(file)
csv.readcsv(file)
csv.readcsvdata(file)
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following ? import numpy as np a = np.arange(1,5,2) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np a = np.arange(1,5,2) print(a)
[1 3 5]
[1 3]
[1,3]
[1,2,3,4,5]
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? example = "helle" print(example.find("e"))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? example = "helle" print(example.find("e"))
Error
-1
1
0
Previous Question
Next Question
25
See Explanation !
17
What will be the output of the following code? import numpy as np a=np.array([1,2,3]) print(a.ndim)
निम्नलिखित कोड का परिणाम क्या है? import numpy as np a=np.array([1,2,3]) print(a.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
18
In Python, a variable must be declared before it is assigned a value.
पायथन में, एक चर को एक मान निर्दिष्ट करने से पहले घोषित किया जाना चाहिए।
True
False
Only in Functions
Only in modules
Previous Question
Next Question
25
See Explanation !
19
If a={5,6,7}, what happens when a.add(5) is executed?
यदि a = {5,6,7}, तो क्या होता है जब a.add (5) निष्पादित होता है?
a={5,5,6,7}
a={5,6,7}
Error as there is no add function for set data type
Error as 5 already exists in the set
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? d = {0: 'a', 1: 'b', 2: 'c'} for x in d.values(): print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? d = {0 :' a ', 1 :' b ', 2 :' c '} d.values () में x के लिए: print(x)
0 1 2
a b c
0 a 1 b 2 c
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
What is the output of the following code: L=['a','b','c','d'] print ( "".join(L))
निम्नलिखित कोड का आउटपुट क्या है: L=[' a ', 'b ',' c ', 'd '] print (".join(L))
Error
None
abcd
[‘a’,’b’,’c’,’d’]
Previous Question
Next Question
25
See Explanation !
22
Function of a compiler is to
एक संकलक का कार्य है
put to gether the file and functions that are required by the program
translate the instructions in to a form suitable for execution by the program
load the executable code in to the memory and execute them
allow the user to type the program
Previous Question
Next Question
25
See Explanation !
23
What will the following code output? print(ord(‘A’))
निम्नलिखित कोड आउटपुट क्या होगा? print(ORD (' A '))
65
97
32
67
Previous Question
Next Question
25
See Explanation !
24
Which of the following arrays is a two dimensional (2-D) array?
निम्न में से कौन सा सरणियाँ द्विविमीय (2-डी) सरणी है?
89
[1,2,3,4]
[1,2,3],[3,4,5],[1,3,4]
[[2 3 5][ 4 5 6][4 5 6]]
Previous Question
Next Question
25
See Explanation !
25
A sequence of immutable objects is called
अपरिवर्तनीय वस्तुओं का क्रम कहलाता है
Built in
List
Tuple
Derived data
Previous Question