Title: Module 11 Quiz (Ungraded)
Course: COP 1510 Programming Concepts > Section: Module 11 - Files

Q: Opening a(n) ________ file creates a file on disk and allows the program to write data to it.
- In
- Out
- Output
- Input
- None of these
A: Output

Q: In the ________ step the data is either written to the file or read from the file.
- opening
- processing
- closing
- I/O
- None of these
A: processing

Q: What is the term used to describe a file that data is read from?
- In file
- Out file
- Output file
- Input file
- None of these
A: Input file

Q: How many steps must be taken when a file is used by a program?
- One
- Two
- Three
- Four
- None of these
A: Three

Q: Which type of data file access starts from the beginning of the file and proceeds to the end of the file?
- Direct access
- Sequential access
- Input access
- Output access
- None of these
A: Sequential access

Q: Which type of data file access allows access to any piece of data in the file without reading the data that comes before it?
- Direct access
- Sequential access
- Input access
- Output access
- None of these
A: Direct access

Q: What type of data file can be opened and viewed in an editor such as Notepad?
- Text file
- Output file
- Input file
- Binary file
- None of these
A: Text file

Q: What type of data file cannot be opened and viewed in an editor such as Notepad?
- Text file
- Output file
- Input file
- Binary file
- None of these
A: Binary file

Q: Programmers usually refer to the process of saving data to a file as ________ a file.
- saving data to
- copying data to
- writing data to
- put data to
- None of these
A: writing data to

Q: When a web page is visited, the browser stores a small file on the user's computer, known as a ________.
- cookie
- biscuit
- web file
- temp file
- None of these
A: cookie

Q: Which of the following software packages store data in files?
- Word processors
- Image editors
- Games
- Web browsers
- All of these
A: All of these

Q: What is the terminology used when a task is temporarily interrupted as a control variable reaches a specific value?
- Control break
- End of page
- Break
- Control break logic
- None of these
A: Control break logic

Q: In general, how many types of files are there?
- one
- two
- three
- five
- None of these
A: two

Q: When a piece of data is written to a file, it is copied from a variable in ________ to the file.
- cyberspace
- RAM
- flash memory
- All of these
- None of these
A: RAM

Q: Which flowcharting symbol is used for opening and closing files?
- Rectangle
- Parallelogram
- Diamond
- Oval
- None of these
A: Rectangle

Q: True/False: All types of data files are viewable in a text editor.
- True
- False
A: False

Q: True/False: In a text file, all data is stored as a series of characters.
- True
- False
A: True

Q: True/False: The direct access file is similar to the way an MP3 player works: the player starts from the beginning.
- True
- False
A: False

Q: True/False: The sequential access file is similar to the way a cassette player works.
- True
- False
A: True

Q: True/False: Data files are less and less needed in current gaming software.
- True
- False
A: False