Exam 7: File Handling and Applications

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Match each term with a statement below. -Letters,numbers,and special symbols,such as "A","7",and "$"

Free
(Multiple Choice)
4.8/5
(84)
Correct Answer:
Verified

C

In most programming languages,before an application can use a data file,it must ____.

Free
(Multiple Choice)
4.7/5
(69)
Correct Answer:
Verified

A

Explain the difference in how programmers use the words print,write,and display.

Free
(Essay)
4.8/5
(69)
Correct Answer:
Verified

Logically,the verbs print,write,and display mean the same thing-all produce output.However,in conversation,programmers usually reserve the word print for situations in which they mean produce hard copy output.Programmers are more likely to use write when talking about sending records to a data file,and display when sending records to a monitor.In some programming languages,there is no difference in the verb you use for output,no matter what type of hardware you use;you simply assign different output devices (such as printers,monitors,and disk drives)as needed to programmer-named objects that represent them.

To write a program that produces a report of employees by department number,the records must be grouped by department number before you begin processing.

(True/False)
4.9/5
(64)

Because they enable you to locate a particular record directly (without reading all of the preceding records),random access files are also called ____ files.

(Multiple Choice)
5.0/5
(75)

When you copy data from RAM into a file on a storage device,you read to the file.

(True/False)
4.7/5
(67)

Match each term with a statement below. -Holds complete and relatively permanent data

(Multiple Choice)
4.9/5
(84)

Files exist on ____ storage devices,such as hard disks,DVDs,USB drives,and reels of magnetic tape.

(Multiple Choice)
4.8/5
(84)

Match each term with a statement below. -A file in which records can be located in any order

(Multiple Choice)
4.9/5
(75)

You update the transaction file with data from the master file.

(True/False)
4.8/5
(72)

What does the term batch processing mean?

(Essay)
4.8/5
(80)

____ applications require that a record be accessed immediately while a client is waiting.

(Multiple Choice)
5.0/5
(89)

Match each term with a statement below. -Single useful data items that are composed of one or more characters

(Multiple Choice)
4.8/5
(81)

The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____.

(Multiple Choice)
4.9/5
(74)

How are the keyboard and monitor used in most programming languages?

(Essay)
4.8/5
(96)

Match each term with a statement below. -Thousands of bytes

(Multiple Choice)
4.7/5
(77)

When you ____ a file,it is no longer available to your application.

(Multiple Choice)
4.9/5
(85)

Describe what is required to merge more than two files.

(Essay)
4.8/5
(79)

When the records in a file are sorted in order from lowest to highest values,the records are in ____ order.

(Multiple Choice)
4.8/5
(76)

You can easily merge files even if each file contains a different record layout.

(True/False)
4.9/5
(75)
Showing 1 - 20 of 59
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)