
review ck 1 9 adv

Quiz
•
Computers
•
2nd Grade
•
Hard
sajedah al-hilo
Used 19+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Ali created a small program in Python that uses NumPy library. He used this library to store his data in a multi-dimensional _______ data structure. This structure allowed him to perform advanced mathematical and scientific calculations in his program.
panda
array
a. list
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
In Python, to import the NumPy library as the name "np", we typically code as:
import numpy as np
Which one of the following would also be valid for importing the NumPy library?
a. numpy import as np
a. import numpy as npLibrary
a. np as import numpy
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Ahmed wants to store the sportscar data in the order below in a NumPy array.
What is the correct syntax?
a. import numpy as np sportsCars = np.array(["Ferrari","Porsche","Lamborghini","McLaren"])
a. import numpy as np sportsCars = array.np(["Ferrari","Porsche","Lamborghini","McLaren"])
a. import numpy as np sportsCars = array(["Ferrari","Porsche","Lamborghini","McLaren"])
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What single function should he use to split the array into 5 rows and 3 columns?
a. hstack
a. transpose
a. reshape
a. append
5.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
b. reshape
a. vstack
d. hstack
c. transpose
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What single function should she use to change each of the rows to be a column and each column to a row?
b. reshape
a. vstack
d. hstack
c. transpose
7.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Noora was given all her school’s library book details in a comma-separated values (csv) file. The file was called library_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 Noora type?
import pandas as pd
df_books = pd.read_csv("library_books.csv")
import pandas as pd
df_books = pd.to_csv("library_books.csv")
df_books = pd.index("library_books.csv")
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
test

Quiz
•
2nd Grade
10 questions
Przeglądarki, a wyszukiwarki internetowe- kl.4

Quiz
•
1st - 5th Grade
10 questions
LOGO and the turtle

Quiz
•
2nd Grade
10 questions
One-Dimensional Arrays in Python

Quiz
•
2nd Grade
10 questions
Logomocja - rysowanie

Quiz
•
1st - 5th Grade
12 questions
SNT-Les données

Quiz
•
2nd Grade
12 questions
Cuestionario dfs

Quiz
•
1st - 5th Grade
10 questions
Programming - Basic String Manipulation

Quiz
•
2nd - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
PBIS Terrace View

Quiz
•
1st - 5th Grade
20 questions
Addition and Subtraction

Quiz
•
2nd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
17 questions
Even and Odd Numbers

Quiz
•
2nd Grade
9 questions
Good Citizenship and Responsibility

Interactive video
•
1st - 3rd Grade
20 questions
Number Words Challenge

Quiz
•
1st - 5th Grade
12 questions
Place Value

Quiz
•
2nd Grade