9781111969752_TB_ch07 - Chapter 7 File Handling and...

Info icon This preview shows pages 1–3. Sign up to view the full content.

Chapter 7: File Handling and Applications TRUE/FALSE 1. Images and music are contained in binary files. ANS: T PTS: 1 REF: 258 2. When you copy data from RAM into a file on a storage device, you read to the file. ANS: F PTS: 1 REF: 262 3. The keyboard and printer are the default input and output devices. ANS: F PTS: 1 REF: 264 4. Programmers usually use the word “write” to mean “produce hard copy output.” ANS: F PTS: 1 REF: 266 5. 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. ANS: T PTS: 1 REF: 269 6. You can easily merge files even if each file contains a different record layout. ANS: F PTS: 1 REF: 273 7. You can merge more than two files. ANS: T PTS: 1 REF: 280 8. You update the transaction file with data from the master file. ANS: F PTS: 1 REF: 281 9. The terms “parent” and “child” can refer to file backup generations, but they are also used for a different purpose in object-oriented programming. ANS: T PTS: 1 REF: 282 10. Files in which records must be accessed immediately are sometimes called instant access files. ANS: T PTS: 1 REF: 290 MULTIPLE CHOICE 1. A ____ is a collection of data stored on a nonvolatile device in a computer system. a. computer message c. computer file b. computer interface d. computer selector
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

ANS: C PTS: 1 REF: 258 2. When you write a program that stores a value in a variable, you are using ____ storage. 3. ____ storage is not lost when a computer loses power. 4. Files exist on ____ storage devices, such as hard disks, DVDs, USB drives, and reels of magnetic tape. 5. The combination of the disk drive plus the complete hierarchy of directories in which a file resides is its ____. a. pointer c. locator b. path d. stream ANS: B PTS: 1 REF: 259 6. Directories and ____ are organization units on storage devices. 7. ____ is the more general term for an entity that organizes files.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.
  • Fall '15
  • pts, Computer file

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern