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
______ functions is a built-in function in python language.
______ फ़ंक्शन Python भाषा में एक अंतर्निहित फ़ंक्शन है।
val()
print()
print In()
const()
Next Question
25
See Explanation !
2
In the declaration, x = Circle (), x contains a _to Circle object. -
घोषणा में, x = Circle (), x में a_to Circle ऑब्जेक्ट है। -
dropna()
Reference
Optimisers
None of these
Previous Question
Next Question
25
See Explanation !
3
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 !
4
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 !
5
The readlines() method reads and returns ______ .
रीडलाइन () विधि पढ़ती है और ______ लौटाती है।
individual lines of a file.
A list of remaining lines of the entire file
Write individual lines
None of the Above
Previous Question
Next Question
25
See Explanation !
6
Tool ________ is used for program design.
टूल ________ का उपयोग प्रोग्राम डिज़ाइन के लिए किया जाता है।
Flowchart
Psuedocode
Algorithm
All of the above
Previous Question
Next Question
25
See Explanation !
7
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 !
8
What will be the output of the following Python code? from math import pow print(math.pow(2,3))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? from math import pow print(math.pow(2,3))
Nothing is printed
8
Error, method pow doesn’t exist in math module
Error, the statement should be: print(pow(2,3))
Previous Question
Next Question
25
See Explanation !
9
What is the purpose of the else block in a Python loop?
पायथन लूप में अन्य ब्लॉक का पर्पज क्या है?
To execute when the loop is terminated using break.
To execute after the loop completes without encountering a break.
To restart the loop.
To execute before the loop starts
Previous Question
Next Question
25
See Explanation !
10
What will be the output of the following code? a=((0,2,3,4)[1:-2]) print(a)
निम्नलिखित कोड का आउटपुट क्या होगा? a=((0,2,3,4)[1:-2]) print(a)
(3,)
(2, )
(1,)
(0,)
Previous Question
Next Question
25
See Explanation !
11
What will be the result of the expression : print(10 or 0) ?
अभिव्यक्ति का परिणाम क्या होगा: print(10 या 0)?
0
1
10
1.0
Previous Question
Next Question
25
See Explanation !
12
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 !
13
The data type whose representation is unknown are called
जिस डेटा प्रकार का प्रतिनिधित्व अज्ञात है उसे कहा जाता है
Built in datatype
Derived datatype
Concrete datatype
Abstract datatype
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
What is the maximum possible length of an identifier?
पहचानकर्ता की अधिकतम संभव लंबाई क्या है?
16
32
64
None of These
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? def foo(k): k[0] = 1 q = [0] foo(q) print(q)
निम्नलिखित पायथन फ़ंक्शन का आउटपुट क्या होगा? def foo(k): k[0] = 1 q = [0] foo(q) print(q)
[0]
[1]
[1, 0]
[0, 1]
Previous Question
Next Question
25
See Explanation !
17
Which statement will open file data.txt in append mode?
कौन सा स्टेटमेंट data.txt फाइल को एपेंड मोड में खोलेगा?
f = open("data.txt", "a")
f = Open("data.txt", "ab")
f= new("data.txt", "a")
open("data.txt", "a")
Previous Question
Next Question
25
See Explanation !
18
filter() is used to
filter() का उपयोग करने के लिए किया जाता है
constructs an iterator from elements of an iterable for which a function returns true.
filters the given sequence with the help of a function that tests each element in the sequence to be true or not.
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
19
It refers to the ability of an application to run on different platforms with or without minimal changes.
यह न्यूनतम परिवर्तनों के साथ या बिना विभिन्न प्लेटफार्मों पर चलाने के लिए एक एप्लिकेशन की क्षमता को संदर्भित करता है।
Error
Flexibility
Portability
Reliability
Previous Question
Next Question
25
See Explanation !
20
Which of the following is not a legal integer type value in python.
निम्नलिखित में से कौन सा पायथन में कानूनी पूर्णांक प्रकार का मान नहीं है।
Decimal
Octal
Hexadecimal
Roman
Previous Question
Next Question
25
See Explanation !
21
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 !
22
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 !
23
Which of the following is correct about Python
पाइथन के बारे में निम्नलिखित में से कौन सा सही है
It supports automatic garbage collection
It can be easily integrated with C,C++,COM, ActiveX, CORBA, and java
Both of the above
None of the above
Previous Question
Next Question
25
See Explanation !
24
Which of the following statement will be true.
निम्नलिखित में से कौन सा कथन सत्य होगा।
Python allows you to assign a single value to multiple variables simultaneously.
You can assign multiple values to multiple variables by separating variables and values with commas.
You can assign the same value to multiple variables by using = consecutively..
All of the above
Previous Question
Next Question
25
See Explanation !
25
What is the answer to this expression, 22 % 3 is?
इस व्यंजक का उत्तर क्या है, 22 % 3 है?
7
1
0
5
Previous Question