size+of+a+file

=3.2.3 g=
 * ==estimate the size of a file from its structure and the number of records;==

estimate the size of a file from its structure and the number of records

 * == KEYWORDS == || == DEFINITIONS ([|http://encyclopedia2.thefreedictionary.com])==

||
 * Record || A group of related fields that store data about a subject (master record) or activity (transaction record). A collection of records make up a file. ||
 * Field || A physical unit of data that is one or more bytes in size. A collection of fields make up a record. A field also defines a unit of data on a source document, screen or report. Examples of fields are NAME, ADDRESS, QUANTITY and AMOUNT DUE. The field is the common denominator between the user and the computer. When you interactively query and update your database, you reference your data by field name. ||
 * Bit || ** (BI ** nary digi ** T ** ) The smallest element of computer storage. It is a single digit in a binary number (0 or 1). The bit is physically a transistor or capacitor in a memory cell, a magnetic domain on disk or tape, a reflective spot on optical media or a high or low voltage pulsing through a circuit. ||
 * Byte || ** (B ** inar ** Y T ** abl ** E ** ) The common unit of computer storage from desktop computer to mainframe. It is made up of eight binary digits (bits). A ninth bit may be used in the memory circuits as a parity bit for error checking. The term was originally coined to mean the smallest addressable group of bits in a computer, which has not always been eight. ||

The Structure of a file

 * ===**FIELD**=== || ===**DATA TYPE**=== || ===**SIZE**=== ||
 * ===**FIRST NAME**=== || ===String=== || ===10=== ||
 * ===**HOUSE NUMBER**=== || ===Integer=== || ===3=== ||
 * ===**FIRST LINE OF ADDRESS**=== || ===String=== || ===35=== ||
 * ===**AGE**=== || ===Integer=== || ===3=== ||
 * ===**TIME**=== || ===Real=== || ===4===

MM:SS or HH:MM:SS)
||

Then you should do 55 x 100= 5500bytes
===This would be the total files size in bytes, to make this into a more useful and appropriate format you divide the answer by 1024 to get in into kiloBytes and 1024 again for MegaBytes. Next you add an extra 10% just incase the some of the fields have too many values in for example if someones name was Stephan James Donald Abingdon, this would overfill the verified space for the name so the extra 10% would be enough space if this had happened. ===