Edzy
AI TutorResourcesToolsCompareBuy
SearchDownload AppLogin
Edzy

Edzy for Classes 6-12

Edzy is a personal AI tutor for CBSE and State Board students, with curriculum-aligned guidance, practice, revision, and study plans that adapt to each learner.

  • Email: always@edzy.ai
  • Phone: +91 96256 68472
  • WhatsApp: +91 96256 68472
  • Address: Sector 63, Gurgaon, Haryana

Follow Edzy

Browse by Class

  • CBSE Class 6
  • CBSE Class 7
  • CBSE Class 8
  • CBSE Class 9
  • CBSE Class 10
  • CBSE Class 11
  • CBSE Class 12
Explore the CBSE resource hub

Explore Edzy

  • Study Resources
  • Free Study Tools
  • Best Apps for Board Exams
  • Edzy vs ChatGPT
  • About Us
  • Why We Built Edzy
  • Blog
  • CBSE AI Tutor

Support & Legal

  • Help & FAQs
  • Accessibility
  • Privacy Policy
  • Terms & Conditions
  • Refund Policy
  • Cookie Policy
  • Site Directory

© 2026 Edzy. All rights reserved.

Curriculum-aligned learning paths for students in Classes 6-12.

CBSE
Class 12
Informatics Practices
Informatics Practices
Data Handling using Pandas - I

Question Bank

Practice Hub

Question Bank: Data Handling using Pandas - I

This chapter introduces data handling with Pandas, focusing on Series and DataFrame structures. Understanding these concepts is essential for efficient data manipulation and analysis in Python.

Structured practice
Question Practice

Practice chapter questions in a cleaner, exam-ready flow

Start with curated question sets, move into full module views when needed, and keep discovering related practice without losing your place in the chapter.

Question Bank - Data Handling using Pandas - I

View all (102)
Q1.

What is a Python library?

Single Answer MCQ
Q-00093895
View explanation
Q2.

Which of the following libraries is primarily used for data manipulation in Python?

Single Answer MCQ
Q-00093896
View explanation
Q3.

Which library would you use for creating visualizations in Python?

Single Answer MCQ
Q-00093897
View explanation
Q4.

What does NumPy stand for?

Single Answer MCQ
Q-00093898
View explanation
Q5.

Which of the following is NOT a feature of Python libraries?

Single Answer MCQ
Q-00093899
View explanation
Q6.

How can you import a library in Python?

Single Answer MCQ
Q-00093900
View explanation
Q7.

What is the primary use of the Pandas library?

Single Answer MCQ
Q-00093901
View explanation
Q8.

In Pandas, which data structure is used to store one-dimensional data?

Single Answer MCQ
Q-00093902
View explanation
Q9.

What module is commonly imported alongside Pandas for numerical operations?

Single Answer MCQ
Q-00093903
View explanation
Q10.

When would you choose to use Matplotlib over Pandas?

Single Answer MCQ
Q-00093904
View explanation
Q11.

What command allows you to read a CSV file into a Pandas DataFrame?

Single Answer MCQ
Q-00093905
View explanation
Q12.

Which command would you use to output a DataFrame to a CSV file?

Single Answer MCQ
Q-00093906
View explanation
Q13.

Which of the following is a key advantage of using libraries like NumPy and Pandas?

Single Answer MCQ
Q-00093907
View explanation
Q14.

In the context of data handling, what does 'manipulation' typically refer to?

Single Answer MCQ
Q-00093908
View explanation
Q15.

What is a common misconception about the use of libraries in Python?

Single Answer MCQ
Q-00093909
View explanation
Q16.

Which command is used to install the Pandas library?

Single Answer MCQ
Q-00093910
View explanation
Q17.

What prerequisite must be fulfilled before installing Pandas?

Single Answer MCQ
Q-00093911
View explanation
Q18.

What does the command 'pip install pandas' do?

