Exam 4: Arrays and Linked Structures

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

Inserting data at the beginning of a linked structure uses constant time and memory.

(True/False)
4.7/5
(38)

The insertion and removal of the first node of a singly linked structure require that the head pointer be reset.

(True/False)
4.9/5
(34)

When an array is instantiated, it is filled with zeros by default.

(True/False)
5.0/5
(45)

How does the class definition of a doubly linked structure differ from a singly linked structure?

(Multiple Choice)
4.9/5
(36)

In a doubly linked structure, the first and last item have an empty link.

(True/False)
4.8/5
(38)

When an array object is traversed in a for loop, the object's __iter__ method is called.

(True/False)
4.8/5
(36)

A linked structure can have items that have a maximum of one link to another item.

(True/False)
5.0/5
(34)

If an array's logical size is greater than zero, the index of the last item in the array is the logical size plus 1.

(True/False)
4.9/5
(34)

What does the last item in a singly linked structure contain?

(Multiple Choice)
4.9/5
(38)

Time performance is improved if you double the size of the array when you need to increase its size.

(True/False)
4.9/5
(33)
Showing 41 - 50 of 50
close modal

Filters

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