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 problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
divide and conquer
fair
search
operator
2. Constructed of multiple components (simple or complex types)
complex data type
simple ADT
random access
stack
3. In a tree - a node that points to a given node
procedural abstraction
parent
well-founded ordering xml
stack frame
4. A pointer to the next element in a linked list
alias
set difference
fair
link
5. In a tree - the union of a node's parent and the parent's ancestors
cons
ancestors
immutable
procedural abstraction
6. To convert from a pointer to the data that is pointed to
dereference
side-effect
divide and conquer
stack frame
7. Two variables that reference the same object
linked list
divide and conquer
alias
goal
8. The process of collecting garbage for recycling
goal
garbage collection
leaf
runtime stack
9. A tree node containing a contents value but with no children
reference type
well-founded ordering xml
simple ADT
leaf
10. A search in which children of a node are considered before siblings are considered
circularly linked list
pointer
depth-first search
search
11. The top node of a tree - from which all other nodes can be reached
ancestors
LIFO
root
linked list
12. A stack containing a stack frame of variable value for each active invocation of procedure
reference type
runtime stack
array
random access
13. A pointer to data
fifo
reference
reference type
depth
14. A description of the state of a process such as a board game
inorder
linked list
state
cons
15. Composed of a collection of data values; implemented with a data structure
complex data type
amortized Analysis
side-effect
complex ADT
16. An extra record at the start or end of a data structure such as a linked list - to simplify processing
fifo
state
side-effect
entinel
17. An order of processing a tree in which the parent node is processed after its children
depth-first search
filter
postorder
branching factor
18. To combine two ordered linear structures into one
gedanken
general list
merge
alias
19. A process that removes unwanted elements from a collection
depth
filter
quadratic
association list
20. To hide similar items with the same name
shadow
object
gedanken
entinel
21. Describes a function that modifies its arguments
algorithm
destructive
binary search tree (bst)
procedural abstraction
22. The amount of space on the runtime stack required for execution of a program
stack space
data type
array
search
23. A section of the runtime stack holding the values of all variables for one invocation
stack frame
entinel
binary tree
depth
24. The next element in a linked list
union
big o
binary search tree (bst)
successor
25. A pattern that describes a set of similar programs
well-founded ordering xml
linear O(n)
design pattern
type
26. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
linear O(n)
leaf
quadratic
recursion
27. First in first out: describes ordering of a queue
fifo
abstract data type
garbage
LIFO
28. A data structure that implements a complete binary tree within an array - such that every parent node has a value that is less than the value of either of its children
algorithm
binary tree
set difference
scope
29. A contiguous block of memory containing elements of the same type - accessed by numeric index
well-founded ordering xml
array
random access
dictionary
30. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
destructive
postorder
scope
31. In a search tree - a program that changes a state into a child state e.g a move in a game
constructive
garbage collection
postorder
operator
32. 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
shadow
binary search tree (bst)
operator
cons
33. A problem whose solution requires a linear amount of time or space if the problem is size n
linear O(n)
cons
amortized Analysis
depth-first search
34. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
cons
linear O(n)
set difference
node
35. Any container with linear ordering
general list
doubly linked list
binary search tree (bst)
circularly linked list
36. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
descendants
ontology
ancestors
garbage
37. A given collection of values along with a collection of operations for use on those values
data type
ancestors
stack space
preorder
38. A node of a tree that has children
class
binary search tree (bst)
reference type
interior node
39. In a tree search - to move back from the node currently being examined to its parent
type
design pattern
backtrack
simple ADT
40. An abstracted function that describes the amount of computer time or memory space required by an algorithm - as a function of problem size. for problems larger than a certain size - the actual time or space required will be less than the Big O multip
boxed number
big o
root
state
41. In object oriented programming - a description of a set of similar objects
class
circular queue
DFS
reference
42. 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
depth-first search
complex data type
alias
43. A linked list in which the last element points back to the first element
circular queue
reference type
leaf
circularly linked list
44. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
pointer
simple data type
immutable
algorithm
45. Given two sets -the union is the set of elements that are members of either set
amortized Analysis
leaf
union
data structure
46. A variable containing the address of other data
garbage
pointer
shadow
linked list
47. A case where tow data structures share some elements
interior node
taxonomy
tail recursive
structure sharing
48. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
successor
alias
well-founded ordering xml
pointer
49. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
ontology
simple ADT
cons
50. First-child/next-sibling
circularly linked list
garbage
fair
union