Filters
Question type

Study Flashcards

The object heap is an area of the disk drive from which the Python virtual machine allocates segments of various sizes for all new data objects.

A) True
B) False

Correct Answer

verifed

verified

The sentinel node points to the first data node and the last data node.

A) True
B) False

Correct Answer

verifed

verified

Linked implementations of lists use physical positions in an array to represent logical order.

A) True
B) False

Correct Answer

verifed

verified

Because a list is ordered linearly, you can refer unambiguously to an item in a list via its relative position from the head of the list.

A) True
B) False

Correct Answer

verifed

verified

In the array implementation of a list, the index-based operation __getitem__ uses the subscript operator on the array variable.

A) True
B) False

Correct Answer

verifed

verified

Items in a list must be sorted to make sense.

A) True
B) False

Correct Answer

verifed

verified

What is true about how lists are indexed?


A) indices increase in both movement directions
B) indices decrease to the left and increase to the right
C) indices decrease in both movement directions
D) indices decrease to the right and increase to the left

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

In what type of programming did recursive list processing become an important building block?


A) procedural programming
B) object-oriented programming
C) sequential programming
D) functional programming

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

Which of the following is NOT true about a file system's directory?


A) it occupies the first few tracks on the disk
B) it contains an entry for each file
C) each file entry holds the address of the sector containing file data
D) the directory is organized as a linear structure

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

What is the extra node needed to easily manipulate a doubly linked structure?


A) mid
B) next
C) tail
D) sentinel

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

Showing 41 - 50 of 50

Related Exams

Show Answer