How files are stored
- Files are defined by the software that created
them.
- Encoded data.
- Data files
- Document files
- Spreadsheet files
- Source Program files
- Executable file
- Graphics file
- Audio/Video files
- The files are stored by addresses
- Operating System keeps track of addresses
- You have to know the name (combination to
the lock).
- Data and Files Access
- Sequential Access - data is stored in sequence
- Direct Access - means that the computer can
go directly to the information you want
- Speed
- Table 7.20 on the text book.
- Access time
- Data transfer rate
- Processing tasks
- Batch VS Real-time processing - later versus
now.
- Batch processing: data is collected over several
days or weeks and then processed all at one time, as a "batch".
- Example: You deposit a check in the morning,
but doesn't compute your account balance till the end of the
day when all checks have been processed
- Real-time processing: records information
immediately.
- Airline ticket reservation has to process
transactions immediately so they don't sell the same seat more
than once.
The following are all long term storage devices,and the different
ways and reasons they are needed.
Magnetic Tape
- Magnetic Tape is a thin plastic tape coated with
a substance that can be magnetized; data is represented by the
magnetized or nonmagnetized spots.
- Where used?
- Magnetic Tape is for big operators, they are
used mostly for duplicate storage or backup.
Magnetic Disks (Read all this in the book
it is very important on the test, the notes are just an outline
of the book, read the book).
Virtual Memory - With help of the operating
system the computer uses a special set up swap space on the hard
drive as an extension of RAM. The data still has to be switched
to RAM before it can be accessed by the processor, but if the
RAM is full the computer will use the harddrive to swap in and
out items that are needed by the processor. Optical Laser Disk
- CD-ROM
- Technology - The digital data is represented
by microscopic pits that have been burnt into the surface of
the disk and land(flat areas). Representing the 1's and 0's.
- High powered laser light creates the pits
- Low powered laser light redes the items from
the compact disc by reflecting light through the bottom of the
disc, which usually is either solid gold or silver in color.
- Land causes light to reflect, which is read
as a binary digit 1. Pits absorb the light; this absence of
light is read as a binary digit 0.
- The disc is comprised of tracks and sectors
like the harddrives.
- Most computers today come with a CDROM and
a DVD-ROM.
- CDROM can hold nearly 700MB of data, instructions
and information. Or about 450 times what can be held on a floppy
disk.
- Speed - extremely important when viewing animation
or video such as those found in multimdia applications such as
encyclopedias and some games.
- Measured by its data transfer rate, which
is the time it takes to transmit data from the CDROM to another
device usually RAM.
- The original CDROM was a single speed drive
with a data transfer rate of 150kb per second.
- All subsequent CDROMS drives have been measured
relative to this original speed.
- 16X is (16*150)KB per second or 2,400K(2.4MB).
DVD-ROMS
- Digital Video Disc - ROM
- Capable of storing 17GB Large capacity.
- More than enough to hold a telephone book
with every resident in the U.S.
- The storage capacity surpasses CDROMS and
so does the quality.
- The DVD dries can also read CDROMS
- What I've figured out so far is there is three
different ways of storing data on a DVD:
- The first technique is making the disk more
dense by packing the pits closer together.
- The second is using two layers of pits, for
this technique to work the lower layer of pits is semitransparent
so the laser can read through it to the upper layer.
- The third is having double sided DVD's which
means at some point you have to flip the DVD.
- A DVD with two layers and two sides, plus
the density change can hold up to 17GB's.
Compression and Decompression
Compression
is a method of removing redundant elements from a computer file
so that it requires less storage space. Compression and decompression
techniques are called codec techniques. The two principal compression
techniques are "lossless" and "lossy".
The solution for putting more data into less space comes from the mathmatical
proess called compression.
|