New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Test Your Python Numpy Ability

Froggy Jumps

Played 88

About this activity

Simple question on Numpy

Created by

India

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Test Your Python Numpy Ability
 

Froggy Jumps

Test Your Python Numpy AbilityOnline version

Simple question on Numpy

by Minu R I
1

Which is the correct way to create a NumPy array from a Python list?

2

import numpy as np a = np.array([[1, 2, 3], [4, 5, 6]]) What is the output of a.shape?

3

import numpy as np x = np.array([1, 2, 3]) What is the result of x * 2?

4

import numpy as np a = np.array([10, 25, 30, 5]) Which statement returns only values greater than 20?

5

import numpy as np a = np.array([10, 20, 30, 40, 50]) What is the output of a[1:4]?

6

import numpy as np a = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]]) What is the output of a[0:2, 1:3]?

7

Which command creates a 4×4 identity matrix?

8

What is the output of np.eye(3, k=1)?

9

a = np.array([0, 1, 2, 3, 4, 5]) What is the output of a[::2]?

10

What does a[-3:] return?

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.