
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
10 questions
02 - Python - Introduction & Installation
Quiz
•
University - Professi...
20 questions
TEST FINAL - Algoritmia de Programación
Quiz
•
University
20 questions
CSE493_QUIZ 1
Quiz
•
University
16 questions
Python
Quiz
•
University
20 questions
PHP First Internal Practical Viva
Quiz
•
University
20 questions
Hash
Quiz
•
University
20 questions
Functions
Quiz
•
University
13 questions
IR 4.0 Quiz
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University