CH 2 - File and Block
CH 2 - File and Block
R
E ER C
T
A
E
A P U T O
V
L
H
C M P IA
D
IN
C O L
A
V
D
H
P
COMPUTER FILE - DEFINITION
BYTE
- a unit of measurement of information storage, most
often consisting of eight bits.
FILE CONTENT
LINE OF TEXT
BINARY IMAGE
EXECUTABLE FILE
EXECUTABLE FILE
These programs:
create
modify files for their own use on an as-needed basis.
delete
EXAMPLE Microsoft Word files are normally created and modified by the
Microsoft Word program in response to user commands, but the
user can also move, rename, or delete these files directly by
using a file manager program such as Windows Explorer.
COMPUTER FILE NAMES
Files are typically accessed using names (filenames).
In some operating systems, the name is associated with
the file itself. In others, the file is anonymous, and is
pointed to by links that have names.
Two files can not have the same name and path.
ORGANIZING COMPUTER FILES
Most computers organize files into hierarchies using:
folders,
directories
catalogs.
THE PATH
identifies the folder or folders in which a file or folder
resides.
Example of path:
/Payroll/Salaries/Managers.doc
COMPUTER FILE EXTENSIONS
Example:
In a table called CUSTOMER CONTACT
INFORMATION, a row would likely contain fields such
as:
ID number, city,
name, telephone number
street address, Etc.
FILE FORMAT
JPEG format
- designed only to store static photographic images.
GIF format
- supports storage of both still images and simple
animations
QuickTime format
- can act as a container for many different types of
multimedia.
Reasons:
- some file format developers view their specification
documents as trade secrets
- some file format developers never spend time writing
a separate specification document;
COMPUTER PROGRAMS
might include anywhere from a dozen instructions to
many millions of instructions for something like a word
processor or a web browser.
FILE SYSTEM
The way a computer organizes, names, stores and
manipulates files.