Python Quiz 1

Python Quiz 1

Professional Development

24 Qs

quiz-placeholder

Similar activities

Surgical Asepsis

Surgical Asepsis

University - Professional Development

20 Qs

NATURE AND SCOPE OF BUSINESS ECONOMICS

NATURE AND SCOPE OF BUSINESS ECONOMICS

Professional Development

20 Qs

Wound Care

Wound Care

Professional Development

20 Qs

Quiz FO 26 Jan 2024

Quiz FO 26 Jan 2024

Professional Development

20 Qs

Quiz-4 ML

Quiz-4 ML

Professional Development

20 Qs

Friends

Friends

5th Grade - Professional Development

20 Qs

1st Quiz

1st Quiz

Professional Development

20 Qs

JROTC Proper Wear of Uniform

JROTC Proper Wear of Uniform

9th Grade - Professional Development

21 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?