ML 2

ML 2

Professional Development

10 Qs

quiz-placeholder

Similar activities

Kursus Pengenalan GCE PKG Kulim

Kursus Pengenalan GCE PKG Kulim

Professional Development

10 Qs

VietNam Gameverse ngày 1

VietNam Gameverse ngày 1

Professional Development

15 Qs

Cuci Otak Kita

Cuci Otak Kita

Professional Development

11 Qs

Kiểm tra đánh máy cơ bản

Kiểm tra đánh máy cơ bản

Professional Development

10 Qs

Evaluación capacitación sistema de comunicaciones OXE

Evaluación capacitación sistema de comunicaciones OXE

Professional Development

10 Qs

QUEST

QUEST

Professional Development

12 Qs

Sintaks Bahasa Pemrograman C

Sintaks Bahasa Pemrograman C

Professional Development

15 Qs

DS - intro

DS - intro

Professional Development

15 Qs

ML 2

ML 2

Assessment

Quiz

Information Technology (IT)

Professional Development

Easy

Created by

Siri Chakkala

Used 5+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code?

x = [1, 2, 3]

y = x

y.append(4)

print(x)

[1, 2, 3]

[1, 2, 3, 4]

[4]

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to create a NumPy array from a list?

np.array([1, 2, 3])

np.list([1, 2, 3])

np.make_array([1, 2, 3])

np.arraylist([1, 2, 3])

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to read a CSV file in Pandas?

pd.read_table()

pd.read_excel()

pd.read_csv()

pd.open_csv()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the shape of the following NumPy array?

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

(3,2)

(2,3)

(1,6)

(6,)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following plots is best suited to display the distribution of a numerical variable?

Line plot

Bar Chart

Histogram

Pie Chart

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements about Python lists and tuples is TRUE?

Tuples are mutable, lists are immutable

Lists are faster than tuples

Tuples are immutable, lists are mutable

Tuples can be modified after creation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to plot a line graph using Matplotlib?

plot(x, y)

plt.line(x, y)

plt.plot(x, y)

graph.plot(x, y)

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?