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 Python code? str1="helloworld" print(str1[::-1])
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? str1="helloworld" print(str1[::-1])
dlrowolleh
hello
world
helloworld
Next Question
25
See Explanation !
2
Which module in python can be used for working with network socket?
पायथन में किस मॉड्यूल का उपयोग नेटवर्क सॉकेट के साथ काम करने के लिए किया जा सकता है?
HTTP
urllib
socket
header
Previous Question
Next Question
25
See Explanation !
3
What will be the output of the following Python code snippet? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? a = {} a[1] = 1 a['1'] = 2 a[1]=a[1]+1 count = 0 for i in a: count += a[i] print(count)
1
2
4
Error, the keys can’t be a mixture of letters and numbers
Previous Question
Next Question
25
See Explanation !
4
What will be the output of the following code? print(2 ** 3 ** 2)
निम्नलिखित कोड का आउटपुट क्या होगा? प्रिंट(2 ** 3 ** 2)
64
512
729
Error
Previous Question
Next Question
25
See Explanation !
5
find the output of following code: import math print(math.fabs(-3.4))
निम्नलिखित कोड का आउटपुट खोजें: import math print(math.fabs(-3.4))
-3.4
3.4
4.3
3
Previous Question
Next Question
25
See Explanation !
6
In order to store values in terms of key and value we use what core data type.
की और वैल्यू के संदर्भ में मानों को संग्रहीत करने के लिए हम किस कोर डेटा प्रकार का उपयोग करते हैं।
list
tuple
class
dictionary
Previous Question
Next Question
25
See Explanation !
7
Which of these about a set is not true?
इनमें से कौन सा एक सेट के बारे में सही नहीं है?
Mutable data type
Allows duplicate values
Data type with unordered values
Immutable data type
Previous Question
Next Question
25
See Explanation !
8
The operator used for concatenating two strings. -
ऑपरेटर दो तारों को जोड़ने के लिए उपयोग किया जाता है। -
+
*
%
None
Previous Question
Next Question
25
See Explanation !
9
Which of the following language is understood by computer ?
निम्नलिखित में से कौन सी भाषा कंप्यूटर द्वारा समझी जाती है?
Machine language
Assembly language
High-level language
None of the above
Previous Question
Next Question
25
See Explanation !
10
Which operator is used for bitwise OR in Python?
पायथन में बिटवाइज या के लिए किस ऑपरेटर का उपयोग किया जाता है?
|
||
or
&
Previous Question
Next Question
25
See Explanation !
11
Python is written in
पायथन को किस भाषा में लिखा जाता है?
Java
C
PHP
All of the above
Previous Question
Next Question
25
See Explanation !
12
Which of the following variable declaration is incorrect?
निम्नलिखित में से कौन सा वेरिएबल डिक्लेरेशन गलत है?
a_=3
_a=3
a?=3
All of these
Previous Question
Next Question
25
See Explanation !
13
What is the the value of x when x=math.factorial(0)
x का मान क्या है जब x=math.factorial(0)
0
1
11
10
Previous Question
Next Question
25
See Explanation !
14
_____ is also known as the alias array.
_____ को उपनाम सरणी के रूप में भी जाना जाता है।
ndarray
array
alias
None of these
Previous Question
Next Question
25
See Explanation !
15
What will be the output of the following Python code? print('a B'.isalpha())
निम्नलिखित पायथन कोड का आउटपुट क्या होगा? print(' a B'.isalpha ())
True
False
None
Error
Previous Question
Next Question
25
See Explanation !
16
A computer programme that manage and controls a computer's activity ?
एक कंप्यूटर प्रोग्राम जो कंप्यूटर की गतिविधि का प्रबंधन और नियंत्रण करता है?
Interpreter
Modem
Compiler
Operating system
Previous Question
Next Question
25
See Explanation !
17
Which symbol is used to write single line comment?
एकल पंक्ति टिप्पणी लिखने के लिए किस प्रतीक का उपयोग किया जाता है?
*
#
/
?
Previous Question
Next Question
25
See Explanation !
18
Which of these in not a core data type in python?
इनमें से कौन सा पायथन में कोर डेटा प्रकार नहीं है?
Lists
Dictionary
Tuples
Class
Previous Question
Next Question
25
See Explanation !
19
What is mean by dynamically typed language
गतिशील रूप से टाइप की गई भाषा का क्या मतलब है
A variable can store any datatype type of value
A variable can store only numeric value
A variable can store only one type of value
A value of a variable is change each type when it run
Previous Question
Next Question
25
See Explanation !
20
Which of the following is an invalid statement in python.
निम्नलिखित में से कौन सा पायथन मे इनवैलिड स्टेटमेन्ट है ।
abc=2,00,000
a,b,c=200,300,400
a_b_c= 2,00,000
abc=200 300 400
Previous Question
Next Question
25
See Explanation !
21
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 !
22
If no delimiter is given in split() function then words are separated by
यदि स्प्लिट() फ़ंक्शन में कोई डेलिमिटर नहीं दिया जाता है, तो शब्दों को निम्नलिखित से अलग किया जाता है
space
colon
semi colon
None
Previous Question
Next Question
25
See Explanation !
23
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 !
24
What is the pickling?
पिकलिंग क्या है?
It is used for object serialization
It is used for object deserialization
All of the mentioned
None of the mentioned
Previous Question
Next Question
25
See Explanation !
25
What are the attributes of numpy array?
Numpy सरणी के गुण क्या हैं?
shape, dtype, ndim
objects, type, list
objects, non vectorization
Unicode and shape
Previous Question