Tuesday, July 3, 2007

Fixed & Variable Length Record

1) Fixed length record
A data record that contains fixed length field.

2) Variable length record
Record with an adjustable length, the length of the field is stored within the record.

3) How data is stored in files in the form of fixed length records.
Data is stored within its length field given, it cannot be more than that. For example, if the given length field is 10 characters, which is maximum limit, the user cannot input data more that 10 characters.

4) State the design of a record format.
The format of a data record includes the name, type and size of each field in the record. For example student records, in which data fields like name, address, course, date of birth and so on.


Name

Address

Course

Date Of Birth

Ben Ramsey

17 Elmer Street, Ipswich

PD7015

17/08/73




5) Find the information on the estimation of the size of a file.
In a file of fixed length records, to estimate the file size is by multiplying the number of bytes in each record by the the number of records.

No comments: