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. A collection of values
search
algorithm
base case
type
2. In a tree - a node pointed to by a parent node
child
binary search tree (bst)
big o
descendants
3. A case where tow data structures share some elements
filter
merge
structure sharing
array
4. binary tree that is ordered such that each node has contents - and all of its left descendants are less than the contents - an all of its right descendants are greater than the contents
filter
reference type
algorithm
binary search tree (bst)
5. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
doubly linked list
well-founded ordering xml
inorder
alias
6. Last in first out: describes the order of a stack
link
LIFO
recursion
successor
7. Describes a function that modifies its arguments
search
destructive
fair
circular queue
8. Two variables that reference the same object
alias
entinel
branching factor
circularly linked list
9. Use of a function or method without knowing how it's accomplished
node
procedural abstraction
circularly linked list
postorder
10. The next element in a linked list
general list
successor
parent
taxonomy
11. A stack containing a stack frame of variable value for each active invocation of procedure
link
array
simple data type
runtime stack
12. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
goal
big o
gedanken
sort
13. The top node of a tree - from which all other nodes can be reached
backtrack
root
fifo
child
14. Composed of individually named data fields
tail recursive
simple ADT
random access
divide and conquer
15. storage that is no longer pointed to by any variable and therefore can no longer be accessed
array
garbage
array
parent
16. A classification of objects into a tree structure that groups related objects
association list
quadratic
LIFO
taxonomy
17. To hide similar items with the same name
sort
simple data type
shadow
filter
18. In a tree - the union of a node's parent and the parent's ancestors
array
ancestors
design pattern
fifo
19. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
search
successor
link
20. Given two sets - the intersection is the set of elements that are members of both sets
type
intersection
quadratic
branching factor
21. A variable containing the address of other data
leaf
pointer
divide and conquer
data type
22. The area of program text over which a variable can be referenced
scope
runtime stack
procedural abstraction
taxonomy
23. A linked list in which each elements has both forward and backward pointers
binary tree
null dereference
type
doubly linked list
24. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
garbage collection
stack frame
quadratic
dictionary
25. A pointer to data
depth-first search
interior node
divide and conquer
reference
26. 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
algorithm
ontology
quadratic
branching factor
27. In a search tree - a program that changes a state into a child state e.g a move in a game
circular queue
class
dictionary
operator
28. A runtime error that occurs when an operation such as method call is attempted on a null pointer
data type
recursion
child
null dereference
29. A tree node containing a contents value but with no children
grammar
leaf
complex ADT
shadow
30. A section of the runtime stack holding the values of all variables for one invocation
stack frame
fair
reference
constructive
31. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
data structure
leaf
gedanken
algorithm
32. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
successor
array
parent
33. Composed of a collection of data values; implemented with a data structure
runtime stack
set difference
complex ADT
base case
34. Depth first search
stack space
link
DFS
structure sharing
35. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
state
stack
linked list
tail recursive
36. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
LIFO
ancestors
side-effect
depth
37. Describes a data structure or device in which all accesses have the same cost - O(1)
fair
random access
entinel
filter
38. A list of pairs - where each pair has a key and a value associated with the key
recursive case
goal
association list
scope
39. A pointer to the next element in a linked list
data abstraction
link
ancestors
design pattern
40. A node of a tree that has children
node
merge
DFS
interior node
41. To look through a data structure until a goal object is found
binary search tree (bst)
amortized Analysis
goal
search
42. A given collection of values along with a collection of operations for use on those values
data type
merge
circularly linked list
goal
43. Any container with linear ordering
fifo
intractable
general list
class
44. First in first out: describes ordering of a queue
stack frame
set difference
interior node
fifo
45. The process of collecting garbage for recycling
sort
filter
garbage collection
interior node
46. All nodes below a give node in a tree
fifo
queue
immutable
descendants
47. An order of processing a tree in which the parent node is processed in between its children
inorder
destructive
data abstraction
pointer
48. A description of operations on a data type that could have multiple possible implementations
abstract data type
procedural abstraction
search
ontology
49. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
recursive case
set difference
data type
entinel
50. Constructed of multiple components (simple or complex types)
recursive case
complex data type
design pattern
data structure