SolveIt is under development
SolveItNCERT · CBSE · NEET
Question 2 / 2 · latest first
✓ Board-verified
Computer Science · 2026 · 5 marks

CBSE 2026 · Central · Set 4 · Q36

NextStep is an organization which has a pool of resource persons to conduct training workshops on various topics related to ICT. The data of all its…

NextStep is an organization which has a pool of resource persons to conduct training workshops on various topics related to ICT. The data of all its Resource Persons is stored in a binary file RESOURCES.DAT using the following record structure (each record is a tuple) :
(R_ID, R_Name, R_Expertise, Charges)
where:
R_ID - Resource Person's ID (An integer) R_Name - Resource Person's Name (A string) R_Expertise - Area of expertise of the Resource Person Charges - Charges (in rupees) per hour to conduct a workshop For example, a record in the file is :
(12, 'P. Velusami','Machine Learning',5000)
In this context, write the following user defined functions in Python :
(i)
Append() - To input the data of a Resource Person and write it in the file RESOURCES . DAT.
(ii)
Update() - To increase the Charges of each resource person by 500.
ShareWhatsAppTelegram

More from File Handling - Binary Files

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.