from numpy import *
import numpy
import numpy as my_numpy
All of above
change in shape of array
reshaping of array
get the shape of the array
Number of Rows and Column in array
Size of each items in array
Number of elements in array
Largest element of an array
Size, shape
memory consumption
data type of array
All of these
Indexing
Slicing
Reshaping
None of the above
rank
dtype
shape
None of these
NumPy arrays have contiguous memory location
They are more speedy to work with
They are more convenient to deal with
All of the above
Filled with Zero
Filled with Blank space
Filled with random garbage value
Filled with One
what is the output of the following code?
M=['b' *x for x in range(4)] print(M)
['', 'b', 'bb', 'bbb']
['b,'bb', "bbb', "bbbb']
['b','bb', bbb']
none of these
What is the output of the following?
print(max([1, 2, 3, 4.] [4, 5, 6], [7]))
[4,5, 6
[7]
[1, 2,3, 4]
7
What will be the output of the following Python code?
example = "helle" print(example.rfind("e"))
1
2
4
5
What will be the output of the following pseudo code?
Integer a,b set a=10,b=5 a=a mod(a-6) b=b mod(b-2) print a-b
0
8
File Found Error
File Not Exist Error
File Not Found Error
What is the value of the following Python code?
>>>print(36 / 4)
9
9.0
4.0
What is the output of following Python code?
>>print(5*(2//3))
3
3.3
error
What is the output of the following code?
a=set('abc') b=set('cdef') print(a&b)
{'c'}
{'a','b','c','d','e','r'}
{c}
stack
macro
micro
union
Square
Circle
Parallelogram
Triangle
What will be the output of the following python code?
from math import * floor(11.7)
12
11
11.0