NIELIT O Level M3-R5 Solved Model Paper

NIELIT O Level M3-R5 Solved Model Paper

भाग-एक/PART ONE
सभी प्रश्नों के उत्तर दें (Answer all the questions)

Q.1. नीचे प्रत्येक प्रश्न के उत्तर के कई विकल्प दिये गये हैं। एक सबसे उपयुक्त विकल्प चुनें और उसे प्रश्न-पत्र के साथ उपलब्ध कराए गएओएमआरउत्तर-पत्रक में, उसके दिए गए निर्देशों के अनुसार दर्ज करें।
Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein.

1.1 Which of the Consider following output:
निम्नलिखित में से कौन सा उत्तर सही है?
>>> a=7
>>> b=a+3
>>> a=2
>>> print (b)
(A) 3
(B) 2
(C) 10
(D) 7
1.2 How we install Numpy in the system?
हम सिस्टम में Numpy कोंस्त्ल करें?
(A) install numpy
(B) pip install python numpy
(C) pip install numpy
(D) Both A & B
1.3 Which of the following items are present in the function header?
फ़ंक्शन हेडर में निम्नलिखित में से कौन से आइटम्स मौजूद हैं?
(A) function name
(B) function name and parameter list
(C) parameter list
(D) return value
1.4 Which of the following statements correctly represent the function body in the given code snippet?
निम्नलिखित में से कौन सा स्टेटमेंट सही दिए गए कोड स्निपेट में फ़ंक्शन बॉडी को सही बताता  है?
def f(number):
  # Missing function body
print(f(5))
(A) return “number”
(B) print(number)
(C) print(“number”)
(D) return number
1.5 What is the output of the following code snippet?
निम्नलिखित कोड स्निपेट का आउटपुट क्या है?
def func(a = 1, b = 3):
    a = a + b
    b += 1
    print(a, b)
