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
Which of the following functions helps us to randomize the items of a list?
निम्नलिखित में से कौन सा फ़ंक्शन किसी लिस्ट के आइटम्स को रैनडोमाइज़ करने में हमारी हेल्प करता है?
seed
randomise
shuffle
uniform
Next Question
25
See Explanation !
2
What are the three different types, of algorithm constructions?
एल्गोरिथ्म निर्माण के तीन अलग - अलग प्रकार क्या हैं?
Input/Output, Decision, Repeat
Loop, Input/Output, Process
Input, Output, Process
Sequence, Selection, Repeat
Previous Question
Next Question
25
See Explanation !
3
which of the following are valid string manipulation function in python
पायथन में मान्य स्ट्रिंग हेरफेर फ़ंक्शन निम्नलिखित में से कौन से हैं
count()
strip()
upper()
All of the above
Previous Question
Next Question
25
See Explanation !
4
What will be output for the following code ? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
निम्नलिखित कोड का परिणाम क्या है? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
0
1
2
3
Previous Question
Next Question
25
See Explanation !
5
What will be the output of the following pseudo code? Integer a,b | set a=10,b=5 | a=a mod(a-6) | b=b mod(b-2) | print a-b
निम्नलिखित छद्म कोड का आउटपुट क्या होगा? पूर्णांक a,b | सेट a=10,b=5 | a = a mod(a -6) | b= b mod(b -2) | प्रिंट a - b
4
0
1
8
Previous Question
Next Question
25
See Explanation !
6
What will be the output of the following Python code snippet? x = 'abcd' for i in range(len(x)): x[i].upper() print (x)
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? x = i के लिए 'abcd' in range(len(x)): x[i ].upper () print (x)
abcd
ABCD
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
7
Which of the following functions is a built-in function in python?
निम्नलिखित में से कौन सा फ़ंक्शन पायथन में एक अंतर्निहित फ़ंक्शन है?
seed()
sqrt()
factorial()
print()
Previous Question
Next Question
25
See Explanation !
8
Function range(10, 5, 2) will yield an iterable sequence like
फंक्शन रेंज(10, 5, 2) से एक पुनरावर्तनीय अनुक्रम प्राप्त होगा जैसे
[]
[10, 8, 6]
[2, 5, 8]
[8, 5, 2]
Previous Question
Next Question
25
See Explanation !
9
_____ is not used as loop in python
पायथन में लूप के रूप में _____ का उपयोग नहीं किया जाता है
for
while
do while
None of the above
Previous Question
Next Question
25
See Explanation !
10
What the does random.seed(3) return?
random.seed (3) क्या रिटर्न करता है ?
True
None
3
1
Previous Question
Next Question
25
See Explanation !
11
The output of this expression, >>>6*1**3 is ____ .
इस अभिव्यक्ति का आउटपुट, >>>6*1**3 ____ है।
6
18
10
None of these
Previous Question
Next Question
25
See Explanation !
12
Which is/are the the valid string value in Python
पायथन में मान्य स्ट्रिंग मान कौन सा है/हैं
"12345"
"@#$%"
"Rajesh"
All of These
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? import random print(random.randrange(0,91,5))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? import random print(random.randrange(0,91,5))
10
18
79
95
Previous Question
Next Question
25
See Explanation !
14
Which one of the following is a valid Python if statement:
निम्नलिखित में से कौन एक मान्य पायथन है यदि कथन:
if a> = 2:
if (a>= 2)
if (a => 22)
if a >= 22
Previous Question
Next Question
25
See Explanation !
15
Select the reserved keyword in python
पायथन में आरक्षित कीवर्ड का चयन करें
else
raise
import
All of the mentioned
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code if the system date is: 6/19/2017 import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
यदि सिस्टम दिनांक है: 6/19/2017 तो निम्नलिखित पायथन कोड का आउटपुट क्या होगा import datetime tday=datetime.date.today() tdelta=datetime.timedelta(days=10) print(tday+tdelta)
2017-16-19
2017-06-9
2017-06-29
Error
Previous Question
Next Question
25
See Explanation !
17
A sentinel-controlled loop can be implemented using _____
_____ का उपयोग करके एक प्रहरी - नियंत्रित लूप को लागू किया जा सकता है।
if
for
Both of the above
None
Previous Question
Next Question
25
See Explanation !
18
In a flow chart, which of the following is used to test the condition ?
फ्लो चार्ट में, स्थिति का परीक्षण करने के लिए निम्नलिखित में से किसका उपयोग किया जाता है?
Terminal
Process
Input/Output
Decision
Previous Question
Next Question
25
See Explanation !
19
Which module is to be imported for using randint() function?
randint () फंक्शन का उपयोग करने के लिए कौन सा मॉडयूल आयात किया जाता है ?
random
randrange
randomrange
rand
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code? a=[1,2,3] b=a.append(4) print(a) print(b)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a=[1,2,3] b= a.append (4) print(a) print(b)
[1,2,3,4] [1,2,3,4]
[1, 2, 3, 4] None
Syntax error
[1,2,3] [1,2,3,4]
Previous Question
Next Question
25
See Explanation !
21
A sequence of instruction, in a computer language, to get the desired result is known as
वांछित परिणाम प्राप्त करने के लिए कंप्यूटर भाषा में निर्देश का एक अनुक्रम के रूप में जाना जाता है
An algorithm
A decision table
A program
None of the above
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code? print("xyyzxyzxzxyy".count('yy', 1))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print("xyyzxyzxzxyy".count('yy', 1))
2
0
1
none of the mentioned
Previous Question
Next Question
25
See Explanation !
23
Which is the function to read the remaining lines of the file from a file object infile?
फ़ाइल ऑब्जेक्ट infile से फ़ाइल की शेष पंक्तियों को पढ़ने के लिए कौन सा फंक्शन है?
infile.read(2)
infile.read()
infile.readlines()
infile.readline()
Previous Question
Next Question
25
See Explanation !
24
Which method is used to read the entire content of a file as a string in Python?
पायथन में फ़ाइल के पूरे डाटा को स्ट्रिंग के रूप में पढ़ने के लिए किस फंक्शन का उपयोग किया जाता है?
read()
readline()
readlines()
load()
Previous Question
Next Question
25
See Explanation !
25
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
True
False
1
Error
Previous Question