Quiz 9

Quiz 9

University

17 Qs

quiz-placeholder

Similar activities

AI-1

AI-1

KG - University

13 Qs

Lớp 5. Định dạng và bố trí hình ảnh trong văn bản

Lớp 5. Định dạng và bố trí hình ảnh trong văn bản

5th Grade - University

20 Qs

ASJ XI 22

ASJ XI 22

12th Grade - University

20 Qs

Sonic-Pi: Duration with Envelopes

Sonic-Pi: Duration with Envelopes

9th Grade - University

14 Qs

Javascript

Javascript

University

12 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

Quiz Pemrograman Perangkat Bergerak 2

Quiz Pemrograman Perangkat Bergerak 2

12th Grade - University

20 Qs

UTS Praktikum SDA KOM B

UTS Praktikum SDA KOM B

University

20 Qs

Quiz 9

Quiz 9

Assessment

Quiz

Computers

University

Hard

Created by

Mohand Mahmoud

Used 2+ times

FREE Resource

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

import numpy as np

arr = np.array([1, 2, 3, 4, 5])

print(arr)

[1 2 3 4 5]

(1 2 3 4 5)

1 2 3 4 5

{1 2 3 4 5}

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

import numpy as np

arr = np.array([1, 2, 3, 4, 5])

print(arr)

print(type(arr))

array

list

tuple

all choices is wrong

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

import numpy as np

d = np.array([[[1, 2, 3], [4, 5, 6]], [[1, 2, 3], [4, 5, 6]]])

print(d.ndim)

0

4 X 3

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

import numpy as np

arr = np.array([[[1, 2, 3], [4, 5, 6]], [[7, 8, 9], [10, 11, 12]]])

print(arr[-1, 0, -2])

2

5

8

11

5.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

import numpy as np

arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])

print(arr[-2, -5] * arr[0, 0] *arr[1, 1])

5

7

30

error

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

import numpy as np

arr = np.array([1, 2, 3, 4, 5, 6, 7])

print(arr[3:5])

[3 4 5]

[3:5]

all choices is wrong

[4 5]

7.

MULTIPLE CHOICE QUESTION

30 sec • 4 pts

import numpy as np

arr = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])

print(arr[0:1, 1:-2])

[]

[[2 3]]

[[2 3],[7 8]]

all choices is wrong

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?