Single Answer MCQ
Q-00093912
View explanation
Q19.

Where is the Pandas library primarily used?

Single Answer MCQ
Q-00093913
View explanation
Q20.

Which of the following is not a data structure in Pandas?

Single Answer MCQ
Q-00093914
View explanation
Q21.

To check if Pandas has been installed successfully, what command should you use in Python?

Single Answer MCQ
Q-00093915
View explanation
Q22.

Which command would you run to upgrade Pandas to the latest version?

Single Answer MCQ
Q-00093916
View explanation
Q23.

What will happen if you run 'pip install pandas' when it is already installed?

Single Answer MCQ
Q-00093917
View explanation
Q24.

Why is it essential to install libraries like Pandas?

Single Answer MCQ
Q-00093918
View explanation
Q25.

How do you import the Pandas library in Python?

Single Answer MCQ
Q-00093919
View explanation
Q26.

What is a common mistake when installing Pandas?

Single Answer MCQ
Q-00093920
View explanation
Q27.

Which file types can you handle using Pandas after installation?

Single Answer MCQ
Q-00093921
View explanation
Q28.

What is a key benefit of using Pandas over basic Python data structures?

Single Answer MCQ
Q-00093922
View explanation
Q29.

Why is it important to know how to install Pandas in a data analysis workflow?

Single Answer MCQ
Q-00093923
View explanation
Q30.

What command can be used to list all installed packages including Pandas?

Single Answer MCQ
Q-00093924
View explanation
Q31.

What is the primary method to create an empty DataFrame in Pandas?

Single Answer MCQ
Q-00093925
View explanation
Q32.

Which method is used to add a new column to an existing DataFrame?

Single Answer MCQ
Q-00093926
View explanation
Q33.

To remove a column from a DataFrame named 'df', which syntax is correct?

Single Answer MCQ
Q-00093927
View explanation
Q34.

If you want to drop multiple columns at once, what is the appropriate command?

Single Answer MCQ
Q-00093928
View explanation
Q35.

When adding a new row to a DataFrame, which method is typically used?

Single Answer MCQ
Q-00093929
View explanation
Q36.

What will happen if you use df.drop(['A'], axis=1) on a DataFrame that does not contain column 'A'?

Single Answer MCQ
Q-00093930
View explanation
Q37.

Consider the DataFrame after the command ResultDF['Preeti']=[89,78,76]. What will result if it is executed on an incompatible length?

Single Answer MCQ
Q-00093931
View explanation
Q38.

What is the default index type for a new DataFrame created in Pandas?

Single Answer MCQ
Q-00093932
View explanation
Q39.

If you have a DataFrame 'df' with 5 rows and you execute df.drop([0, 1]) what will be the index of the resulting DataFrame?

Single Answer MCQ
Q-00093933
View explanation
Q40.

What happens when you try to set a new index to a DataFrame with duplicate values?

Single Answer MCQ
Q-00093934
View explanation
Q41.

In Pandas, which method can be used to check the size of a DataFrame?

Single Answer MCQ
Q-00093935
View explanation
Q42.

When concatenating two DataFrames 'df1' and 'df2', which parameter represents the axis along which they are concatenated?

Single Answer MCQ
Q-00093936
View explanation
Q43.

Which method allows you to filter rows in a DataFrame based on certain conditions?

Single Answer MCQ
Q-00093937
View explanation
Q44.

What is a Series in Pandas?

Single Answer MCQ
Q-00093938
View explanation
Q45.

Which method is used to create a Series from scalar values?

Single Answer MCQ
Q-00093939
View explanation
Q46.

What index does Pandas use if none is specified during Series creation?

Single Answer MCQ
Q-00093940
View explanation
Q47.

How can you access the second item in a Series named 'data'?

Single Answer MCQ
Q-00093941
View explanation
Q48.

What is the output type of a Series containing mixed data types?

Single Answer MCQ
Q-00093942
View explanation
Q49.

