for every 10 entries in transaction file master file as to update..
This is a function for a survey system.
Users submit questions:
Eg. what is green house? (keyword “green house”)
how to control plant watering? (keyword “watering”)
All questions will go into a transaction file:
userID, question,keyword, date, time
There is a master file with fields
keyword, #of time asked, earliest date asked, latest date asked
Your task is have the master file maintained based on the transaction file.