Temporal Data Structures
- 74Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
74 questions
- 1A pointer machine node contains a constant number of_____.
Hint
Think of the components stored inside each node.
Answer
fields
- 2In the pointer machine model, a field may contain a pointer, a null pointer, or_____.
Hint
It may store information directly rather than a reference to another node.
Answer
data
- 3The pointer machine model allows nodes to be created and fields to be read or_____.
Hint
This operation changes the value stored in a field.
Answer
set
- 4In the lecture’s pointer machine model, data items are assumed to be_____.
Hint
They are a simple numeric kind of data.
Answer
integers
- 5The special node that anchors access to the rest of a pointer machine is the_____node.
Hint
It is the node from which navigation through the structure begins.
Answer
root
- 6A pointer machine node’s maximum number of outgoing pointers is its_____degree.
Hint
This degree counts pointers that leave a node.
Answer
out
- 7A node’s number of incoming pointers is its_____degree.
Hint
This degree counts pointers that arrive at a node.
Answer
in
- 8The general persistence transformation discussed in the lecture assumes a constant number of pointers both into and_____of each node.
Hint
The second direction is the one counted by out degree.
Answer
out
- 9A common classic data structure that can be represented using the pointer machine model is a balanced binary search_____.
Hint
It organizes keys by comparisons in a branching structure.
Answer
tree
- 10In the lecture’s persistence transformation, operations on the actual data items are largely irrelevant because the items are mainly_____around.
Hint
The method focuses on preserving node and field histories rather than computing on the data.
Answer
copied
- 11In partial persistence, updates are allowed only on the_____version.
Hint
It is the newest point on the version timeline.
Answer
latest
- 12Partial persistence allows users to query_____versions of the data structure.
Hint
These versions are retained from before the current one.
Answer
old
- 13In full persistence, an update can be applied to_____version.
Hint
The update restriction of partial persistence is removed.
Answer
any
- 14Because full persistence allows updates to any version, its versions form a_____.
Hint
Updating an old version can create a new branch.
Answer
tree
- 15The branching-universe interpretation of time travel is an analogy for_____persistence.
Hint
Each update to an old version creates a separate future.
Answer
full
- 16Confluent persistence permits two versions to be combined to create a_____version.
Hint
The combined result is another version, not a replacement of the inputs.
Answer
new
- 17In confluent persistence, the version relationships form a directed acyclic_____.
Hint
The abbreviated term is DAG.
Answer
graph
- 18The strongest persistence level discussed requires that nodes are never_____; new nodes must be created instead.
Hint
This restriction applies to nodes themselves, not just to versions.
Answer
modified
- 19A functional data structure automatically preserves old versions because it cannot destroy_____.
Hint
The restriction applies broadly to the contents of the structure.
Answer
anything
- 20Unlike functional data structures, persistence implementations may reorganize nodes as long as old versions still answer_____.
Hint
The representation may change, but the result of a query must not.
Answer
correctly
- 21To support partial persistence, the technique stores_____pointers that identify where incoming pointers originate.
Hint
These pointers lead in the reverse direction of ordinary pointers.
Answer
back
- 22In partial persistence, back pointers are maintained only for the_____version.
Hint
Older versions keep their historical representation.
Answer
latest
- 23Instead of overwriting a field, partial persistence records a_____containing the version, field, and new value.
Hint
The lecture also uses the shortened name “mod.”
Answer
modification
- 24To read a field in a specified version, the method checks the node’s original value and applicable_____.
Hint
These records describe later changes to the field.
Answer
modifications
- 25When a node has an unused modification slot, a field update can be recorded by adding a_____.
Hint
This is the inexpensive case when the record has room.
Answer
modification
- 26When a node’s modification area is full in partial persistence, the method creates a_____node for the latest state.
Hint
The old node remains to represent earlier versions.
Answer
new
- 27After copying a node in partial persistence, incoming pointers in the latest version must be redirected to the_____node.
Hint
The latest representation has moved to the copy.
Answer
new
- 28Back pointers make it possible to find and update incoming pointers to a copied node in_____time under the degree bound.
Hint
The number of such pointers is bounded by a fixed amount.
Answer
constant
- 29The partial persistence analysis uses amortization because copying a full node may trigger_____updates.
Hint
Redirecting incoming pointers can cause further field updates.
Answer
recursive
- 30A potential function for partial persistence can count the modifications stored in nodes of the_____version.
Hint
These are the nodes that can still be modified.
Answer
latest
- 31The partial persistence transformation achieves constant_____overhead for its operations.
Hint
The guarantee is averaged over a sequence of operations, not made separately for each one.
Answer
amortized
- 32A deamortized partial persistence result provides a constant worst-case slowdown rather than only a constant_____slowdown.
Hint
Worst-case performance is guaranteed for each operation.
Answer
amortized
- 33In full persistence, a version is represented by a node in the version_____.
Hint
This structure records which versions branch from which earlier versions.
Answer
tree
- 34To make version relationships usable like a linear order, the full persistence method traverses the version_____.
Hint
The traversal visits the branching history in sequence.
Answer
tree
- 35The linearization records a beginning and an_____position for each version’s subtree.
Hint
Together, these positions mark the interval occupied by the subtree.
Answer
ending
- 36A version’s beginning and ending markers enclose the markers of all versions in its_____.
Hint
These versions descend from the given version.
Answer
subtree
- 37The data structure used to maintain the traversal order supports insertion before or after an item and relative-order_____.
Hint
These operations ask which of two items comes first.
Answer
queries
- 38When a full-persistence update creates a version, its beginning and ending markers are inserted as adjacent_____.
Hint
They are elements of the maintained order.
Answer
items
- 39A version v is an ancestor of version w when the markers for v enclose those for_____.
Hint
The descendant’s markers lie inside the ancestor’s interval.
Answer
w
- 40In full persistence, a modification applies to a queried version when the modification’s version is an_____of it.
Hint
The queried version descends from the version where the change occurred.
Answer
ancestor
- 41To avoid repeated expensive copying in full persistence, a full node’s modification history is divided into roughly balanced_____.
Hint
The node’s history is split into two portions of comparable size.
Answer
halves
- 42After splitting a full node’s modification history, one part can be applied to the fields of a_____node.
Hint
The copied representation stores the corresponding later state.
Answer
new
- 43In the full-persistence split, pointers are redirected to the new node only for versions in the corresponding_____.
Hint
Those versions are the branch represented by the copied modifications.
Answer
subtree
- 44The full-persistence amortized analysis can use a potential based on empty modification_____.
Hint
A split creates additional room for future changes.
Answer
slots
- 45In the full persistence construction, the maximum number of fields in a node is denoted by_____.
Hint
This parameter is the maximum out degree.
Answer
d
- 46The effective depth of a version is based on the logarithm of the number of paths to it in an expanded_____.
Hint
The DAG can be unfolded by duplicating shared nodes.
Answer
tree
- 47Fiat and Kaplan’s general confluent persistence transformation incurs overhead depending on the number of_____.
Hint
This quantity appears inside a logarithmic factor.
Answer
updates
- 48The general confluent persistence overhead also depends on the maximum_____depth among versions.
Hint
It measures path multiplicity after expanding the version DAG into a tree.
Answer
effective
- 49Combining a data structure version with itself can double its size in a constant number of_____.
Hint
The example uses repeated concatenation.
Answer
operations
- 50Repeated self-combination can produce a structure of size 2u after u_____.
Hint
Each step doubles the size.
Answer
updates
- 51The general confluent persistence lower bound relates required space to the effective depth when_____are treated as free.
Hint
The lower-bound setup charges updates rather than these information-access operations.
Answer
queries
- 52Whether confluent persistence can achieve constant time and space overhead per operation, including queries, remains an open_____.
Hint
It is an unresolved research question.
Answer
problem
- 53In disjoint confluent persistence, the two versions used in a confluent operation must share no_____.
Hint
The restriction concerns overlap in the represented structures.
Answer
nodes
- 54Under the disjointness assumption, the lecture gives an overhead of order_____in the number of operations.
Hint
The bound grows like a logarithm rather than a constant.
Answer
logarithmic
- 55Under disjoint confluent operations, the versions containing a particular node form a_____.
Hint
The disjointness restriction prevents merging versions that share that node.
Answer
tree
- 56To find the preceding version in which a node changed, one technique mentioned is_____trees.
Hint
This is a dynamic tree data structure also referenced for later study.
Answer
link-cut
- 57A technique mentioned for handling a more difficult case in the disjoint analysis is fractional_____.
Hint
It is a technique for linking searches across related structures.
Answer
cascading
- 58Functional balanced binary search trees can be built using_____copying along the modified path.
Hint
The method copies changed nodes and their ancestors.
Answer
path
- 59Path copying in a balanced search tree takes logarithmic time because only the changed nodes and their_____need to be copied.
Hint
These nodes lie between the changed node and the root.
Answer
ancestors
- 60A functional balanced search tree can provide logarithmic time for all its operations when it uses a balanced tree such as a_____tree.
Hint
This is a common self-balancing binary search tree.
Answer
red black
- 61Functional implementation of a balanced search tree is easier when changes proceed top down without following_____pointers.
Hint
These pointers would lead from a node back toward the root.
Answer
parent
- 62A deque supports insertion and deletion at both the beginning and the_____.
Hint
It is a double-ended queue.
Answer
end
- 63The lecture describes constant-time_____as an operation available for deques.
Hint
It joins two sequences end to end.
Answer
concatenation
- 64The lecture identifies constant-time split and concatenation for lists as an open_____.
Hint
It is posed as an unresolved challenge.
Answer
problem
- 65A trie is described as a tree with a fixed_____.
Hint
This refers to the tree’s underlying arrangement.
Answer
topology
- 66In the course overview, data with more than one dimension motivates the study of_____.
Hint
This topic concerns higher-dimensional data.
Answer
geometry
- 67The question of whether one binary search tree is best for all access patterns is called dynamic_____.
Hint
The term asks whether there is a single best tree.
Answer
optimality
- 68A model that accounts for cache, main memory, and other storage levels is called the memory_____.
Hint
It describes memory arranged in levels.
Answer
hierarchy
- 69A dynamic graph data structure must maintain information as edges are added and possibly_____.
Hint
This is the reverse of adding an edge.
Answer
deleted
- 70Searching for a pattern within a larger piece of text is a central problem for_____data structures.
Hint
The data may be text or DNA sequences.
Answer
strings
- 71Succinct data structures aim to reduce storage toward the minimum number of_____needed to represent the possibilities.
Hint
This is the basic unit of information storage.
Answer
bits
- 72When a key universe has 2n possibilities, its information-theoretic storage minimum is_____bits.
Hint
The number of bits is the exponent in the count of possibilities.
Answer
n
- 73When data items are known to be integers rather than arbitrary comparable objects, data structures can sometimes achieve_____time.
Hint
This can be faster than logarithmic time.
Answer
constant
- 74The lecture gives square root of log log n time as the best known randomized bound for integer priority_____.
Hint
They support operations such as extracting an extreme-priority item.
Answer
queues

Ask anything
We've read this whole study set, so questions about it get the best answers.