Mastering Python Basics and Libraries

Mastering Python Basics and Libraries

University

50 Qs

quiz-placeholder

Similar activities

Networking

Networking

University

49 Qs

Davinci Resolve 17 Fusion 101

Davinci Resolve 17 Fusion 101

11th Grade - Professional Development

45 Qs

FUN 101 Final

FUN 101 Final

University

45 Qs

Tourism Information Technology

Tourism Information Technology

University

50 Qs

Quiz Python

Quiz Python

University

50 Qs

Microsoft Azure Fundamentals AZ-900 ENG #1

Microsoft Azure Fundamentals AZ-900 ENG #1

University - Professional Development

55 Qs

Basic and Advanced Verilog HDL module

Basic and Advanced Verilog HDL module

University

46 Qs

Health Support Services Final Review

Health Support Services Final Review

9th Grade - Professional Development

55 Qs

Mastering Python Basics and Libraries

Mastering Python Basics and Libraries

Assessment

Quiz

Professional Development

University

Hard

Created by

Manjunatha M

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code: print(type([]))?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data structure in Python?

dictionary

set

tuple

list

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of len([1, 2, 3])?

3

3.0

4

2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a NumPy array from a list?

You can create a NumPy array by calling 'np.array_list(your_list)'

Convert the list to a NumPy array using 'np.list_to_array(your_list)'

Use 'np.array(your_list)' to create a NumPy array from a list.

Use 'np.create_array(your_list)' to create a NumPy array from a list.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of np.array([1, 2, 3]) + 1?

[2, 3, 4]

[0, 1, 2]

[1, 2, 3, 4]

[1, 2, 3, 1]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to read a CSV file in Pandas?

import_csv

fetch_csv

load_csv

read_csv

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'iloc' function in Pandas do?

The 'iloc' function allows for column name selection in Pandas.

The 'iloc' function is a method for merging DataFrames in Pandas.

The 'iloc' function is used for string-based indexing in Pandas.

The 'iloc' function allows for integer-location based indexing in Pandas.

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?