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 mehr als 4 Jahre
3299
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

Spanisch Einstufungstest Niveau B1.1
SprachschuleAktiv
Einstufungstest Italienisch Niveau B1.1
SprachschuleAktiv
B1 Adjektivdeklination
Anna Kania
working in a globalized wolrd
Alexandra Do
[Geschichte] Nachkriegsdeutschland - Die Stunde null
Marcel Pabst
Gesetzliche Sozialversicherung
Maximilian Mustermann
Forschungs- und Anwendungsfelder der Soziologie Teil 1
stelly Welly
HNO Patho
Sabine Gechter
Vetie - Immuno Wdh 2012
V R
Onlinequiz zu MS-4.2 Kapitel_3_Teil_I
Deborah Büscher
Vetie Para Morphologie Helminthen
Kristin E