Exam 13: Pointers and Linked Lists

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A _________ is a struct or class object that has one or more member variables that are pointer variables.

Free
(Short Answer)
4.9/5
(33)
Correct Answer:
Verified

Node

The first node in a linked list is generally named _________

Free
(Short Answer)
4.8/5
(39)
Correct Answer:
Verified

head

If you want to declare a node type struct and typedef a pointer type for that node,in which order must you make these declarations?

Free
(Multiple Choice)
4.7/5
(51)
Correct Answer:
Verified

B

Which operator * or .)has higher precedence?

(Short Answer)
4.9/5
(40)

Removing data from a stack is called popping the stack.

(True/False)
4.8/5
(29)

A _______ is a list constructed using pointers.

(Short Answer)
5.0/5
(46)

In a node type named MyNode,which of the following correctly declares a pointer to a node of that type?

(Multiple Choice)
4.8/5
(29)

You can directly access the nth node of a linked list

(True/False)
4.7/5
(36)

You can define a stack that will hold _________-

(Short Answer)
4.8/5
(29)

The stack can be compared to a line of people at a bank,where the first person in line is the first person served.

(True/False)
4.9/5
(37)

Placing data on a stack is called popping the stack.

(True/False)
4.8/5
(32)

If head is a NodePtr pointer variable,write the code to make head point to new node of type Node.

(Short Answer)
4.8/5
(34)

The stack exhibits last-in/first-out behavior

(True/False)
4.8/5
(29)

A stack exhibits ______________ behavior

(Multiple Choice)
4.8/5
(45)

The linked list is always the most efficient storage mechanism for storing many pieces of data.

(True/False)
4.9/5
(39)

A stack can be implemented using a __________.

(Short Answer)
4.9/5
(42)

The actual value of NULL is

(Multiple Choice)
4.9/5
(45)

As defined in the text,the pointer variable head

(Multiple Choice)
4.9/5
(41)

A stack is a specialized type of list

(True/False)
4.9/5
(38)

The function used to get the data at the top or front)of the stack is called _______.

(Short Answer)
4.8/5
(43)
Showing 1 - 20 of 51
close modal

Filters

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