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
Suppose list1 is [3, 5, 25, 1, 3], what is min(list1)?
मान लीजिए list1 [3, 5, 25, 1, 3] है, तो min(list1) क्या है?
3
5
25
1
Next Question
25
See Explanation !
2
Strings in Python are _____
पायथन में तार _____ हैं।
mutable
immutable
fixed
None of these
Previous Question
Next Question
25
See Explanation !
3
What will the following code output? print(1==1.0)
निम्नलिखित कोड आउटपुट क्या होगा? print(1==1.0)
True
False
1
Error
Previous Question
Next Question
25
See Explanation !
4
The graphical representation of algorithm is
एल्गोरिथ्म का ग्राफिकल प्रतिनिधित्व है
program
Flowchart
statement
Algorithm
Previous Question
Next Question
25
See Explanation !
5
What is the purpose of an else block in loops?
लूप्स में else ब्लॉक का पर्पज़ क्या है?
To execute if the loop terminates normally without a break.
To execute after every iteration..
To handle errors in the loop.
To terminate the loop.
Previous Question
Next Question
25
See Explanation !
6
A statement is used when a statement is required syntactically but you do not want any code to execute.
एक स्टेटमेंट का उपयोग तब किया जाता है जब किसी स्टेटमेंट को वाक्यात्मक रूप से आवश्यक होता है लेकिन आप नहीं चाहते कि कोई कोड निष्पादित हो।
break
pass
continue
none of these
Previous Question
Next Question
25
See Explanation !
7
If a function doesn't have a return statement, which of the following does the function return ?
यदि किसी फंक्शन का रिटर्न स्टेटमेंट नहीं है, तो निम्न में से कौन सा फंक्शन रिटर्न होता है?
int
null
None
An exception is thrown without the return statement
Previous Question
Next Question
25
See Explanation !
8
Which of the following function returns the ASCII/Unicode value character?
निम्नलिखित में कौन सा फक्शन ASCII/Unicode वैल्यू कैरेक्टर रिटर्न करता है?
asc()
ord()
asci()
ascii()
Previous Question
Next Question
25
See Explanation !
9
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 !
10
______ are additional readable information to clarify the statement in python.
अजगर में कथन को स्पष्ट करने के लिए ______ अतिरिक्त पठनीय जानकारी हैं।
Comments
Expressions
Tokens
Flow of control
Previous Question
Next Question
25
See Explanation !
11
What is the correct command to shuffle the following list? fruit=['apple', 'banana', 'papaya', 'cherry']
निम्नलिखित सूची में फेरबदल करने का सही आदेश क्या है? fruit=[' apple ', 'banana ',' papaya ', 'cherry ']
fruit.shuffle()
shuffle(fruit)
random.shuffle(fruit)
random.shuffleList(fruit)
Previous Question
Next Question
25
See Explanation !
12
Other name of Pseudo code
Pseudo code का अन्य नाम
False Code
Representation of Code
Both A and B
None of these
Previous Question
Next Question
25
See Explanation !
13
The function used to find power of a number.
एक संख्या की शक्ति का पता लगाने के लिए उपयोग किया जाने वाला फ़ंक्शन।
pow()
exp()
tell()
None of these
Previous Question
Next Question
25
See Explanation !
14
Two main measures for the efficiency of an algorithm are
एक एल्गोरिथ्म की दक्षता के लिए दो मुख्य उपाय हैं
Processor and memory
Complexity and capacity
Time and space
Data and space
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code snippet? print('abc'.islower())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print('abc'.islower ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
16
What will be the output of the following Python code? i = 1 while True: if i%7 == 0: break print(i) i += 1
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? i = 1 जबकि सही: यदि i%7 == 0: break print(i) i = 1
1 2 3 4 5 6
1 2 3 4 5 6 7
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
17
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question
Next Question
25
See Explanation !
18
In which format Binary file contains information?
बाइनरी फ़ाइल में सूचना किस प्रारूप में होती है?
Quick response code
Same format in which the data is held in memory
ASCII format
Unicode format
Previous Question
Next Question
25
See Explanation !
19
What will the following code output? print(chr(98))
निम्नलिखित कोड आउटपुट क्या होगा? print(chr(98))
a
b
A
B
Previous Question
Next Question
25
See Explanation !
20
An algorithm that calls itself directly or indirectly is called as
एक एल्गोरिथ्म जो खुद को प्रत्यक्ष या अप्रत्यक्ष रूप से कॉल करता है, उसे कहा जाता है
Sub Function
Recursion
Reverse Polish Notation
Traversal Algorithm
Previous Question
Next Question
25
See Explanation !
21
What will be the output of the following Python code? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? def foo(x): x[0] = ['def'] x[1] = ['abc'] return id(x) q = ['abc', 'def'] print(id(q) == foo(q))
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
22
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 !
23
split( ) function returns the _____ of words delimited by the specified substring.
sPLIT() फ़ंक्शन निर्दिष्ट सबस्ट्रिंग द्वारा सीमांकित शब्दों का _____ बताता है।
List
Tuple
Dictionary
None
Previous Question
Next Question
25
See Explanation !
24
Suppose d = {“john”:40, “peter”:45}, what happens when we try to retrieve a value using the expression d[“susan”]?
मान लीजिए d = {“john”:40, “peter”:45}, तब क्या होता है जब हम d[“susan”] अभिव्यक्ति का उपयोग करके मान प्राप्त करने का प्रयास करते हैं?
Since “susan” is not a value in the set, Python raises a KeyError exception
It is executed fine and no exception is raised, and it returns None
Since “susan” is not a key in the set, Python raises a KeyError exception
Since “susan” is not a key in the set, Python raises a syntax error
Previous Question
Next Question
25
See Explanation !
25
What type of language is Python?
पायथन किस प्रकार की भाषा है?
Compiled Language
Markup Language
Interpreted Language
Assembly Language
Previous Question