Nora created a small program in Python that uses NumPy library. She used this library to store his data in a multi-dimensional _______ data structure. This structure allowed her to perform advanced mathematical and scientific calculations in his program.
Checkpoint 1 revision

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Sakhaa Obeidat
Used 6+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
list
dictionay
pandas
array
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Python, to import the NumPy library as the name "np", we typically code as:
numpy import as np
np as import numpy
import numpy as np
import turtule
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mahmoud wants to create a NumPy array using a range of values. He has typed and ran the following statement.
import numpy as np
array = np.arange(2, 15, 4)
print(array)
What is the output?
[ 2 6 10 14 ]
[ 4 6 8 10 12 14 15 ]
[ 2154 ]
[ 0 2 6 10 14 ]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ali wants to store the sportscar data in the order below in a NumPy array.
What is the correct syntax?
import numpy as np
sportsCars = array.np(["Ferrari","Lamborghini","McLaren"])
import numpy as np
sportsCars = array(["Ferrari","Lamborghini","McLaren"])
import numpy as np
sportsCars = np.array(["Ferrari","Lamborghini","McLaren"])
import numpy as np
sportsCars = sportsCars.array(["Ferrari","Lamborghini","McLaren"])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mohammed created a single dimension NumPy array, as shown below.
What single function should he use to split the array into 6 rows and 2 columns?
append
reshape
transpose
hstack
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Amal created a NumPy array, as shown below.
What single function should she use to change each of the rows to be a column and each column to a row?
transpose
vstack
reshape
hstack
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ibrahim created 2 NumPy arrays to store his famous Emirati authors and their books, as shown below.
What single function should he use to append the arrays, so the final array is as
reshape
transpose
hstack
vstack
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Farah was given all her school’s library book details in a comma-separated values (csv) file. The file was called books.csv , and it contained the title, author, ISBN and date published for each book.
To store the data from the file into a Pandas dataframe, what should Farah type?
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at the table showing the statistics of the top 5 drivers of the previous Formula 1 2022 season:
Zayn has stored the data in a Pandas dataframe called df_results .
To print only Charles Leclerc’s results, like below, what is the correct code?
print(df_results.loc["Charles Leclerc"])
print(df_results.append["Charles Leclerc"])
print(df_results.type["Charles Leclerc"])
print(df_results.read_csv["Charles Leclerc"])
Similar Resources on Quizizz
8 questions
Pandas Quiz

Quiz
•
9th Grade
10 questions
12th cs cha13

Quiz
•
12th Grade
10 questions
Python массив

Quiz
•
9th - 12th Grade
10 questions
Revision Chapter 1 - Algorithm and programming(9adv)

Quiz
•
9th Grade
13 questions
ANN Gr12

Quiz
•
12th Grade
10 questions
การประมวลผลสารสนเทศ

Quiz
•
9th Grade
10 questions
C++ vs Python: A Quiz Introduction

Quiz
•
11th Grade - University
10 questions
NumPy

Quiz
•
9th Grade - University
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
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade