Deck 11: Linked Lists

Full screen (f)
exit full mode
Question
6.A doubly linked list had two or more linked fields.
Use Space or
up arrow
down arrow
to flip the card.
Question
7.A multilinked list has multiple linked fields.
Question
11.A linked list is accessed:

A)Through a linked field.Each linked field value of the record is the next record to be processed.
B)Uses a list pointer to specify which record is the first record to be processed.
C)Uses an empty pointer to specify the first record in which data can be entered.
D)All of the above.
Question
14.The list pointer maintained with a list contains:

A)The smallest value in the list.
B)The record number of the smallest value in the list.
C)The mid value in the list.
D)The record number of the mid value in the list.
Question
19.The records in a file using a linked list:

A)Must be in order when starting.
B)Must be in order at all times.
C)Does not need to be in order.
D)None of the above.
Question
5.A circularly linked list has no end.
Question
13.The number of added field(s)to a file that uses the linked list technique of accessing data are:

A)One.
B)Two.
C)A linked field for each order of processing the file.
D)Two linked fields for each order of processing the file.
Question
4.After adding to and deleting from a linked list,the list must be sorted.
Question
8.The linked field shows where the next item of data is to be processed.
Question
2.Linked lists must always be in order.
Question
12.When using linked lists:

A)New records are always added to the bottom of the file.
B)Deleting data is accomplished by moving all records up,after the deleted record,therefore,eliminating the deleted record.
C)When data is deleted,the links are changed to jump over the deleted record.The deleted record number is entered into the empty list.
D)New records are always added to the top of the file.
Question
16.A circularly linked list:

A)Is the same as any other linked list.
B)Has no end,as the list value of the last value in the list points to the record number of the first value in the list.
C)Is connected to the empty list.
D)b and c
Question
3.You need a head pointer and an empty pointer to process linked lists.
Question
10.The head pointer holds the field number of the next empty record.
Question
1.A linked list uses an extra field in a file to hold the links.
Question
9.The empty pointer holds the field number of the next empty record.
Question
17.In a linked list:

A)Data is held in records.
B)Data is held in arrays.
C)Data is held in separate variables.
D)None of the above.
E)All of the above.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/17
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 11: Linked Lists
1
6.A doubly linked list had two or more linked fields.
False
2
7.A multilinked list has multiple linked fields.
True
3
11.A linked list is accessed:

A)Through a linked field.Each linked field value of the record is the next record to be processed.
B)Uses a list pointer to specify which record is the first record to be processed.
C)Uses an empty pointer to specify the first record in which data can be entered.
D)All of the above.
D
4
14.The list pointer maintained with a list contains:

A)The smallest value in the list.
B)The record number of the smallest value in the list.
C)The mid value in the list.
D)The record number of the mid value in the list.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
5
19.The records in a file using a linked list:

A)Must be in order when starting.
B)Must be in order at all times.
C)Does not need to be in order.
D)None of the above.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
6
5.A circularly linked list has no end.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
7
13.The number of added field(s)to a file that uses the linked list technique of accessing data are:

A)One.
B)Two.
C)A linked field for each order of processing the file.
D)Two linked fields for each order of processing the file.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
8
4.After adding to and deleting from a linked list,the list must be sorted.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
9
8.The linked field shows where the next item of data is to be processed.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
10
2.Linked lists must always be in order.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
11
12.When using linked lists:

A)New records are always added to the bottom of the file.
B)Deleting data is accomplished by moving all records up,after the deleted record,therefore,eliminating the deleted record.
C)When data is deleted,the links are changed to jump over the deleted record.The deleted record number is entered into the empty list.
D)New records are always added to the top of the file.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
12
16.A circularly linked list:

A)Is the same as any other linked list.
B)Has no end,as the list value of the last value in the list points to the record number of the first value in the list.
C)Is connected to the empty list.
D)b and c
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
13
3.You need a head pointer and an empty pointer to process linked lists.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
14
10.The head pointer holds the field number of the next empty record.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
15
1.A linked list uses an extra field in a file to hold the links.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
16
9.The empty pointer holds the field number of the next empty record.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
17
17.In a linked list:

A)Data is held in records.
B)Data is held in arrays.
C)Data is held in separate variables.
D)None of the above.
E)All of the above.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 17 flashcards in this deck.