Numpy Revision Test

Numpy Revision Test

10th Grade

8 Qs

quiz-placeholder

Similar activities

A words - GCSE Computer Science

A words - GCSE Computer Science

1st - 10th Grade

13 Qs

C# Arrays

C# Arrays

9th - 12th Grade

12 Qs

python advance

python advance

10th Grade

13 Qs

Reshaping & vStack&hstack( )

Reshaping & vStack&hstack( )

9th Grade - University

10 Qs

python

python

10th Grade

10 Qs

Numpy 4 life

Numpy 4 life

9th - 12th Grade

10 Qs

Programming - Arrays

Programming - Arrays

2nd - 12th Grade

10 Qs

AutoCad Practice Exam

AutoCad Practice Exam

10th - 11th Grade

10 Qs

Numpy Revision Test

Numpy Revision Test

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Alfiya Shama

Used 313+ times

FREE Resource

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' ]

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

names[2] = "Omar"

print([names])

Mark the right output from the below options

[ "Reem" , "Salah" , "Haya" , "Maryam" , "Fatema" ]

[ "Reem" , "Salah" , "Omar" , "Maryam" , "Fatema" ]

[ "Reem" , "Haya" , "Salah" , "Maryan" , "Fatema" ]