Multiple Choice Questions-NumPy

Descripción

Test sobre Multiple Choice Questions-NumPy, creado por Aparna Dhirde el 30/03/2020.
Aparna Dhirde
Test por Aparna Dhirde, actualizado hace más de 1 año
Aparna Dhirde
Creado por Aparna Dhirde hace alrededor de 4 años
3228
0

Resumen del Recurso

Pregunta 1

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

Pregunta 2

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

Pregunta 3

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

Pregunta 4

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

Pregunta 5

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

Pregunta 6

Pregunta
How we install Numpy in the system ?
Respuesta
  • install numpy
  • pip install python numpy
  • pip install numpy
  • pip install numpy python

Pregunta 7

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

Pregunta 8

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

Pregunta 9

Pregunta
Numpy in the Python provides the
Respuesta
  • Function
  • Lambda function
  • Type casting
  • Array

Pregunta 10

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

Pregunta 11

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

Pregunta 12

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

Pregunta 13

Pregunta
what is the use of the zeros() function in Numpy array in python ?
Respuesta
  • 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

Pregunta 14

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

Pregunta 15

Pregunta
Which of the following is correct way to import the Numpy module in your program ?
Respuesta
  • import numpy
  • import numpy as np
  • from numpy import *
  • All of the above
Mostrar resumen completo Ocultar resumen completo

Similar

Chino Mandarín Básico
Diego Santos
Primera a Segunda Guerra Mundial
jonathanbeltran1
SISTEMA INMUNOLÓGICO
deisyj_200
Salud Pública
Daniela Peña
Sistema Economico
bella_colindres
Estructura atómica. Modelos y Teorías
Jean Paul Arango
TURISMO SOSTENIBLE
DAVID MARTINEZ
Mapa mental (Administración de Recursos Humanos).
margreyarenas
Contrato de trabajo y modalidades
eva garrido
Matemáticas - TERCERO Primaria - Multiplicación
asx elearning
Ley de fomento y las fuentes de financiación o apoyo que se pueden encontrar a nivel nacional.
Liceth Baron