Search Header Logo

Quiz 6.1

Authored by Mohand Mahmoud

Computers

Professional Development

Used 1+ times

Quiz 6.1
AI

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 BLANK QUESTION

1 min • 1 pt

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

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

I want to display all constants in the scipy ??

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

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 BLANK QUESTION

1 min • 1 pt

a ="4";

b ="2";

print(a + b);

what is the output of this code?

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

a = 9

b = 5

print(a>b and 4>7)

what is the output of this code?

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?