Search Header Logo

Quiz 11

Authored by Mohand Mahmoud

Computers

University

Used 1+ times

Quiz 11
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

write code to print print pi=3.14 with lib SciPy ????

2.

FILL IN THE BLANK QUESTION

1 min • 4 pts

I want to display all constants in the scipy ??

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

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 1 2]

3

(1, 2) 	1
  (2, 0)  1
  (2, 2)  2

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

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?

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

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.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

what is output :

import numpy
speed = [99,86,87,88,111,86,103,87,94,78,77,85,86]
x = numpy.mean(speed) print(x)

y = numpy.median(speed) print(y)

z = stats.mode(speed) print(z)

90.0

87.0

86.0

89.76

88.0

86.0

89.76

87.0

86.0

89.76

87.0

111.0

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Regression is

Supervised

un Supervised

rain forsment

all of the choices

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?