MECH 2301 Lecture Notes - Lecture 10: Word Processor

23 views2 pages
MECH 2301 Lecture 10 Notes
Introduction
Stream of Bytes
IBM z/OS represents the opposite extreme, providing detailed record management
within its file management system.
There are good arguments for either approach.
It would certainly be reasonable to interpret the program and word processing files
mentioned above as a single stream of bytes, for example.
Furthermore, we note that the structure of files can be complex, and everyone is
different.
Treating all files in a similar way simplifies the file management programs, while at the
same time adding flexibility to the application programs and utilities
Since each application program can define the contents of its files in any way convenient
to meet its own needs. Input and output redirection is simplified
Since all data is treated in the same way, as a stream of bytes.
The same is true for the use of program pipes, as described
Conversely, treating all files as a stream of bytes requires significantly more effort on
the design of application and utility programs.
‘etrieal of data i the iddle of the strea, for exaple, is ore difficult he the
application program must keep track of its position in the file.
A file management system that imposes well-designed standards on its files can simplify
data storage and retrieval and simplify application program design, without severely
limiting application flexibility.
As a practical matter, much of the data that is useful to a user is logically represented in
record form.
Data files whose records are always retrieved in sequence from the beginning of the file
are known as sequential files.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents