Multiple Choice Questions-NumPy

Beschreibung

Quiz am Multiple Choice Questions-NumPy, erstellt von Aparna Dhirde am 30/03/2020.
Aparna Dhirde
Quiz von Aparna Dhirde, aktualisiert more than 1 year ago
Aparna Dhirde
Erstellt von Aparna Dhirde vor etwa 4 Jahre
3228
0

Zusammenfassung der Ressource

Frage 1

Frage
Correct syntax of the reshape() function in Numpy array python is
Antworten
  • array.reshape(shape)
  • reshape(shape,array)
  • reshape(array,shape)
  • reshape(shape)

Frage 2

Frage
Which of the following find the maximum number in the Numpy array ?
Antworten
  • max(array)
  • array.max()
  • array(max)
  • None of the above

Frage 3

Frage
How we can change the shape of the Numpy array in python?
Antworten
  • By Shape()
  • By reshape()
  • By ord()
  • By change()

Frage 4

Frage
How we can convert the Numpy array to the list in python?
Antworten
  • list(array)
  • list.array
  • array.list
  • None of the above

Frage 5

Frage
How we can find the type of numpy array in python ?
Antworten
  • dtype
  • type
  • typei
  • itype

Frage 6

Frage
How we install Numpy in the system ?
Antworten
  • install numpy
  • pip install python numpy
  • pip install numpy
  • pip install numpy python

Frage 7

Frage
It is possible to convert the Numpy array to list in python ?
Antworten
  • Yes
  • No
  • Sometimes
  • None of the above

Frage 8

Frage
Minimum number of argument to pass in full() function in Numpy array ?
Antworten
  • 0
  • 1
  • 2
  • 3

Frage 9

Frage
Numpy in the Python provides the
Antworten
  • Function
  • Lambda function
  • Type casting
  • Array

Frage 10

Frage
Numpy.array(list), what it does ?
Antworten
  • It convert array to list
  • It convert list to array
  • It convert array to array
  • Error

Frage 11

Frage
Shape() function in Numpy array is used to
Antworten
  • Find the shape of the array
  • Change the shape of the array
  • Both of the above
  • None of the above

Frage 12

Frage
What is the use of the size attribute in Numpy array in python ?
Antworten
  • It find the direction
  • It find the number of items
  • It find the shape
  • All of the above

Frage 13

Frage
what is the use of the zeros() function in Numpy array in python ?
Antworten
  • To make a Matrix with all element 0
  • To make a Matrix with all diagonal element 0
  • To make a Matrix with first row 0
  • None of the above

Frage 14

Frage
What gets printed? import numpy as np ary=np.array([1,2,3,5,8]) ary=ary+1 print(ary[1])
Antworten
  • 1
  • 2
  • 3
  • 4

Frage 15

Frage
Which of the following is correct way to import the Numpy module in your program ?
Antworten
  • import numpy
  • import numpy as np
  • from numpy import *
  • All of the above
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Französisch Vokabeln Découvertes 1, Leçon 1, Karteikarten
AntonS
Elektromagnetismus
Peter Kasebacher
ME2 Theorie
Matin Shah
Euro-FH // Zusammenfassung SOPS3
Robert Paul
Vetie - Tierzucht & Genetik - T I
Fioras Hu
Vetie - Histo & Embryo II 2017
Fioras Hu
GESKO JOUR Karteikarten
Sascha Walter
Vetie Mibi Altfragen 2016
Ina Qu
Vetie - Histo & Embryo II 2017
Laura Malen
Vetie Mibi 2012
Tropsi B
GETH.1.2
Katrin Dolle