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
The differences between tuples and lists are, the tuples cannot be changed unlike lists and tuples use whereas lists use square brackets.
ट्यूपल और सूचियों के बीच अंतर यह है कि सूचियों और ट्यूपल के उपयोग के विपरीत ट्यूपल को बदला नहीं जा सकता है जबकि सूचियां वर्ग कोष्ठक का उपयोग करती हैं।
Angular brackets
parentheses
curly brackets
None of these
Next Question
25
See Explanation !
2
What will be the output of the following Python code? d = {0, 1, 2} for x in d: print(x)
MYMEMORY WARNING: YOU USED ALL AVAILABLE FREE TRANSLATIONS FOR TODAY. NEXT AVAILABLE IN 17 HOURS 02 MINUTES 50 SECONDS VISIT HTTPS://MYMEMORY.TRANSLATED.NET/DOC/USAGELIMITS.PHP TO TRANSLATE MORE
0 1 2
{0, 1, 2} {0, 1, 2} {0, 1, 2}
error
none of the mentioned
Previous Question
Next Question
25
See Explanation !
3
Which of the following data types is not supported in python
पायथन में निम्नलिखित में से कौन सा डेटा प्रकार समर्थित नहीं है
Numbers
String
List
Slice
Previous Question
Next Question
25
See Explanation !
4
Which one of the following is inmmutable data type?
निम्नलिखित में से कौन सा अपरिवर्तनीय डेटा प्रकार है?
list
set
tuple
dict
Previous Question
Next Question
25
See Explanation !
5
The symbol used for both input and output is a _____ .
इनपुट और आउटपुट दोनों के लिए उपयोग किया जाने वाला प्रतीक _____ है।
parallelogram
Diamond shape
Circle shape
None of the above
Previous Question
Next Question
25
See Explanation !
6
Function of a compiler is to
एक संकलक का कार्य है
put to gether the file and functions that are required by the program
translate the instructions in to a form suitable for execution by the program
load the executable code in to the memory and execute them
allow the user to type the program
Previous Question
Next Question
25
See Explanation !
7
Which of the following Numpy operation are correct?
निम्नलिखित में से कौन सा Numpy ऑपरेशन सही है?
Mathematical and logical operations on arrays.
Fourier transforms and routines for shape manipulation.
Operations related to linear algebra.
All of the above
Previous Question
Next Question
25
See Explanation !
8
Which of the following functions take iterables(can be zero or more), makes iterator that aggregates elements based on the iterables passed, and returns an iterator of tuples.
निम्नलिखित में से कौन सा फ़ंक्शन इटरेबल्स लेता है (शून्य या अधिक हो सकता है), इटेरेटर बनाता है जो पारित इटरेबल्स के आधार पर तत्वों को एकत्रित करता है, और ट्यूपल्स का इटेरेटर देता है।
Zip()
tuple()
list()
None of the above
Previous Question
Next Question
25
See Explanation !
9
What happens if you attempt to access an index that is out of range in a list?
यदि आप किसी सूचकांक को एक्सेस करने का प्रयास करते हैं जो सूची में सीमा से बाहर है, तो क्या होता है?
It returns None.
It raises an IndexError
It creates a new element at that index.
It returns an empty list.
Previous Question
Next Question
25
See Explanation !
10
Which one of the following is incorrect?
निम्नलिखित में से कौन सा गलत है?
The variables used inside function are called local variables.
The local variables of a particular function can be used inside other functions, but these cannot be used in global space.
The variables used outside function are called global variables.
In order to change the value of global variable inside function, keyword global is used.
Previous Question
Next Question
25
See Explanation !
11
Which of the following is correct in respect of advantages of functions?
फ़ंक्शंस के फायदों के संबंध में निम्नलिखित में से कौन सा सही है?
Decomposing complex problems into simpler pieces
Reducing duplication of code
both A and B
None of the above.
Previous Question
Next Question
25
See Explanation !
12
which one is a mathematical function?
कौन सा एक गणितीय फंक्शन है?
sqrt()
add()
rhombus()
home()
Previous Question
Next Question
25
See Explanation !
13
Which is/are the valid statement to print Hello Word in Python ?
पायथन में Hello Word को प्रिंट करने के लिए मान्य कथन क्या है/हैं?
print('Hello Word')
print("Hello Word")
print(Hello Word)
Both A and B
Previous Question
Next Question
25
See Explanation !
14
Algorithm when transalated into a programming language is called...
प्रोग्रामिंग भाषा में ट्रांसलेट होने पर एल्गोरिथ्म को कहा जाता है...
Flowchart
Identifier
code
Debugging
Previous Question
Next Question
25
See Explanation !
15
What will the following code output? print(‘55’+’5’)
निम्नलिखित कोड आउटपुट क्या होगा? print(‘55’+’5’)
55
60
555
Error
Previous Question
Next Question
25
See Explanation !
16
Which one of the following has the highest precedence in the expression?
निम्नलिखित में से किस एक की अभिव्यक्ति में सर्वोच्च प्राथमिकता है?
Exponential
Addition
Multiplication
Parentheses
Previous Question
Next Question
25
See Explanation !
17
How can we create an empty list in Python ?
हम पायथन में एक खाली लिस्ट कैसे बना सकते हैं?
list=()
list.null
null.list
list=[]
Previous Question
Next Question
25
See Explanation !
18
Set of statements is executed again and again based upon conditional test.
सशर्त परीक्षण के आधार पर कथनों का सेट बार - बार निष्पादित किया जाता है।
Looping
Selective
Sequence
None
Previous Question
Next Question
25
See Explanation !
19
What is the main object type in NumPy that represents homogeneous arrays?
NumPy में मुख्य ऑब्जेक्ट प्रकार क्या है जो सजातीय सरणियों का प्रतिनिधित्व करता है?
List
Array
Matrix
Set
Previous Question
Next Question
25
See Explanation !
20
Suppose list1 is [3, 4, 5, 20, 5], what is list1.index(5)?
मान लीजिए कि list1 [3, 4, 5, 20, 5] है, list1.index (5) क्या है?
0
1
4
2
Previous Question
Next Question
25
See Explanation !
21
What type of data is: a=[(1,1),(2,4),(3,9)]?
किस प्रकार का डेटा है: a = [(1,1), (2,4), (3,9)]?
Array of tuples
List of tuples
Tuples of lists
Invalid type
Previous Question
Next Question
25
See Explanation !
22
What is the datatype of x ? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
X का डेटाटाइप क्या है? import numpy as np a=np.array([1,2,3,4]) x=a.tolist()
int
array
tuple
list
Previous Question
Next Question
25
See Explanation !
23
function returns the current position of file pointer.
फ़ंक्शन फ़ाइल पॉइंटर की वर्तमान स्थिति बताता है।
get()
seek()
tell()
cur()
Previous Question
Next Question
25
See Explanation !
24
What is the output of the following code ? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
निम्नलिखित कोड का आउटपुट क्या होगा? import numpy as np y = np.array([[11, 12, 13, 14], [32, 33, 34, 35]]) print(y.ndim)
1
2
3
0
Previous Question
Next Question
25
See Explanation !
25
The brain of computer system is
कंप्यूटर सिस्टम का मस्तिष्क है
RAM
CPU
ROM
Control Unit
Previous Question