HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClassesGroups

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Blog

Account

  • Dashboard
  • My Content
  • Profile
  • Log in
© 2026 senLearn. All rights reserved.HelpAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Problems
  2. /Python for Science and Maths
  3. /NumPy Arrays

NumPy Arrays

Python Programming
+ Upload a Problem
More in Python for Science and MathsNumPy ArraysGraphs with matplotlibSolving EquationsCalculus by ComputerSimulation and RandomnessData Analysis with pandasChemistry by Computer
10 problems
Type:
1.
A ball is thrown horizontally at 15 m/s from a roof that is 20 m high.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Hard
2.
A ball is thrown at 20 m/s on the Moon, where g = 1.6 m/s².
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Medium
3.
A student measures the length of a rod five times: 10.2, 10.4, 10.1, 10.3 and 10.5 cm.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Hard
4.
Four players played three games. The scores are the rows of this table: [[12, 15, 9], [20, 18, 22]…
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Medium
5.
A student wants to set the first two marks of a copy to zero, and writes this.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Medium
6.
Let a = np.arange(10, 100, 10). By hand, write what these give, then run them to check: a[2]…
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Easy
7.
Five readings in degrees celsius are -10, 0, 25, 37 and 100.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Easy
8.
A ball is dropped from a tower 80 m high.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Medium
9.
Make each of these arrays with one line of NumPy, and print its shape and its sum.
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Easy
10.
Two students write a = [1, 2, 3] and b = np.array([1, 2, 3]).
High School (11–12), High School (9–10), Undergraduate, General · NumPy ArraysStemPy LabStemPy Lab
Easy