Hi… this are multiple choice questions cis_103_review_questions_ch_07.pdfChapter 7 File Handling and Applications
1.
Random access memory is _______________ .
a.
b.
c.
d.
2.
is no longer available to the program
cannot be reopened
becomes associated with an internal identifier
ceases to exist
A file in which records are stored one after another in some order is a(n) ______________ file.
a.
b.
c.
d.
10.
include headings or other formatting
open the files
include all the fields represented as input
all of the above
When you close a file, it _________________________________________ .
a.
b.
c.
d.
9.
move data from a storage device to memory
copy data from a storage device to memory
move data from memory to a storage device
copy data from memory to a storage device
Unlike when you print a report, when a program’s output is a data file, you do not ______________________ .
a.
b.
c.
d.
8.
opening
closing
declaring
defining
When you write to a file, you ________________________________________________ .
a.
b.
c.
d.
7.
Files contain records.
Characters contain fields.
Fields contain files.
Fields contain records.
The process of ______________ a file locates it on a storage device and associates a variable name within your program with the file.
a.
b.
c.
d.
6.
name
size
both of the above
none of the above
Which of the following is true regarding the data hierarchy?
a.
b.
c.
d.
5.
Text files contain data that can be read in a text editor.
Text files commonly contain images and music.
Both of the Above.
None of the Above.
Every file on a storage device has a ______________ .
a.
b.
c.
d.
4.
permanent
volatile
persistent
continual
Which is true of text files?
a.
b.
c.
d.
3.
REVIEW QUESTIONS
temporal
sequential
random
alphabetical
When you combine two or more sorted files while maintaining their sequential order based on a field, you are ________________ the
files
a.
b.
c.
d.
tracking
collating
merging
absorbing
11. A control break occurs when a program _____________________________ .
a.
b.
c.
d.
takes one of two alternate courses of action for every record
ends prematurely, before all records have been processed
pauses to perform special processing based on the value of a field
passes logical control to a module contained within another program
12. Which of the following is an example of a control break report?
a.
b.
c.
d.
a list of all customers of a business in zip code order, with a count of the number of customers who reside in each zip code
a list of all students in a school, arranged in alphabetical order, with a total count at the end of the report
a list of all employees in a company, with a message “Retain” or “Dismiss” following each employee record
a list of some of the patients of a medical clinic—those who have not seen a doctor for at least two years
13. A control break field _____________________ .
a.
b.
c.
d.
always is output prior to any group of records on a control break report
always is output after any group of records on a control break report
never is output on a report
causes special processing to occur
14. Whenever a control break occurs during record processing in any control break program, you must______________.
a.
b.
c.
d.
declare a control break field
set the control break field to 0
update the value in the control break field
output the control break field
15. Assume you are writing a program to merge two files named FallStudents and SpringStudents. Each file contains a list of students
enrolled in a programming logic course during the semester indicated, and each file is sorted in student ID number order. After the
program compares two records and subsequently writes a Fall student to output, the next step is to______________ .
a.
b.
c.
d.
read a SpringStudents record
read a FallStudents record
write a SpringStudents record
write another FallStudents record
16. When you merge records from two or more sequential files, the usual case is that the records in the files _________ .
a.
b.
c.
d.
contain the same data
have the same format
are identical in number
are sorted on different fields
17. A file that holds more permanent data than a transaction file is a ____________ file.
a.
b.
c.
d.
master
primary
key
mega-
18. A transaction file is often used to ________________________ another file.
a.
b.
c.
d.
augment
remove
verify
update
19. The saved version of a file that does not contain the most recently applied transactions is known as a_____________ file.
a.
b.
c.
d.
master
child
parent
relative
20. Random access files are used most frequently in all of the following except _____________________ .
a.
b.
c.
d.
interactive programs
batch processing
real-time applications
programs requiring direct access

Purchase answer to see full
attachment




Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.