Search Header Logo

Day1-Intro-Python-Pandas

Authored by Carlin CHU

Computers

3rd Grade

Used 4+ times

Day1-Intro-Python-Pandas
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one is not the python built-in data type?

Boolean

List

String

Numerics

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one is NOT the property of a Python 'List'?

List is used to store multiple items in a single variable.

List can store both one number and one string in a single variable.

The values in a List cannot be changed.

All of the above.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of the following python code?

r=range(1,5,2)

print(list(r))

[1,2,3,4,5]

[1,2,3,4]

[1,3,5]

[1,3]

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What is the output of the following python code?

X=['CUHK', 1, 'Business School', 2]

print(X[2][1])

U

u

1

B

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which Pandas function is used to open a data file?

pandas.to_csv()

pandas.read_csv()

pandas.open_csv()

pandas.load_csv()

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which one is the python code for saving data to an external file in Pandas?

Pandas.to_csv()

Pandas.save_csv()

Pandas.savedata()

All of the above

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?