Jump to content

file organisation

Featured Replies

where fixed length and variable length record uses?give an example using file name...

In fixed length records one should use padding for empty or non-filled spaces.

 

For example :-

 

18|Alice|21|F|Student*******************$

19|John|26|M|Professor*****************$

 

In variable length records padding is not required.

 

Alice|21|F|Student#

John|26|M|Professor#

 

Variable records are used when you're not aware of the size of the individual data fields or variables or if you want dynamic allocation of memory at run time so that it allocates as much memory as it is required avoiding unnecessary allocation of memory resources and for fixed length records it is used when you very well know the size of the individual fields or variables.

Edited by immortal

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.