
AEM 249 Lecture 19
Authored by Markeith Diamond
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical function in NumPy that tests whether all array elements along a given axis evaluate to True?
np.logical_and(a, b)
np.isfinite(a)
np.linalg.matrix_power(a, n)
np.allclose(a, b, tol)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the @ operator do in NumPy?
Performs matrix addition
Performs element-wise multiplication
Performs matrix multiplication
Performs element-wise addition
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in NumPy is used to calculate the matrix or vector norm?
np.linalg.det(a)
np.linalg.matrix_power(a, n)
np.linalg.norm(a)
np.linalg.inv(a)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.logical_xor(a, b) function in NumPy do?
Compute the truth value of a and b element-wise
Compute the truth value of a or b element-wise
Compute the truth value of not a element-wise
Compute the truth value of a exclusive or b element wise
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in NumPy is used to calculate the determinant of an array?
np.linalg.inv(a)
np.linalg.det(a)
np.linalg.matrix_power(a, n)
np.linalg.norm(a)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the np.isinf(a) function in NumPy do?
Test element-wise for negative infinity
Test element-wise for positive or negative infinity
Test element-wise for NaN
Test element-wise for finiteness
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function in NumPy is used to calculate the inverse of a matrix?
np.linalg.det(a)
np.linalg.inv(a)
np.linalg.matrix_power(a, n)
np.linalg.norm(a)
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
Data Structures
Quiz
•
University
20 questions
js DOM
Quiz
•
12th Grade - Professi...
20 questions
Fintech
Quiz
•
University
15 questions
Quantum Computing Quiz
Quiz
•
University
12 questions
Quiz 2 - Stack
Quiz
•
University
10 questions
Spring MVC
Quiz
•
University
10 questions
HTML/CSS Quiz
Quiz
•
10th Grade - University
20 questions
Programming2
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University