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

MCQ Class 12

Please refer to MCQ Questions Chapter 2 Data Handling using Pandas – I Class 12 Informatics Practices with answers provided below. These multiple-choice questions have been developed based on the latest NCERT book for class 12 Informatics Practices issued for the current academic year. We have provided MCQ Questions for Class 12 Informatics Practices for all chapters on our website. Students should learn the objective based questions for Chapter 2 Data Handling using Pandas – I in Class 12 Informatics Practices provided below to get more marks in exams.

Chapter 2 Data Handling using Pandas – I MCQ Questions

Please refer to the following Chapter 2 Data Handling using Pandas – I MCQ Questions Class 12 Informatics Practices with solutions for all important topics in the chapter.

Question. PANDAS stands for _____________
(a) Panel Data Analysis
(b) Panel Data analyst
(c) Panel Data
(d) Panel Dashboard

Answer

C

Question. _______________ contain a collection of built in modules that allow us to perform many actions without writing detailed programs for it
(a) Word
(b) Windows
(c) Python
(d) None of these

Answer

C

Question. Which of the following random module functions generates an integer?
(a) random()
(b) randint()
(c) uniform()
(d) all of these

Answer

B

Question. Which of the following function takes two arguments?
(a) load( )
(b) dump( )
(c) both of the above
(d) none of the above

Answer

B

Question. To merge two dataframes df1 and df2 with no duplicate row labels, which command should be executed?
(a) df1.append(df2, ignore_index=True)
(b) df1.append(df2,ignore_index= False)
(c) df1.append(df2, verify_intigrity = True)
(d) df1.append(df2, verify_intigrity = False)

Answer

C

Question. Which of the following module is to be imported to create Series?
(a) NumPy
(b) Pandas
(c) Matplotlib
(d) None of the above

Answer

B

Question. Which of the following is not an attribute of dataframe:
(a) axes
(b) empty
(c) transpose
(d) Size

Answer

C

Question. A _____ file consists of human readable characters.
(a) Binary
(b) Text
(c) Both of the above
(d) None of the above

Answer

B

Question. __________ function is used to sort a Series object on the basis of values.
(a) sort.values( )
(b) sort_values( )
(c) sort_value( )
(d) sort_Values

Answer

B

Question. Which function open file in python?
(a) open( )
(b) new( )
(c) Open( )
(d) None of the above

Answer

A

Question. Which of the following fills the missing values in Series?
(a) fill value
(b) fill-value
(c) fill_value
(d) fill_value( )

Answer

C

Question. Select the command to display both row and column index label of dataframe ‘exp’.
(a) print(exp.index)
(b) print(exp.index())
(c) print(exp.axes())
(d) print(exp.axes)

Answer

D

Question. readlines() method return _________
(a) String
(b) List
(c) Dictionary
(d) Tuple

Answer

B

Question. To access the a value of dataframe using row labels we can use-
(a) at
(b) loc
(c) iat
(d) iloc

Answer

A

Question. All Pandas’ data structures are mutable but not always mutable.
(a) size, value
(b) semantic, size
(c) value, size
(d) none of these

Answer

C

Question. Which of the following creates an object which maps data to a dictionary?
(a) listreader()
(b) reader()
(c) tuplereader()
(d) DicReader ()

Answer

D

Question. In Pandas DataFrame, ___________ is automatically inserted when corresponding value for a column is missing.
(a) Row
(b) Column
(c) Index
(d) NaN

Answer

D

Question. Series attributes are also known as series ____________
(a) Methods
(b) Events
(c) Properties
(d) Characterstics

Answer

C

Question. Pandas series is a combination of
(a) Records arranged in row and column
(b) Collection of 1 dimensional data and associated index
(c) Collection of 2 dimensional data
(d) Collection of 3 dimensional data

Answer

B

Question. ________ index is takes user defined label as index.
(a) Positional Index
(b) Valued Index
(c) Labelled Index
(d) Sliced Index

Answer

C

Question. Pandas mainly used for
(a) Data Recovery
(b) Data Backup
(c) Data Visualizations
(d) Data Analysis

Answer

D

Question. The dataframe slicing using loc includes _________ values.
(a) datatype
(b) length
(c) end
(d) head

Answer

C

Question. Which of the following is not a feature of Pandas DataFrame?
(a) Store 2D heterogeneous data
(b) Have labelled axes
(c) Indexes may constitute numbers, strings or letters
(d) Size of the data frame is immutable

Answer

A

Question. Which of the following code is helpful to access the first 3 index values?
(a) s[:3]
(b) s[::3]
(c) s[3:]
(d) s[:3:]

Answer

A

Question Pandas Series can be created from:
(a) Scalar values
(b) NumPy arrays
(c) dictionary
(d) All of the above

Answer

D

MCQ Questions Chapter 2 Data Handling using Pandas - I MCQs Class 12 Informatics Practices