Homework #5 due Mar 8

Ch 5: Review Questions: 23, 27, 28
Ch 5: Programming Exercises: 11, 15

Additional Questions:

1. You wish to generate a list of all files that have the extension ".DOC" in a certain
subdirectory, sort that list alphabetically, and place the sorted result in a file called
"DOCUMENT". Show how this could be done using pipes, filters, and redirection.

2. The DOS interrupts are divided into two main categories: BIOS and DOS. How would
you characterize each of these categories? Given a choice, which category would you
select to accomplish a comparable task? Why?

3. DOS contains many "undocumented features", such as the ".\" to run batch files with
forbidden names. Why would these capabilities be included in the operating system, yet
not be described in the documentation?