Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Fundamentals of Python Data Structures
Quiz 4: Arrays and Linked Structures
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
In the Array class defined in Chapter 4, how do you instantiate an array object that can hold 10 values?
Question 22
Multiple Choice
What type of memory scheme does a linked list use?
Question 23
True/False
The insertion and removal of the first node of a singly linked structure require that the head pointer be reset.
Question 24
Multiple Choice
How does a programmer access the first item in a singly linked structure?
Question 25
Multiple Choice
In the following code to insert an item in an array, what is the missing code? for x in range(logicalSize, targetIndex, -1) : MyArray[x] = myArray[x - 1] A[targetIndex] = newItem < missing code >
Question 26
Multiple Choice
What does the last item in a singly linked structure contain?
Question 27
Multiple Choice
The following code sums all the values in the two-dimensional array. What is the missing code? Sum = 0 For row in range(grid.getHeight() ) : For column in range(grid.getWidth() ) : < missing code >
Question 28
Multiple Choice
What is the primary implementing structure of Python collections?
Question 29
Multiple Choice
Older programming languages implement arrays as static data structures which are inefficient. What do modern languages use to remedy the problems of static arrays?
Question 30
True/False
Inserting data at the beginning of a linked structure uses constant time and memory.
Question 31
Multiple Choice
The process for resizing an array named myArray is shown below. What is the missing code? if logicalSize == len(myArray) : Temp = Array(len(myArray) + 1) For i in range(logicalSize) : < missing code > A = temp