[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

University

15 Qs

quiz-placeholder

Similar activities

Understanding Email, Contacts and Calendaring

Understanding Email, Contacts and Calendaring

University

10 Qs

Pra UPS 2

Pra UPS 2

University

20 Qs

Quiz IT Audit 7 Gabungan

Quiz IT Audit 7 Gabungan

University

10 Qs

BB

BB

University

10 Qs

DWDM-2

DWDM-2

University

20 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

CodeMonkey for B.Ed IT

CodeMonkey for B.Ed IT

University

10 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

[Python For All] Quiz 5 - Numpy

[Python For All] Quiz 5 - Numpy

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Karunya Hacks

Used 236+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers