[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

University

15 Qs

quiz-placeholder

Similar activities

Python Quiz 1.6

Python Quiz 1.6

University

12 Qs

Quiz 12

Quiz 12

University

10 Qs

DS_NumPy_TEST1

DS_NumPy_TEST1

University

12 Qs

Quizaro

Quizaro

University

20 Qs

Introduction to NumPy (easy)

Introduction to NumPy (easy)

University

10 Qs

Reshaping & vStack&hstack( )

Reshaping & vStack&hstack( )

9th Grade - University

10 Qs

Python Quiz - 6

Python Quiz - 6

University

10 Qs

InCube #Quiz 2

InCube #Quiz 2

University

15 Qs

[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

Assessment

Quiz

Computers

University

Medium

Created by

Karunya Hacks

Used 218+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How we can find the type of numpy array in python?

dtype

typei

type

itype

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Shape() function in Numpy array is used to

None of the Mentioned

Change the shape of the array

Assigns the desired shape to the array

Find the shape of the array

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the use of the zeros() function in Numpy array in python ?

To make a Matrix with first row 0

To make a Matrix with all element 0

To make a Matrix with all diagonal element 0

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not valid to import the numpy module ?

import numpy as np

import numpy as n

import numpy as p

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the use of the size attribute in Numpy array in python ?

It find the direction

It find the shape

It finds the number of items

All of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following find the maximum number in the Numpy array?

max(array)

array.max()

array(max)

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x=np.array([10,20,30,40,50,60,70])

print(np.median(x))


Find the output

35

35.0

40

37.7

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?