Shared Flashcard Set

Details

Vocab Set #3
Vocab for Midterm 1
26
Computer Science
Undergraduate 2
10/13/2010

Additional Computer Science Flashcards

 


 

Cards

Term
Array
Definition
a block of memory that contains elements of the same type that's accessed by an index
Term
Base Case
Definition
a simple case that can be solved easily
Term
Binary Search Tree
Definition
a tree where the left subtree contains nodes that are smaller than the root, and the right subtree contains nodes that are greater than the root
Term
Child
Definition
a node that a parent node points to
Term
Class
Definition
in object-oriented programming, a description of similar objects
Term
Depth
Definition
the number of links between the root of a tree and the leaves
Term
Descendants
Definition
all nodes below a given node in a tree
Term
DFS
Definition
depth-first search
Term
Fair
Definition
(Are you f*cking kidding me? Is this CS or Red Lobster?)
a process in which every customer will eventually be served
Term
First-child/next sibling
Definition
a tree in which two pointers are used per node but can represent multiple children of a node
Term
Gedanken
Definition
(Are we German now? O_o)
a thought experiment
Term
Immutable
Definition
a data structure that cannot be changed
Term
Intersection
Definition
given two sets, the intersection is the set of elements that are in both sets
Term
LIFO
Definition
Last in first out, the ordering for stacks
Term
Linked List
Definition
a sequence of nodes where each node contains a link to the next node
Term
Null Dereference
Definition
a runtime error when an operation is attempted on a null pointer
Term
Operator
Definition
in a search tree, a program that changes a state to a child state
Term
Postorder
Definition
in a tree, you process the children before the parent
Term
Queue
Definition
a data structure that represents a sequence of items that is removed in the order they came in (like a line)
Term
Recursive Case
Definition
a condition where the data will be processed by the same program
Term
Root
Definition
the top node of a tree
Term
Search
Definition
to look through a data structure until a goal is found
Term
Side-effect
Definition
an effect of a method other than returning a value such as printing or modifying something
Term
Stack space
Definition
the amount of space on the runtime stack required to run a program
Term
Successor
Definition
the next element in a linked list
Term
Union
Definition
given two sets, the union returns a set that contains elements that are members of either set
Supporting users have an ad free experience!