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

Answer Posted / a

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.

Is This Answer Correct ?    14 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why should we not use singleton pattern?

563


Give me example of observer design pattern?

621


What is the concurrency design pattern?

701


When singleton pattern is used?

596


What are creational design patterns?

626






Write the code for a singleton class?

616


What is the use of such a class?

667


Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?

2690


What are the examples of the behavioral design patterns?

595


Why have we used synchronized here?

603


Which design pattern is mvc?

620


Are you using singleton in your code?

586


What are the most popular design patterns?

572


What is the executor design pattern?

719


What are structural design patterns?

601