If you create a Series with the index ['A', 'B', 'C'] and values [1, 2, 3], how would you access value '2'?

Single Answer MCQ
Q-00093943
View explanation
Q50.

What is the primary benefit of using labels as indices in a Series?

Single Answer MCQ
Q-00093944
View explanation
Q51.

What is the output of 'pd.Series([5, 10, 15])'?

Single Answer MCQ
Q-00093945
View explanation
Q52.

What will 'pd.Series([1, 2, 3], index=[0, 1, 2])' output?

Single Answer MCQ
Q-00093946
View explanation
Q53.

Which of the following statements about Series is NOT true?

Single Answer MCQ
Q-00093947
View explanation
Q54.

When specifying an index with non-numeric values such as ['Feb', 'Mar', 'Apr'], what behavior can we expect?

Single Answer MCQ
Q-00093948
View explanation
Q55.

In Pandas, how can a Series containing values [4, 5, 6] and an index of ['A', 'B', 'C'] be created?

Single Answer MCQ
Q-00093949
View explanation
Q56.

Which of the following methods can be used to get the index of a Series?

Single Answer MCQ
Q-00093950
View explanation
Q57.

If a Series is created as 'pd.Series([1, 2, 3], index=[0, 1, 2])', what value would 'series[1]' return?

Single Answer MCQ
Q-00093951
View explanation
Q58.

Which of these statements accurately reflects the versatility of Series in Pandas?

Single Answer MCQ
Q-00093952
View explanation
Q59.

Which Pandas function is used to read a CSV file into a DataFrame?

Single Answer MCQ
Q-00093953
View explanation
Q60.

What will pd.read_csv('data.csv') do if the file 'data.csv' does not exist?

Single Answer MCQ
Q-00093954
View explanation
Q61.

If you want to skip the first row of a CSV file while reading it into a DataFrame, which parameter should you use?

Single Answer MCQ
Q-00093955
View explanation
Q62.

When exporting a DataFrame to a CSV file using to_csv(), what happens if you set the index parameter to False?

Single Answer MCQ
Q-00093957
View explanation
Q63.

How can you load a CSV file and set custom column names using Pandas?

Single Answer MCQ
Q-00093958
View explanation
Q64.

Which command would you use to write a DataFrame named 'dataFrame' to 'output.csv'?

Single Answer MCQ
Q-00093959
View explanation
Q65.

If you don't specify any parameters in read_csv(), which row will be used as headers by default?

Single Answer MCQ
Q-00093960
View explanation
Q66.

What will be the output of marks.empty if marks is a DataFrame loaded successfully with data?

Single Answer MCQ
Q-00093961
View explanation
Q67.

If you need to remove a specific column from a DataFrame before exporting, which function should you use?

Single Answer MCQ
Q-00093962
View explanation
Q68.

What type of data structure does pd.read_csv() return?

Single Answer MCQ
Q-00093963
View explanation
Q69.

Which import statement is correct to begin using Pandas in a Python program?

Single Answer MCQ
Q-00093964
View explanation
Q70.

Which parameter in read_csv() helps to specify the delimiter of the data in the file?

Single Answer MCQ
Q-00093965
View explanation
Q71.

When creating a DataFrame from a CSV file, what is the effect of setting the parameter header=1?

Single Answer MCQ
Q-00093966
View explanation
Q72.

Which common error might occur when reading a CSV file with inconsistent row lengths?

Single Answer MCQ
Q-00093967
View explanation
Q73.

What is the output of the following code? `pd.Series([1, 2, 3, 4], index=['a', 'b', 'c', 'd'])`

Single Answer MCQ
Q-00093968
View explanation
Q74.

Which method would you use to check if a Pandas Series is empty?

Single Answer MCQ
Q-00093969
View explanation
Q75.

If you have the following series: `s = pd.Series([10, 20, 30], index=['x', 'y', 'z'])`, what will `s['y']` return?

