
numpy library- warm up
Authored by Dina Sarris
Computers
10th Grade
Used 121+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is known as advanced data structure?
list
dictionary
library
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a library?
Pandas
append
delete
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is used to import the numpy library?
import numpy
import as np
import numpy as np
import as numpy
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is used to create a numpy array called ages and has 10, 20, 30 and 40 as content?
ages = np([10,20,30,40])
ages = array([10,20,30,40])
ages = np.array([ ])
ages = np.array([10,20,30,40])
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which command is used to display the type of the data structure?
type
input
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
which statement is used to convert a list called numbers to a numpy array called values?
numbers = np.array(values)
values = np.array(numbers)
values = array(numbers)
values = np.array[numbers]
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which statement is used to display the content of a list known as Names?
print(Names)
print(np.Names)
print(np.array(Names))
print(Names_list)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?