A MORE DIP.ECT APPP.OACH
PROGRAMMING EXERCISE 7.2
What do you think the Computer
would print if you ran the pro-
gram, using this for line 36? Why?
3G INPUT
«1.
N
PROGRAMMING
EXERCISE
7.3
CHAPTER
CHECKPOINT
1.
What are records? Why must you use them
to
access data directly?
2.
What are
Gelds?
3. Whatis
the difference between
a
sequential
access and a direct
access
file?
4. Why is it quicker to update a direct access
Hie?
Change the program which stores
the
"NAMES/DAT" file
so that
each record
will contain five fields
of
data:
1. name
2. address
3. city
4. state
5.
zip
38