# Data Handling using Pandas – I MCQ Class 12 Informatics Practices

Please refer to Chapter 2 Data Handling using Pandas – I MCQ Class 12 Informatics Practices with answers below. These multiple-choice questions have been prepared based on the latest NCERT book for Class 12 Informatics Practices. Students should refer to MCQ Questions for Class 12 Informatics Practices with Answers to score more marks in Grade 12 Informatics Practices exams. Students should read the chapter Data Handling using Pandas – I and then attempt the following objective questions.

## MCQ Questions Class 12 Informatics Practices Chapter 2 Data Handling using Pandas – I

Data Handling using Pandas – I MCQ Class 12 Informatics Practices provided below covers all important topics given in this chapter. These MCQs will help you to properly prepare for exams.

Question. What will be correct syntax for pandas series?
(a) pandas_Series( data, index, dtype, copy)
(b) pandas.Series( data, index, dtype)
(c) pandas.Series( data, index, dtype, copy)
(d) pandas_Series( data, index, dtype)

C

Question. To add a new row in a dataframe ‘emp’ we can write
(a) emp.loc[len(df)]=[1,’raghu’,2300]
(b) emp.iloc[len(df)]=[1,’rghu’,2300]
(c) emp.iloc[-1]=[1,’raghu’,2300]
(d) emp.loc[-1]=[1,’raghu’,2300]

B

Question. To display last five rows of a Series object S, you may write
(c) tail( )
(d) tail(5)

C

Question. __________ is a high-level data manipulation tool used for analysing data.
(a) NumPy
(b) Pandas
(c) Matplotlib
(d) All of these

B

Question. Which of the following attribute of Series returns the tuple?
(a) size
(b) shape
(c) values
(d) index

B

Question. File in python is treated as sequence of ________________
(a) Bytes
(b) Bites
(c) bits
(d) None of the above

A

Question. Which of the following method reads one complete line from a file?

C

Question. Which is true
(a) Pandas supports non-unique index values.
(b) Pandas supports label based indexing
(c) Pandas used range method for implicit indexing.
(d) All are true

D

Question. Series ‘S1’ has five values with index value (0, 1, 2, 3, 4) and series ‘S2’ has five values with index (2, 3, 4, 5, 6). What will be the total number of values in ‘S3’ if S3 = S1 + S2
(a) 5
(b) 6
(c) 7
(d) 8

C

Question. If a dataframe is created using a 2D dictionary, then the column labels are formed from
(a) dictionary’s values
(b) inner dictionary’s keys
(c) outer dictionary’s keys
(d) none of these

C

Question. Which of the following is Missing data?
(a) NULL
(b) NaN
(c) None
(d) All Above

D

Question. The ________ project builds on top of pandas and matplotlib to provide easy plotting of data.
(a) yhat
(b) Seaborn
(c) Vincent
(d) Pychart

B

Question. Which of the following are modules/libraries in Python?
(a) NumPy
(b) Pandas
(c) Matplotlib
(d) All of the above

D

Question. To get the number of elements in a dataframe,
(a) size
(b) shapeartribute may be used.
(c) values
(d) ndim