Python Quiz 1

Python Quiz 1

Professional Development

24 Qs

quiz-placeholder

Similar activities

Play with Python Lib

Play with Python Lib

KG - Professional Development

25 Qs

Quiz-4 ML

Quiz-4 ML

Professional Development

20 Qs

Stakeholder's day 2022 KPPN Pekanbaru

Stakeholder's day 2022 KPPN Pekanbaru

Professional Development

20 Qs

OPPO A5s

OPPO A5s

Professional Development

20 Qs

Khai phá dữ liệu lớn

Khai phá dữ liệu lớn

Professional Development

20 Qs

Sponge Bob (by 1st ESO)

Sponge Bob (by 1st ESO)

1st Grade - Professional Development

20 Qs

Friends

Friends

5th Grade - Professional Development

20 Qs

Technical Aptitude

Technical Aptitude

University - Professional Development

20 Qs

Python Quiz 1

Python Quiz 1

Assessment

Quiz

Education

Professional Development

Hard

Created by

Jaspreet Kaur

Used 26+ times

FREE Resource

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python language was developed in which year

1985

1991

1920

2001

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The following code is used to create a variable and store a value. Why will it not work?

My number=36

The equals symbol should be at the beginning of the line

A variable name cannot have any spaces

The variable can’t share a number

There variable names cannot be called my number

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a prominent python “statistics and econometrics library”?

Bokeh

Seaborn

Statsmodels

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Identify the correct statement:

The standard marker for missing data in Pandas is NaN

Series acts in a way like that of an array

Both of the above

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A series is a one-dimensional array which is labelled and can hold any data type.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following can be used to make a Dataframe?

Series

Dataframe

Structured ndarray

All of the above

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Suppose you are defining a tuple as:

tup = (1,2,3,4,5)

We want to update the value at the second index from 2 to 10. How would we do it?

tup(2) = 10

tup[2] = 10

tup{2} = 10

None of these

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?