SolveIt is under development
SolveItNCERT · CBSE · NEET
✓ Board-verified
Computer Science · 2026 · 4 marks

CBSE 2026 · Central · Set 4 · Q33

A csv file "States.csv" contains some data about all the states of India. Each record of the file contains the following data: - Name of the State -…

A csv file "States.csv" contains some data about all the states of India. Each record of the file contains the following data : - Name of the State - Capital of the State - Population of the State - Official Language of the State For example, a sample record in the file is:
['Andhra Pradesh','Amaravati',52221000,'Telugu']
Write a Python program which reads the data from this file and appends all those records where population is more than $\displaystyle 10000000$ into another csv file 'More.csv'. Note : "States.csv" also contains the Header row. The Header row should NOT be copied to "More.csv".
ShareWhatsAppTelegram

CBSE Class 12 Computer Science past-paper question from the 2026 board exam, with the answer as CBSE’s own marking scheme gives it. Where our answers come from.