Exam 4: Linked Structures - Stacks

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

What impact would the use of sentinel nodes or dummy nodes have upon a doubly linked list implementation?

(Essay)
4.8/5
(39)

What is the potential problem with the java.util.Stack implementation?

(Essay)
4.8/5
(30)

A linked list is composed of objects that each point to the ______.

(Short Answer)
4.9/5
(41)

Compare and contrast a linked list and an array.

(Essay)
4.8/5
(42)

What is the characteristic behavior of a stack?

(Essay)
4.7/5
(35)

A __ is a Java language element used to group related classes under a common name.

(Short Answer)
4.8/5
(33)

What are the advantages to using an array implementation as opposed to a linked implementation?

(Essay)
4.8/5
(36)

The pop operation is implemented by returning a reference to the element currently stored at the top of the stack and adjusting the top reference to the new top of the stack.

(True/False)
4.9/5
(33)

A linked implementation of a stack adds and removes elements from the _______ of the linked list.

(Multiple Choice)
4.7/5
(32)

What is the advantage of postfix notation?

(Essay)
4.7/5
(37)

A data structure that uses object reference variables to create links between objects is:

(Multiple Choice)
4.8/5
(28)

What is key to remember when handling linked lists?

(Essay)
5.0/5
(31)

Objects that are stored in a collection should contain implementation details of the underlying data structure.

(True/False)
4.8/5
(44)

How do object references help us define data structures?

(Essay)
4.8/5
(42)

Why should a linked list node be separate from the element stored on the list?

(Essay)
4.7/5
(40)

A pop operation on a Stack returns a(n)

(Multiple Choice)
4.9/5
(34)

To add an element to a stack you use the method.

(Multiple Choice)
4.7/5
(34)

Why is a class an excellent representation of an abstract data type?

(Essay)
4.8/5
(26)

A linked structure uses object reference variables to link one object to another.

(True/False)
4.8/5
(39)

What are some of the other operations that might be implemented for a stack?

(Essay)
4.8/5
(22)
Showing 21 - 40 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)