Exam 7: File Handling and Applications
Exam 1: An Overview of Computers and Programming60 Questions
Exam 2: Elements of High-Quality Programs59 Questions
Exam 3: Understanding Structure60 Questions
Exam 4: Making Decisions60 Questions
Exam 5: Looping59 Questions
Exam 6: Arrays60 Questions
Exam 7: File Handling and Applications59 Questions
Exam 8: Advanced Data Handling Concepts60 Questions
Exam 9: Advanced Modularization Techniques60 Questions
Exam 10: Object-Oriented Programming60 Questions
Exam 11: More Object-Oriented Programming Concepts60 Questions
Exam 12: Event-Driven Gui Programming, Multithreading, and Animation60 Questions
Select questions type
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:
C
In most programming languages,before an application can use a data file,it must ____.
Free
(Multiple Choice)
4.7/5
(69)
Correct Answer:
A
Explain the difference in how programmers use the words print,write,and display.
Free
(Essay)
4.8/5
(69)
Correct Answer:
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)
____ 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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)