func(b = 3, a = 1)
(A) 3 2
(B) 5 1
(C) 4 4
(D 3 3
1.6 Which keyword is use for function?
कौन सा कीवर्ड फ़ंक्शन के लिए इस्तेमाल किया जाता है?
(A) define
(B) def
(C) fun
(D) function
1.7 What is called when a function is defined inside a class?
जब किसी फ़ंक्शन को किसी block के अंदर डिफाइन किया जाता है तो उसे क्या कहा जाता है?
(A) module
(B) method
(C) class
(D) function
1.8 Which of the following is correct way to import the Numpy module in your program ?
निम्न में से कौन सा आपके प्रोग्राम में Numpy मॉड्यूल को इम्पोर्ट  करने का सही मेथड  है?
(A) All of these
(B) import numpy as np
(C) from numpy import *
(D) import numpy
1.9 What is the output of the following code snippet?
निम्नलिखित कोड का आउटपुट क्या है?
def func(message, s = 1):
    print(message * s)
func(‘Gyancs’)
func(‘Python’, 3)
(A) Gyancs
Python
(B) Gyancs
PythonPythonPython

(C) Gyancs
Python, Python, Python
(D) Gyancs
1.10 How can convert the Numpy array from the list in python?
पाइथन में नमपी ऐरे लिस्ट को कैसे बदलते हैं ?
(A) dtype
(B) type
(C) typei
(D) None of these

Q.2. नीचे दिया गया प्रत्येक विवरण या तो सही या गलत है। एक सबसे उपयुक्त विकल्प चुनें और अपना विकल्प प्रश्न-पत्र के साथ उपलब्ध कराए गए “ओएमआर” उत्तर-पत्रक में, उसमें दिए गए निर्देशों के अनुसार दर्ज करें।
Each statement below is either TRUE or FALSE. Choose the most appropriate one and enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein.

2.1 In Python, a string can be formatted using %s? T
2.2 A list in Python can’t be modified while a tuple can. T
2.3 A list can have different types of values. T
2.4 In Python, a tuple is a sequence of values that can’t be changed after it is defined. T
2.5 Python treats a string as special kind of tuple. T
2.6 In Python, a decision can be made by using if else statement. T
2.7 Checking multiple conditions in Python requires elif statements. T
2.8 If the condition is evaluated to true, the statement(s) of if block will be executed, otherwise the statement(s) in else block(if else is specified) will be executed. T
2.9 Python has two loops for and while loops? T
2.10 The continue command is used to exit a loop. F

Q.3. कालम ‘X’ में दिए गए शब्दों और वाक्यांशों को कालम ‘Y’ में दिए गए निकटतम जुड़े अर्थों/शब्दों/वाक्यांशों के साथ मिलाएं। प्रश्न पत्र के साथ संलग्न ‘टीयर आफ’ आंसर शीट पर दिए गए अनुदेशों के अनुसार अपने चयन किए गए उत्तर को लिखें।
Match words and phrases in column X with the closest related meaning of word(s)/phrase(s) in column Y. Enter your selection in the “OMR” answer sheet supplied with the question paper, following instructions therein.

XY
3.1Numpy provides many useful functions for performing computations on arrays; one of the most useful is sum: Numpy ऐरे पर प्रदर्शन करने के लिए कई उपयोगी कार्य प्रदान करता है, इनमें से एक सबसे उपयोगी सम है। (H)A.View – व्यू
3.2Its true value indicates that the stopping value is included in the interval. इसका सही मूल्य इंगित करता है कि स्टॉपिंग वैल्यू अंतराल मेंशामिल है। (G)B.ix_
3.3The use of the size attribute in Numpy array in python. पायथन में Numpy ऐरे में आकार एट्रिब्यूट का उपयोग। (F)C.axes
3.4The is a square array with ones on the main diagonal. आइडेंटिटि ऐरे मुख्य विकर्ण पर एक स्क्वैयर ऐरे है। (J)D.Find the shape of the array ऐरे का आकार ज्ञात करें
3.5The function can be used to combine different vectors so as to obtain the result for each n-uplet. फंक्शन का उपयोग विभिन्न वैक्टर को संयोजित करने के लिए किया जा सकता है ताकि प्रत्येक एन-अपलेट के लिए परिणाम प्राप्त कियाजा सके। (B)E.empty
3.6It creates an uninitialized array of specified shape and dtype.यह निर्दिष्ट शेप और dtype का एक असंक्रमित ऐरे बनाता है। (E)F.To find the number of items आइटम की संख्या का पता लगाने केलिए
3.7In Numpy, dimensions are calledNumpy में, डायमेंशन कहलाते हैं। (C)G.endpoint
3.8The method creates a new array object that looks at the same data.मेथड एक नई ऐरे ऑब्जेक्ट बनाता है जो समान डेटा को देखता है। (A)H.Numpy
3.9Shape () function in Numpy array is used toNumpy ऐरे में Shape0 फंक्शन का उपयोग किया जाता है। (D)I.3.2
3.10Minimum number of argument to pass in full () function in Numpy array?  Numpy ऐरे में full फंक्शन में पास होने के लिए तर्क की न्यूनतम संख्या? (I)J.identity array
K.6
L.14.3

Q.4. नीचे दिए गए प्रत्येक विवरण में नीचे दी गई सूची में दर्शाए गए शब्दों अथवा वाक्यांशों को खाली स्थानों पर भरें। चुने गए उत्तर को प्रश्न पत्र के साथ संलग्न टीयर ऑफ आंसर शीट पर दिए गए अनुदेशों के अनुसार प्रविष्ट करें।
Each statement below has a blank space to fit one of the word(s) or phrase(s) in the list below. Choose the most appropriate option; enter your choice in the “OMR” answer sheet supplied with the question paper, following instructions therein.

AndarrayBresize रीसाइजCsubok
Dndarray.dataESciPyFarrange अरेंज
GNumPyHsetbufsize(size)ISciPy
Jstart  स्टार्टKFunction call – फंक्शन कॉलLvariable वैरियेबल
Mchr()

4.1………J………. It represents the starting value of the interval.
………J……यह अंतराल के शुरुआती मूल्य का प्रतिनिधित्व करता है।
4.2 NumPy stands for Numerical Python while……I…….stands for Scientific Python.
NumPy का मतलब Numerical Python से है जबकि ……I…….का मतलब Scientific Python से है।
4.3……D…… is the buffer containing the actual elements of the array.
………D……ऐरे के वास्तविक एलीमेंटों से युक्त बफर है।
4.4………E……is a free and open-source Python library used for scientific computing and technical computing
………E……. वैज्ञानिक कंप्यूटिंग और तकनीकी कंप्यूटिंग के लिए उपयोग किया जाने वाला एक स्वतंत्र और ओपेन सोर्स पायथनलाइब्रेरी है।
4.5……A……. is also known as the alias array.
………A……को अन्य उपनाम के रूप में भी जाना जाता है।
4.6………C……. By default, returned array forced to be a base class array. If true, sub-classes passed through
………C……. डिफॉल्ट रूप से, बेस क्लास ऐरे बनने के लिए मजबूर किया गया ऐरे लौटाया जाता है। यदि सही है, तो सब-क्लासेज गुजरती हैं।
4.7 To create sequences of numbers, NumPy provides a function……F……analogous to range that returns arrays instead of lists.
संख्याओं के अनुक्रम बनाने के लिए, NumPy एक फंक्शन प्रदान करता है….F…… जो कि सूची के बजाय ऐरे देता है।
4.8………H……. sets the size of the buffer used in ufuncs.
…….H……. ufuncs में प्रयुक्त बफर के आकार को निर्धारित करता है।
4.9……G………is used for efficient operation on homogeneous data that are stored in arrays.
…….G……. का उपयोग सजातीय डेटा पर कुशल संचालन के लिए किया जाता है जो ऐरे में संग्रहीत होते हैं।
4.10 The reshape function returns its argument with a modified shape, whereas the ……B.…. method modifies the array itself.
रीसेट फंक्शन अपने तर्क को एक संशोधित आकार के साथ लौटाता है, जबकि ……B….. मेथड ऐरे को ही संशोधित करता है।

भाग दो/PART TWO
किन्हीं चार प्रश्नों के उत्तर दें (Answer any FOUR questions)

5.
(A) Explain how You can install NumPy.
बताएं कि कैसे आप NumPy इंस्टाल कर सकते हैं।
(B) Comparison between Core Python and Numpy.
कोर पायथन और Numpy के बीच तुलना।
(C)Explain the NumPy with features of NumPy.
Numpy को Numpy की विशेषताओं के साथ समझाइए।
6.
(A) Define Date arrayattributes.
डेट ऐरे एट्रीब्यूट्स की व्याख्या कीजिए।
(B)What is a NumPy array. How they are different from lists?
एक NumPy ऐरे क्या है। वे सूचियों से कैसे भिन्न हैं?
(C) Define the Datatypes.
डेटाटाइप्स की व्याख्या कीजिए।
7.
(A) Explain about Array from Numerical Ranges.
न्यूमेरिकल रेंज से ऐरे के बारे में बताएं।
(B) Explain Array from Existing Data.
मौजूदा डेटा से ऐरे को समझाएं।
8.
(A)Explain Indexing & Slicing.
इंडेक्सिंग और स्लाईसिंग के बारे में बताएं।
(B)Explain about Array Math.
ऐरे मैथ के बारे में बताएं।
9.Write a short note on the following topics.
निम्नलिखित विषयों पर एक संक्षिप्त नोट लिखें।
(A) Take two NumPy arrays having two dimensions. Concatenate the arrays on axis 1.
दो आयामों वाले दो NumPy ऐरे को लें। अक्ष 1 पर सरणियों को समेटें।
(B) Integer array indexing.
इंटीजर ऐरे इंडेक्सिंग।
(C) Explain array creation routines.
ऐरे क्रिएशन रूटिन की व्याख्या करें। 
Chapter wise Model Paper Link