Design Patterns Question:

Suppose we have file(ps), dont know how many records are there. move half of the records to 2 files. how can we do?

Design Patterns Interview Question
Design Patterns Interview Question

Answer:

Question confirmation: Move half-half records to 2 diff. files.

Precondition: You must be knowing how to read record.
Solution:
1. Read file from top.
2. Move each record in alternative file.


Previous QuestionNext Question
What is difference between Function Oriented Design and
Object Oriented design?
Identify three types of systems or system upgrades that may be ideal candidates for a Waterfall Development Model strategy?