Deck 10: File Concepts
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/22
Play
Full screen (f)
Deck 10: File Concepts
1
22.When processing records sequentially
A)The records are processed one at a time starting with the first record.
B)The fields are processed one at a time starting with the first field.
C)The records are processed one at a time starting anywhere in the file.
D)The fields are read one at a time starting anywhere in the record.
A)The records are processed one at a time starting with the first record.
B)The fields are processed one at a time starting with the first field.
C)The records are processed one at a time starting anywhere in the file.
D)The fields are read one at a time starting anywhere in the record.
A
2
16.Files may be processed:
A)Sequentially.
B)Randomly through the use of linked lists.
C)Randomly through the use of binary trees.
D)All of the above.
E)None of the above.
A)Sequentially.
B)Randomly through the use of linked lists.
C)Randomly through the use of binary trees.
D)All of the above.
E)None of the above.
D
3
6.Random access files may process records randomly or sequentially.
True
4
9.It is important to design the record with care to save storage space.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
5
7.A secondary key is essentially the same as a primary key.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
6
5.The EOF is a marker after the last record in a file.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
7
4.A systems flowchart uses the same symbols as an algorithmic flowchart.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
8
14.A data record dictionary:
A)Is a list of the terms used in the solution.
B)Is a list of fields in a record and their attributes.
C)Is a list of the data found in the records.
D)Is a list of records in a file and their attributes.
A)Is a list of the terms used in the solution.
B)Is a list of fields in a record and their attributes.
C)Is a list of the data found in the records.
D)Is a list of records in a file and their attributes.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
9
1.Sequential access file may be processed either randomly or sequentially.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
10
19.The secondary key
A)Is unique.
B)May be used to access records.
C)Is used within the record only.
D)Is the same as the primary key.
A)Is unique.
B)May be used to access records.
C)Is used within the record only.
D)Is the same as the primary key.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
11
15.The primer read is the first record that:
A)Is read as the last instruction in the loop.
B)Is read after the loop ends.
C)Is read as the first instruction in the loop.
D)Is read before the loop begins.
A)Is read as the last instruction in the loop.
B)Is read after the loop ends.
C)Is read as the first instruction in the loop.
D)Is read before the loop begins.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
12
3.The logical file number is a reference number used in the solution.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
13
10.A systems flowchart shows the flow of data between the pieces of hardware.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
14
12.A primary key:
A)Is required for all types of files.
B)Should be unique.
C)Is used in conjunction with a secondary key and is less important than the secondary key.
D)Is the only field used to sort the records of a file.
A)Is required for all types of files.
B)Should be unique.
C)Is used in conjunction with a secondary key and is less important than the secondary key.
D)Is the only field used to sort the records of a file.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
15
13.A systems flowchart:
A)Shows the data flow through the complete hardware system.
B)Shows the data flow through the program instructions.
C)Shows the data flow through the modules.
D)Shows the data flow through the internal memory.
A)Shows the data flow through the complete hardware system.
B)Shows the data flow through the program instructions.
C)Shows the data flow through the modules.
D)Shows the data flow through the internal memory.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
16
8.Instructions such as OPEN and READ uses the LFN within the solution since that number designates the file in use.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
17
2.Sorting is the processing categorizing the data.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
18
17.Buffers are
A)Allow data to be transferred from one storage device to another storage device.
B)Are only used when processing files sequentially.
C)Data holding areas in the computer.
D)All of the above.
E)None of the above.
A)Allow data to be transferred from one storage device to another storage device.
B)Are only used when processing files sequentially.
C)Data holding areas in the computer.
D)All of the above.
E)None of the above.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
19
21.The fields of a record
A)Contain like data for all records.
B)Contain different pieces and number of data items for each record.
C)Contain only character or string data.
D)Contain only numeric data.
A)Contain like data for all records.
B)Contain different pieces and number of data items for each record.
C)Contain only character or string data.
D)Contain only numeric data.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
20
11.A random access file:
A)Can be accessed sequentially.
B)Uses many methods of accessing records including linked lists and binary trees.
C)Can access any record without reading through any other records.
D)All of the above.
A)Can be accessed sequentially.
B)Uses many methods of accessing records including linked lists and binary trees.
C)Can access any record without reading through any other records.
D)All of the above.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
21
23.Sequential files
A)Start with a given record number and continues until the file is closed.
B)Start with the first record and end with and EOF.
C)Start with the first record and ends with a file closed instruction.
D)All of the above.
A)Start with a given record number and continues until the file is closed.
B)Start with the first record and end with and EOF.
C)Start with the first record and ends with a file closed instruction.
D)All of the above.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck
22
24.Sequential files can be processed and maintained
A)As efficiently as random accessed files.
B)More efficiently as random access files.
C)Less efficiently as random access files.
D)As efficiently as random accessed files in some applications.
A)As efficiently as random accessed files.
B)More efficiently as random access files.
C)Less efficiently as random access files.
D)As efficiently as random accessed files in some applications.
Unlock Deck
Unlock for access to all 22 flashcards in this deck.
Unlock Deck
k this deck