Ali has created a small program in Python, but he wants to store his data in a multi-dimensional array. He would like to use advanced mathematical and scientific calculations in his program. Ali should add the ___________ library to his program.

Revision Chapter 1 - Algorithm and programming(9adv)

Quiz
•
Computers
•
9th Grade
•
Medium

amani amaneit2003@yahoo.com
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Sum
NumPy
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In NumPy, the ________ function is used to change the rows to columns, and the columns to rows.
array
transpose
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, the data structure that stores elements of the same data type is called an array.
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Meera has created a small program in Python. She wants to store elements of the same data type in an organized data structure using the NumPy library. To do this Meera should use the NumPy __________ function.
array
transpose
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line of code to the right will import the NumPy library. The "np" is an assigned name for the library. ( import numpy as np )
true
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the printed output of the Python code to the right?
import numpy as np
x= np.array(['hamad',60,80])
print ( x)
np_Hamad
['Hamad' '16' '60']
['Hamad']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The line of the code to the right, will create an array that carries values from 0 to 10 with step size 2.
array= np.arange(0,20,2)
True
False
Create a free account and access millions of resources
Similar Resources on Quizizz
14 questions
ABC in python

Quiz
•
9th Grade
15 questions
Python Data Types

Quiz
•
9th - 10th Grade
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
9 questions
Checkpoint 1 revision

Quiz
•
9th - 12th Grade
8 questions
Pandas Quiz

Quiz
•
9th Grade
8 questions
T3 Y7 Grasshopper App

Quiz
•
7th - 9th Grade
10 questions
Arrays and Lists

Quiz
•
6th - 12th Grade
14 questions
Java Math and String Libraries

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade