
PP_Week12_Batch1_Numpy
Authored by Narasimha Reddy Soora
Professional Development, Computers
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to create a NumPy array?
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a correct syntax to print the numbers [3, 4, 5] from the array arr given in the image
print(arr[2:5])
print(arr[2:6])
print(arr[2:4])
print(arr[3:6])
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a correct syntax to return the shape of an array?
shape(arr)
arr.shape
arr.shape()
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct syntax to reshape the array given in the image into 4 arrays with 3 elements?
newarr = arr.reshape(3, 4)
newarr = arr.shape(3, 4)
newarr = arr.reshape(4, 3)
newarr = arr.shape(4, 3)
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the code given in the image?
[1 3 6]
[6]
[3 6 9]
[9]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a correct syntax to subtract the numbers from arr1 with the numbers from arr2?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct method for getting the Natural Logarithm (Logarithm at base e)?
arr = np.arange(1, 10)
np.log(arr)
np.loge(arr)
np.natural(arr)
np.ln(arr)
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?
Similar Resources on Wayground
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
13 questions
طه يا طبيبي QUIDZ ADZKAR OFFICIAL 1443H Maulidur Rasul ﷺ
Quiz
•
KG
20 questions
BCS Network Security Test 1
Quiz
•
University - Professi...
12 questions
Sumatif Harian 3
Quiz
•
7th Grade
11 questions
Determining System Requirements
Quiz
•
University
11 questions
Threats to Data
Quiz
•
9th - 12th Grade
20 questions
Software Engineering Quiz 1
Quiz
•
University
18 questions
Application forms
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade