Search Header Logo

Numpy Revision Test

Authored by Alfiya Shama

Computers

10th Grade

Used 317+ times

Numpy Revision Test
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

__________ is a library used to create data structures and carry out scientific calculations.

Python

Numpy

Pycharm

Bar chart

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How to use numpy ?

import numpy as np

import pandas as pd

import pyplot as plt

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Name the function used to create an array?

np.aray()

np.array()

Np.array()

np.arange()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

np.arange(2,8,1) ----> what output will be produced?

2,3,4,5,6,7,8

2,3,4,5,6,7,8,9

2,3,4,5,6,7

2,4,6,8

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

np.array{[4,7]}

[ 4 7 ]

[ 4 5 6 7 ]

[ 4 5 6 ]

[ 1 2 3 4 5 6 7 ]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pick the matrix in the below options

[ 22 ]

[ 34 45 ]

23 45

[ ]

12 35

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

names = np.array(["Reem" , "Salah" , "Haya" , "Maryam" , "Fatema"])

print(names([2,3,4]))

Mark the right output from the below options

[ 'Haya' 'Maryam' 'Fatema' ]

[ 'Maryam' 'Haya' 'Fatema' ]

[ 'Reem' 'Salah' 'Fatema' ]

[ 'Reem' 'Salah' 'Haya' ]

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?