30 questions · 40 minutes · Python

NumPy Basic Quiz 1 practice quiz

30 MCQs covering NumPy basics: array creation, indexing, slicing, broadcasting, reshaping, combining, sorting, boolean indexing, view/copy, linear algebra, random operations, and I/O.

Before you start

Answer all 30 questions. 1 mark each. No negative marking.

You can take this without an account and you will still get the full marked review. Only signed-in attempts are saved — sign in first if you want this one kept in your history.

Questions
30
Time
40 minutes
Marks
30
Subject
Python
Marking
Server-side

What it asks

The first few questions

  1. What does NumPy stand for?
  2. Which function creates an array filled with zeros?
  3. Which attribute gives number of dimensions of an array?
  4. Which attribute gives the total number of elements in an array?

26 more once you begin. Options are withheld until the attempt starts — the answer key never reaches the browser before you have been marked.