Exam 4: Arrays and Linked Structures
Exam 1: Basic Python Programming51 Questions
Exam 2: An Overview of Collections50 Questions
Exam 3: Searching, Sorting, and Complexity Analysis50 Questions
Exam 4: Arrays and Linked Structures50 Questions
Exam 5: Interfaces, Implementations, and Polymorphism50 Questions
Exam 6: Inheritance and Abstract Classes50 Questions
Exam 7: Stacks50 Questions
Exam 8: Queues50 Questions
Exam 9: Lists50 Questions
Exam 10: Trees50 Questions
Exam 11: Sets and Dictionaries50 Questions
Exam 12: Graphs50 Questions
Select questions type
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)