NumPy Basics Quiz

NumPy Basics Quiz

12th Grade

30 Qs

quiz-placeholder

Similar activities

IT AppDev 1 Pre-Midterm-Quiz

IT AppDev 1 Pre-Midterm-Quiz

University

25 Qs

Excel Quiz

Excel Quiz

4th Grade - University

25 Qs

Java Quiz in tamil theme by jamal

Java Quiz in tamil theme by jamal

University

25 Qs

Introduction to Internet and WWW

Introduction to Internet and WWW

University

25 Qs

Kiến thức về Mạng và Internet

Kiến thức về Mạng và Internet

12th Grade

25 Qs

Code HS Computer SCi 114.1.1 JavaScript Final Exam Pt. 1

Code HS Computer SCi 114.1.1 JavaScript Final Exam Pt. 1

9th - 12th Grade

25 Qs

Software Testing in Java

Software Testing in Java

1st Grade - University

25 Qs

Asesmen Sumatif Akhir Semester Genap

Asesmen Sumatif Akhir Semester Genap

9th Grade - University

26 Qs

NumPy Basics Quiz

NumPy Basics Quiz

Assessment

Quiz

Information Technology (IT)

12th Grade

Practice Problem

Hard

Created by

Manjunatha M

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NumPy stand for?

Numerical Python

Numbers in Python

Numeric Python

NumberPy

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to import NumPy?

import numpy as npy

import numpy as np

import numpy

import num as np

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a NumPy array?

np.array([1, 2, 3])

np.array{[1, 2, 3]}

np.array((1, 2, 3))

np.array[1, 2, 3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to create an array filled with zeros?

np.empty()

np.zeros()

np.zeros_like()

np.fill()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to create an identity matrix in NumPy?

np.eye()

np.identity()

np.ones()

np.ident()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to find the shape of a NumPy array?

np.shape()

array.shape

array.size

array.dim()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ndim attribute of a NumPy array return?

The number of elements in the array

The number of dimensions of the array

The shape of the array

The data type of the array elements

Create a free account and access millions of resources

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?