Single Answer MCQ
Q-00093970
View explanation
Q76.

What happens when you assign a new value using slicing in a Series?

Single Answer MCQ
Q-00093971
View explanation
Q77.

Which of the following will correctly create a Series with a custom index?

Single Answer MCQ
Q-00093972
View explanation
Q78.

In the code `s = pd.Series([1, 2, 3]); s.name = 'MySeries'`, what is the purpose of `s.name`?

Single Answer MCQ
Q-00093973
View explanation
Q79.

How can you retrieve the index values of a Pandas Series?

Single Answer MCQ
Q-00093974
View explanation
Q80.

What will be the result of executing `pd.Series([5, 6, 7], index=['a', 'b', 'a'])`?

Single Answer MCQ
Q-00093975
View explanation
Q81.

If you use `pd.Series({'p': 5, 'q': 10})`, what will be the output if you access `s['p']`?

Single Answer MCQ
Q-00093976
View explanation
Q82.

How would you find the number of elements in a given Pandas Series?

Single Answer MCQ
Q-00093977
View explanation
Q83.

If you have a Series `s = pd.Series([1, 2, 3], index=['a', 'b', 'c'])`, what will `s['a':'b']` return?

Single Answer MCQ
Q-00093978
View explanation
Q84.

How do you change the index name of a Pandas Series?

Single Answer MCQ
Q-00093979
View explanation
Q85.

In Pandas, which attribute returns the actual values stored in the Series?

Single Answer MCQ
Q-00093980
View explanation
Q86.

In which scenario would accessing a DataFrame column return a Series?

Single Answer MCQ
Q-00093981
View explanation
Q87.

What attribute would you use to count non-null values in a Series?

Single Answer MCQ
Q-00093982
View explanation
Q88.

What will `s = pd.Series([None, None]).empty` return?

Single Answer MCQ
Q-00093983
View explanation
Q89.

What type of index can be used in a Pandas Series?

Single Answer MCQ
Q-00093984
View explanation
Q90.

How does Pandas handle operations with unaligned Series?

Single Answer MCQ
Q-00093985
View explanation
Q91.

What is the primary advantage of using indexed data in a Pandas Series?

Single Answer MCQ
Q-00093986
View explanation
Q92.

Which of the following statements about NumPy ndarray is correct?

Single Answer MCQ
Q-00093987
View explanation
Q93.

Which data structure requires more memory, Pandas Series or NumPy ndarray?

Single Answer MCQ
Q-00093988
View explanation
Q94.

When slicing a Pandas Series with positional indices, what happens at the end index?

Single Answer MCQ
Q-00093989
View explanation
Q95.

In which situation does Pandas Series automatically perform alignment?

Single Answer MCQ
Q-00093990
View explanation
Q96.

What will occur if you try to perform operations on two unaligned Pandas Series without handling the missing labels?

Single Answer MCQ
Q-00093991
View explanation
Q97.

Why might a programmer choose to use Pandas over NumPy?

Single Answer MCQ
Q-00093992
View explanation
Q98.

Which of the following is NOT an advantage of using Pandas over NumPy?

Single Answer MCQ
Q-00093993
View explanation
Q99.

How does the memory usage of Pandas Series compare to NumPy ndarray?

Single Answer MCQ
Q-00093994
View explanation
Q100.

What type of computations can be performed automatically aligned in Pandas Series?

Single Answer MCQ
Q-00093995
View explanation
Q101.

What does the read_csv() function in Pandas do?

Single Answer MCQ
Q-00093996
View explanation
Q102.

Which of the following operations is not directly supported by NumPy?

Single Answer MCQ
Q-00093997
View explanation
Learn Better On The App
Built for collaborative learning

Study With Friends

Join classmates, challenge them in duels, and make practice more engaging.

Quick duels
Shared momentum

Faster access to practice, revision, and daily study flow.

Edzy mobile app preview