Quiz 11

Quiz 11

University

10 Qs

quiz-placeholder

Similar activities

InCube #Quiz 2

InCube #Quiz 2

University

15 Qs

JST 2

JST 2

University

8 Qs

School Of Programming

School Of Programming

University

6 Qs

Python Basics

Python Basics

11th Grade - University

10 Qs

Python Basics: External Libraries

Python Basics: External Libraries

University - Professional Development

6 Qs

DS_NumPy_TEST1

DS_NumPy_TEST1

University

12 Qs

Quiz 12

Quiz 12

University

10 Qs

[MLforDS] Quiz1

[MLforDS] Quiz1

University

15 Qs

Quiz 11

Quiz 11

Assessment

Quiz

Computers

University

Easy

Created by

Mohand Mahmoud

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?