CBSE-CLASS-XII SERIES
Informatics-practice

Programming In Python

4 previous year questions.

Volume: 4 Ques
Yield: Medium

High-Yield Trend

4
2025

Chapter Questions
4 MCQs

01
PYQ 2025
medium
informatics-practice ID: cbse-cla
Which of the following libraries defines an ndarray in Python ?
1
pandas
2
numpy
3
matplotlib
4
scipy
02
PYQ 2025
medium
informatics-practice ID: cbse-cla
Which of the following Python statements is used to change a column label in a DataFrame, df ?
1
df = df.rename(old_name : new_name, axis='columns')
2
df = df.rename(old_name, new_name), axis='columns'
3
df = df.change_name(old_name, new_name, axis='bar')
4
df = df.update(old_name : new_name, axis='bar')
03
PYQ 2025
medium
informatics-practice ID: cbse-cla
In Python which function of matplotlib library is used to save a plot ?
1
save()
2
saveplot()
3
export()
4
savefig()
04
PYQ 2025
medium
informatics-practice ID: cbse-cla
State whether the following statement is True or False:
In Python, we cannot create an empty DataFrame.