
Quiz 6.1
Authored by Mohand Mahmoud
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
write code to print print pi=3.14 with lib SciPy ????
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
I want to display all constants in the scipy ??
(a)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is output :
import numpy as np
from scipy.sparse import csr_matrix
arr = np.array([0, 0, 0, 0, 0, 1, 1, 0, 2])
print(csr_matrix(arr))
(0, 5) 1
(0, 6) 1
(0, 8) 2
(1, 2) 1
(2, 0) 1
(2, 2) 2
[1 1 2]
3
4.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
True or False: Optimizers are a set of procedures defined in SciPy that either find the minimum value of a function, or the root of an equation?
(a)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When working with the csgraph modul, what is a correct method to find the shortest path in a graph from one element to another?
dijkstra()
bellmann()
ford()
6.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
a ="4";
b ="2";
print(a + b);
what is the output of this code?
(a)
7.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
a = 9
b = 5
print(a>b and 4>7)
what is the output of this code?
(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?