Quiz 11

Quiz 11

University

10 Qs

quiz-placeholder

Similar activities

QUIZ DE SIMULACIÓN

QUIZ DE SIMULACIÓN

University

10 Qs

Day1

Day1

University

10 Qs

Python debugging

Python debugging

University

10 Qs

Logistic Regression

Logistic Regression

University

10 Qs

Data Analytics using Python - Quiz 1

Data Analytics using Python - Quiz 1

University

10 Qs

Bahasa Pemrograman Python

Bahasa Pemrograman Python

University

10 Qs

Python101

Python101

University

8 Qs

exception

exception

University

10 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?