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 aproximadamente 4 anos atrás
3228
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

Vocabulário Inglês Básico_1
Alessandra S.
Guia de Estudos para OAB 1a Fase
Alessandra S.
Uso do HÍFEN
Viviana Veloso
Simulado de Matemática
Alessandra S.
Glossário de Português
Alessandra S.
Preposições em inglês
GoConqr suporte .
Phrasal Verbs - Inglês #3
Eduardo .
Temas mais cobrados em Química
Marina Faria
4 Passos para Aplicar o Método da ABP
GoConqr suporte .
RECORDANDO A HISTÓRIA DO BRASIL
Lucas Villar
Guia - Projeto de Pesquisa e ABNT
Joana Meira