Search Header Logo

2021 SAMPLE PAPER 1 (TERM 1)

Authored by Ghanshyam Sharma

Computers

11th - 12th Grade

Used 30+ times

2021 SAMPLE PAPER 1 (TERM 1)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To create an empty Series object, you can use:

pd.Series(empty)

pd.Series( )

pd.Series(np.NaN)

all of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To specify datatype int16 for a Series object, you can write :

pd.Series(data = array, dtype = int16)

pd.Series(data = array, dtype = numpy.int16)

pd.Series(data = array.dtype pandas.int16)

all of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the number of dimensions of a Series object,

index

size attribute is displayed.

itemsize

ndim

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the size of the datatype of the items in Series object, you can display attribute.

index

size

itemsize

ndim

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the number of elements in a Series object, attribute may be used.

index

size

itemsize

ndim

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To get the number of bytes of the Series data, attribute is displayed.

hasnans

nbytes

ndim

dtype

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To check if the Series object contains NaN values, attribute is displayed.

hasnans

nbytes

ndim

dtype

Access all questions and much more by creating a free account

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?