Write the procedure of data insertion in middle of the files by-02406

Online Quiz This subjective question is related to the book/course vu mth718 Topics in Numerical Methods. It can also be found in vu mth718 Mid Term Solved Past Paper No. 12.

Question 1: Write the procedure of data insertion in middle of the files by Merge Method practiced in older systems
Answer:
  1. Opened the data file and a new empty file.
  2. Started reading the data file from beginning of it.
  3. Kept on copying the read data into the new file until the location we want to insert data into is reached. · Inserted (appended) new data in the new file.
  4. Skipped or jumped the data in the data file that is to be overwritten or replaced.
  5. Copied (appended) the remaining part of the file at the end of the new file
(page 218)

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background