NIELIT O Level Exam

<p>What is the output of the following code?</p><pre><span style="font-size: 14px;">import numpy as np a=np.array([1,2,3,5,8]) b=np.array([0,3,4,2,1]) c=a+b c=c*a print(c[2])</span> </pre><div><br></div><div><br></div>

What is the output of the following code?

import numpy as np
a=np.array([1,2,3,5,8])
b=np.array([0,3,4,2,1])
c=a+b
c=c*a
print(c[2])


निम्नलिखित कोड का आउटपुट क्या है?

import numpy as np
a=np.array([1,2,3,5,8])
b=np.array([0,3,4,2,1])
c=a+b
c=c*a
print(c[2])

A. 10

B. 21

C. 12

D. 28




Correct Answer is :

B. 21



Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad