Python, NumPy, and Pandas Quiz

Python, NumPy, and Pandas Quiz

University

20 Qs

quiz-placeholder

Similar activities

Bertelsmann AI Track Quiz Initiative #3

Bertelsmann AI Track Quiz Initiative #3

University - Professional Development

20 Qs

Basics of programming - Quiz - 01

Basics of programming - Quiz - 01

University - Professional Development

20 Qs

Django quiz

Django quiz

University

20 Qs

PPS PYTHON QUIZ

PPS PYTHON QUIZ

University

20 Qs

Python Quiz

Python Quiz

University

20 Qs

NumPy

NumPy

University

20 Qs

Python Recap

Python Recap

7th Grade - University

20 Qs

Quiz I - Programming in C

Quiz I - Programming in C

University

20 Qs

Python, NumPy, and Pandas Quiz

Python, NumPy, and Pandas Quiz

Assessment

Quiz

Computers

University

Medium

Created by

Wasiha Tasneem

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid Python variable name?

1variable

variable-name

_variable1

variable name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of `print(0b10)` in Python?

0b10

10

2

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Python structure is immutable?

List

Set

Dictionary

Tuple

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store key-value pairs in Python?

List

Tuple

Dictionary

Set

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to get the shape of a NumPy array?

shape()

array.shape

getshape()

size()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to create an array filled with zeros in NumPy?

np.zero()

np.zeros()

np.null()

np.empty()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which pandas object is one-dimensional?

DataFrame

Panel

Series

Index

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?