Answer the following statements true (T) or false (F)

1) When working with a linked list, the first element of the list must be treated in a different way than the other elements.
2) In a doubly linked list, each element has a reference to the element that immediately precedes it in the list and the element
that immediately follows it in the list.
3) In the linked list implementation of a stack, capacity represents the number of elements for which space is allocated when the
list is instantiated.
4) Using the rear of the linked list as the top of the stack is the most efficient way to manage the stack.
5) When working with a linked list implementation of a stack, the push operation should throw an exception if the stack is
empty.

1) T
2) T
3) F
4) F
5) F

Computer Science & Information Technology

You might also like to view...

After a user creates a new query or edits an existing query they must ________ the query to display the corresponding results

A) execute B) retrieve C) run D) start

Computer Science & Information Technology

You cannot use pixels to specify the width of a frame in a frameset

Indicate whether the statement is true or false

Computer Science & Information Technology