Search Header Logo

Quiz 7

Authored by Moirangthem Sonia

Computers

Professional Development

Used 1+ times

Quiz 7
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python package provides high-level mathematical functions and efficient array operations?

array

NumPy

matplotlib

pandas

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Python array module is most suitable for:

Handling large datasets

Basic arrays of uniform type

Generating plots

Random number generation

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which NumPy subpackage is used for random number generation?

numpy.math

numpy.random

numpy.randomize

numpy.stat

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The matplotlib library is mainly used for:

Array creation

File I/O operations

Data visualization

Random number generation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to install NumPy?

install numpy

import numpy

pip install numpy

numpy download

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to import NumPy under the alias np?

import numpy

import numpy as np

import np as numpy

numpy import np

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you sum integers from 1 to 1,000,000 using NumPy, which method is efficient?

Python for loop

np.arange().sum()

np.add(list)

While loop

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?