Multiple Choice Questions-NumPy

Descrição

Quiz sobre Multiple Choice Questions-NumPy, criado por Aparna Dhirde em 30-03-2020.
Aparna Dhirde
Quiz por Aparna Dhirde, atualizado more than 1 year ago
Aparna Dhirde
Criado por Aparna Dhirde mais de 4 anos atrás
3265
0

Resumo de Recurso

Questão 1

Questão
Correct syntax of the reshape() function in Numpy array python is
Responda
  • array.reshape(shape)
  • reshape(shape,array)
  • reshape(array,shape)
  • reshape(shape)

Questão 2

Questão
Which of the following find the maximum number in the Numpy array ?
Responda
  • max(array)
  • array.max()
  • array(max)
  • None of the above

Questão 3

Questão
How we can change the shape of the Numpy array in python?
Responda
  • By Shape()
  • By reshape()
  • By ord()
  • By change()

Questão 4

Questão
How we can convert the Numpy array to the list in python?
Responda
  • list(array)
  • list.array
  • array.list
  • None of the above

Questão 5

Questão
How we can find the type of numpy array in python ?
Responda
  • dtype
  • type
  • typei
  • itype

Questão 6

Questão
How we install Numpy in the system ?
Responda
  • install numpy
  • pip install python numpy
  • pip install numpy
  • pip install numpy python

Questão 7

Questão
It is possible to convert the Numpy array to list in python ?
Responda
  • Yes
  • No
  • Sometimes
  • None of the above

Questão 8

Questão
Minimum number of argument to pass in full() function in Numpy array ?
Responda
  • 0
  • 1
  • 2
  • 3

Questão 9

Questão
Numpy in the Python provides the
Responda
  • Function
  • Lambda function
  • Type casting
  • Array

Questão 10

Questão
Numpy.array(list), what it does ?
Responda
  • It convert array to list
  • It convert list to array
  • It convert array to array
  • Error

Questão 11

Questão
Shape() function in Numpy array is used to
Responda
  • Find the shape of the array
  • Change the shape of the array
  • Both of the above
  • None of the above

Questão 12

Questão
What is the use of the size attribute in Numpy array in python ?
Responda
  • It find the direction
  • It find the number of items
  • It find the shape
  • All of the above

Questão 13

Questão
what is the use of the zeros() function in Numpy array in python ?
Responda
  • 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

Questão 14

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

Questão 15

Questão
Which of the following is correct way to import the Numpy module in your program ?
Responda
  • import numpy
  • import numpy as np
  • from numpy import *
  • All of the above

Semelhante

Alemão Básico
Alessandra S.
Filmes Sobre História
Alessandra S.
Comunicação de Dados e Redes
cesarfabr
ESTILOS DE LIDERANÇA
willian reis
Genética Molecular: Ácidos Nucleicos
Renata Cavazzana
Roteiro de Estudo - Matemática
Luiz Fernando
Pré-História
Valdemir Júnior
Liderança
Liliane Tubino
Resumo global da matéria de Biologia e Geologia (10.º e 11.º anos)_2
ana-carolina12re
Imperialismo e Neocolonialismo
Daniel Lima
Estatuto dos militares - Exercício 3
Ibsen Rodrigues Maciel