CBSE Python Series Questions

CBSE Python Series Questions

12th Grade

66 Qs

quiz-placeholder

Similar activities

Unit 2: Cryptography

Unit 2: Cryptography

8th Grade - University

64 Qs

H446 Compilers and Translators

H446 Compilers and Translators

12th Grade

62 Qs

CompTIA A+ 220-1001 Chapter 9 - 12

CompTIA A+ 220-1001 Chapter 9 - 12

University

71 Qs

Internet,  Email & Web designing

Internet, Email & Web designing

University

66 Qs

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

10th - 12th Grade

70 Qs

Компьютерные игры

Компьютерные игры

5th Grade - University

66 Qs

Java

Java

University

61 Qs

Cyber security class test 3

Cyber security class test 3

University

70 Qs

CBSE Python Series Questions

CBSE Python Series Questions

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

C RAJU

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

66 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A Series is a one dimensional array containing a sequence of values of any data type (int, float, list, string, etc), having by default have ________ data labels.

alphanumeric

string

decimal

numeric

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Find the output of the following code: import pandas as pd lst1=[20,35,40] ser1=pd.Series([20,35,40]) print(lst1+lst1) print(ser1+ser1)

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

Complete the given Python code to get the required output as "California": import_____________as pd data={'Yosemite':'California','Yellowstone':'Wyoming','Glacier':'Montana','RockyMountain':'Colorado'} national_parks=pd.Series(_____________) print(national_parks _________)

Evaluate responses using AI:

OFF

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following command will show the last 3 rows from a Pandas Series named NP?

NP.Tail( )

NP.tail(3)

NP.TAIL(3)

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python Pandas, while performing mathematical operations on series, index matching is implemented and all missing values are filled in with _____by default.

Null

Blank

NaN

Zero

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assertion (A):- To use the Pandas library in a Python program, one must import it. Reasoning (R): - The only alias name that can be used with the Pandas library is pd.

Both A and R are true and R is the correct explanation for A

Both A and R are true and R is not the correct explanation for A

A is True but R is False

A is false but R is True

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Predict the output of the given Python code: import pandas as pd list1=[-10,-20,-30] ser = pd.Series(list1*2) print(ser)

Evaluate responses using AI:

OFF

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

Already have an account?