
AEM 249 Lecture 19

Quiz
•
Computers
•
University
•
Easy
Markeith Diamond
Used 3+ times
FREE Resource
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)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Chapter 7 and 8 Test

Quiz
•
University
15 questions
DSA Day 1

Quiz
•
University
15 questions
numpy library

Quiz
•
University
15 questions
Data Analytics using Python - Quiz 2

Quiz
•
University
10 questions
Clases de complejidad

Quiz
•
University
20 questions
Web Designing Quiz-1

Quiz
•
University
14 questions
JavaScript

Quiz
•
University
10 questions
Python Sets

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University