SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Data Structures
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. Last in first out: describes the order of a stack
structure sharing
quadratic
data type
LIFO
2. To combine two ordered linear structures into one
node
gedanken
structure sharing
merge
3. In a tree - a node that points to a given node
intractable
parent
taxonomy
general list
4. The top node of a tree - from which all other nodes can be reached
complex data type
descendants
root
queue
5. An order of processing a tree in which the parent node is processed in between its children
inorder
stack frame
descendants
gedanken
6. All nodes below a give node in a tree
fifo
descendants
intersection
DFS
7. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
postorder
immutable
reference
depth-first search
8. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
recursion
postorder
binary tree
quadratic
9. A pointer to data
reference
DFS
fair
union
10. An order of processing a tree in which the parent node is processed after its children
object
branching factor
general list
postorder
11. A search in which children of a node are considered before siblings are considered
taxonomy
depth-first search
runtime stack
garbage
12. In a tree search - to move back from the node currently being examined to its parent
intersection
inorder
backtrack
grammar
13. Values are in the most basic form and cannot be decomposed into smaller parts
amortized Analysis
simple data type
binary tree
depth-first search
14. The area of program text over which a variable can be referenced
null dereference
branching factor
scope
child
15. A description of the state of a process such as a board game
state
filter
backtrack
data abstraction
16. A simple case that can be solved easily - without recursion
doubly linked list
binary tree
grammar
base case
17. The number of links between the root of a tree and the leaves
binary tree
postorder
amortized Analysis
depth
18. A description of operations on a data type that could have multiple possible implementations
abstract data type
dictionary
fair
successor
19. First-child/next-sibling
state
dictionary
fair
DFS
20. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
linked list
random access
data structure
procedural abstraction
21. A case where a program calls itself
recursion
garbage collection
runtime stack
fifo
22. A stack containing a stack frame of variable value for each active invocation of procedure
linear O(n)
search
filter
runtime stack
23. storage that is no longer pointed to by any variable and therefore can no longer be accessed
goal
destructive
garbage
circularly linked list
24. A data structure that can be identified at runtime as being a member of a class
object
filter
linear O(n)
parent
25. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
shadow
well-founded ordering xml
depth
union
26. Describes a function that modifies its arguments
quadratic
reference
destructive
child
27. The next element in a linked list
pointer
filter
successor
gedanken
28. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
set difference
pointer
scope
ontology
29. Container for storing a collection of data in unique key/value pairs
sort
link
dictionary
recursion
30. To answer the question - "If the algorithm is run several times - what is the average time per run - given the worst possible sequence of runs?"
amortized Analysis
binary tree
complex ADT
successor
31. A case where tow data structures share some elements
stack
leaf
boxed number
structure sharing
32. A classification of objects into a tree structure that groups related objects
goal
taxonomy
general list
node
33. In a tree - a node pointed to by a parent node
preorder
search
child
queue
34. A problem whose solution requires a linear amount of time or space if the problem is size n
merge
ancestors
child
linear O(n)
35. In a search tree - the number of children of a given node. often - the branching factors of individual nodes will vary - so an average value may be used
branching factor
DFS
dereference
queue
36. In a search tree - a program that changes a state into a child state e.g a move in a game
merge
pointer
cons
operator
37. Composed of multiple sequential elements stored in contiguous bytes of memory
array
runtime stack
amortized Analysis
well-founded ordering xml
38. Describes a though experiment or view of an entity
big o
gedanken
LIFO
grammar
39. A queue implemented within an array - where the first elements of the array logically follows the last elements
tail recursive
circular queue
child
class
40. Any container with linear ordering
dereference
stack frame
stack space
general list
41. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
gedanken
quadratic
ontology
cons
42. Constructed of multiple components (simple or complex types)
complex data type
sort
depth
algorithm
43. Composed of a collection of data values; implemented with a data structure
complex ADT
fifo
recursion
type
44. Separation of the properties of a data type from its implementation
garbage collection
descendants
data abstraction
association list
45. To hide similar items with the same name
shadow
dereference
ancestors
root
46. A pattern that describes a set of similar programs
design pattern
taxonomy
cons
DFS
47. A variable containing the address of other data
stack space
state
pointer
immutable
48. An elements of a linked list - tree - or graph - often represented by a data structure
linked list
recursive case
garbage
node
49. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
general list
constructive
depth
side-effect
50. Given two sets - the intersection is the set of elements that are members of both sets
intersection
ancestors
interior node
intractable