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 will be the output of the following :print( (5*2-4*8)%7)
निम्नलिखित कोड का आउटपुट क्या होगा? : print( (5*2-4*8)%7)
7
8
10
6
Next Question
25
See Explanation !
2
In computer science, refers to a special method usable by a computer for the solution to a problem.
कंप्यूटर विज्ञान में, किसी समस्या के समाधान के लिए कंप्यूटर द्वारा उपयोग की जाने वाली एक विशेष विधि को संदर्भित करता है।
algorithm
program
Graph
None of these
Previous Question
Next Question
25
See Explanation !
3
Which of the following functions cannot be used on heterogeneous sets?
निम्न में से किस फ़ंक्शन का यूज़ हेटरजीन्यस सेटों पर नहीं किया जा सकता है?
pop
remove
update
sum
Previous Question
Next Question
25
See Explanation !
4
are set of procedures defined in library to find the minimum value function or the root of an equation.
न्यूनतम मान फ़ंक्शन या समीकरण के मूल को खोजने के लिए लाइब्रेरी में परिभाषित प्रक्रियाओं का सेट हैं।
Optimisers
Pandas
scipy ()
None of these
Previous Question
Next Question
25
See Explanation !
5
The part of a machine level instruction, which tells the central processor what has to be done, is
मशीन स्तर के निर्देश का हिस्सा, जो केंद्रीय प्रोसेसर को बताता है कि क्या करना है, है
An operation code
An address
An operand
None of the above
Previous Question
Next Question
25
See Explanation !
6
The values which are passed to a function definition are called
फ़ंक्शन परिभाषा में जो मान पास किए जाते हैं उन्हें कहा जाता है
Arguments
Subroutines
Function
Definition
Previous Question
Next Question
25
See Explanation !
7
What will be the output of the following Python code? for i in range(int(2.0)): print(i)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? for i in range(int(2.0)): print(i)
0.0 1.0
0 1
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
8
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
Next Question
25
See Explanation !
9
List structure in python where elements are stored in parenthesis.
अजगर में सूची संरचना जहां तत्व कोष्ठक में संग्रहीत किए जाते हैं।
[]
()
{}
none of these
Previous Question
Next Question
25
See Explanation !
10
what will the output of : print(5&3)
इसका आउटपुट क्या होगा: print(5&3)
1
8
True
False
Previous Question
Next Question
25
See Explanation !
11
Suppose t=(1,2,4,3), which of the following is incorrect?
मान लीजिए कि t=(1,2,4,3), निम्नलिखित में से कौन गलत है?
print(t[3])
t[3] = 45
print(max(t))
print(len(t))
Previous Question
Next Question
25
See Explanation !
12
An algorithm is best describe as
एक एल्गोरिथ्म का सबसे अच्छा वर्णन है
A computer language
A step by step procedure for solving a problem
A branch of mathematics
None of the above
Previous Question
Next Question
25
See Explanation !
13
What will be the output of the following Python code? print("xyyzxyzxzxyy".endswith("xyy", 0, 2))
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(" xyyzxyzxzxyy ".endswith(" xyyy ", 0, 2))
0
1
True
False
Previous Question
Next Question
25
See Explanation !
14
Istrip() method is used for :
Istrip() विधि का उपयोग इसके लिए किया जाता है:
delete all the trailing characters
delete all the leading characters
delete all the leading and trailing characters
delete upper case characters
Previous Question
Next Question
25
See Explanation !
15
Each line of a text file is terminated by a special character, called the ___
टेक्स्ट फाइल की प्रत्येक पंक्ति को एक विशेष कैरेक्टर द्वारा समाप्त किया जाता है, जिसे ____ कहा जाता है।
End of File
End of Line
End of Statement
End of program
Previous Question
Next Question
25
See Explanation !
16
Which syntax would print every other item from the array below: arr = np.array([1,2,3,4,5,6,7])
कौन सा सिंटैक्स नीचे दिए गए सरणी से हर दूसरे आइटम को प्रिंट करेगा: arr = np.array([1,2,3,4,5,6,7])
print(arr[1:3:5:7])
print(arr[::2])
print(arr(0:step=2))
print(arr[2:2:2])
Previous Question
Next Question
25
See Explanation !
17
Which of the following functions does not necessarily accept only iterables as arguments?
निम्नलिखित में से कौन सा फंक्शन केवल नेससेरली को आर्ग्यमन्ट के रूप में एक्सेप्ट नहीं करता है?
enumerate()
all()
chr()
max()
Previous Question
Next Question
25
See Explanation !
18
What will be the output of the following Python code snippet? print('abcdef12'.replace('cd', '12'))
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' abcdef12 '.replace (' cd ', '12 '))
ab12ef12
abcdef12
ab12efcd
none of the mentioned
Previous Question
Next Question
25
See Explanation !
19
The _____ symbol is used at the beginning of a flow chart.
फ्लो चार्ट की शुरुआत में _____ प्रतीक का उपयोग किया जाता है।
Oval or Pill Shape
Rectangle
Diamond
None of these
Previous Question
Next Question
25
See Explanation !
20
What will be the output of the following Python code?
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा?
x = [' ab ', 'cd ']
i के लिए x:i.upper () print(x) में
[‘ab’, ‘cd’]
[‘AB’, ‘CD’]
[None, None]
none of the mentioned
Previous Question
Next Question
25
See Explanation !
21
Which statement is correct?
कौन सा कथन सही है?
List is mutable & Tuple is immutable
List is immutable & Tuple is mutable
Both are mutable
Both are immutable
Previous Question
Next Question
25
See Explanation !
22
What will be the output of the following Python code snippet? print('Ab!2'.swapcase())
निम्नलिखित पायथन कोड स्निपेट का आउटपुट क्या होगा? print(' Ab!2 '.swapcase ())
AB!@
ab12
aB!2
aB1@
Previous Question
Next Question
25
See Explanation !
23
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 !
24
How can we store 2 in a, 3 in b and 4 in c in one line statement.
हम एक लाइन स्टेटमेंट में 2 को a में, 3 को b में और 4 को c में कैसे स्टोर कर सकते हैं।
a=2,b=3,c=4
a,b,c=2,3,4
a=2;b=3;c=4
Both b and c
Previous Question
Next Question
25
See Explanation !
25
Which of the function take takes two arguments?
कौन सा फंक्शन को दो आर्गूमेंट की जरूरत पड़ेगी
dump()
load()
Both A and B
None of the above
Previous Question