Python Quiz 1

Python Quiz 1

Professional Development

24 Qs

quiz-placeholder

Similar activities

WORLD HERITAGE SITES IN INDIA

WORLD HERITAGE SITES IN INDIA

1st Grade - Professional Development

25 Qs

Ratio Analysis

Ratio Analysis

Professional Development

20 Qs

Principles of Accounts Revision Quiz

Principles of Accounts Revision Quiz

9th Grade - Professional Development

20 Qs

Internal Auditor (Auditing Process) Online Game 3

Internal Auditor (Auditing Process) Online Game 3

Professional Development

20 Qs

HKMNOP C2

HKMNOP C2

University - Professional Development

20 Qs

Python - Buổi 2

Python - Buổi 2

12th Grade - Professional Development

20 Qs

IoT-Topic 7 IoT Platform

IoT-Topic 7 IoT Platform

Professional Development

19 Qs

General Knowledge Jamaican Quiz

General Knowledge Jamaican Quiz

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