SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
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. The process of collecting garbage for recycling
data abstraction
garbage collection
root
scope
2. An order of processing a tree in which the parent node is processed before its children
preorder
garbage collection
dictionary
stack
3. Describes a function that makes a new data structure but does not modify its arguments
constructive
depth-first search
object
successor
4. Any container with linear ordering
general list
recursive case
object
descendants
5. A list of pairs - where each pair has a key and a value associated with the key
reference type
preorder
association list
node
6. A case where tow data structures share some elements
goal
structure sharing
well-founded ordering xml
intersection
7. The amount of space on the runtime stack required for execution of a program
stack
big o
stack space
runtime stack
8. 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
data type
quadratic
branching factor
linear O(n)
9. First-child/next-sibling
fair
fifo
intractable
reference
10. In a tree - the union of a node's parent and the parent's ancestors
ancestors
link
boxed number
merge
11. Describes a data structure or device in which all accesses have the same cost - O(1)
general list
random access
depth
procedural abstraction
12. Two variables that reference the same object
alias
array
union
depth
13. The number of links between the root of a tree and the leaves
linear O(n)
intersection
grammar
depth
14. A stack containing a stack frame of variable value for each active invocation of procedure
data type
runtime stack
ancestors
procedural abstraction
15. A node of a tree that has children
complex ADT
ontology
interior node
data type
16. A process that removes unwanted elements from a collection
filter
recursive case
sort
parent
17. A contiguous block of memory containing elements of the same type - accessed by numeric index
shadow
array
immutable
parent
18. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
doubly linked list
DFS
queue
reference
19. A runtime error that occurs when an operation such as method call is attempted on a null pointer
null dereference
algorithm
well-founded ordering xml
stack
20. A queue implemented within an array - where the first elements of the array logically follows the last elements
runtime stack
entinel
circular queue
tail recursive
21. In a search tree - a program that changes a state into a child state e.g a move in a game
null dereference
operator
big o
linear O(n)
22. A condition of the input data where the data will be handled by call(s) to the same program
DFS
link
stack space
recursive case
23. Composed of a collection of data values; implemented with a data structure
DFS
depth
fifo
complex ADT
24. To convert from a pointer to the data that is pointed to
merge
general list
search
dereference
25. A description of the state of a process such as a board game
runtime stack
boxed number
general list
state
26. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
binary search tree (bst)
reference type
stack frame
immutable
27. A given collection of values along with a collection of operations for use on those values
pointer
data type
fair
runtime stack
28. A linked list in which the last element points back to the first element
circularly linked list
garbage collection
node
scope
29. 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
binary tree
constructive
alias
recursive case
30. A collection of values
immutable
reference type
object
type
31. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
reference
queue
merge
sort
32. In object oriented programming - a description of a set of similar objects
type
ontology
fair
class
33. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
simple data type
cons
ontology
array
34. A simple case that can be solved easily - without recursion
association list
base case
array
entinel
35. To hide similar items with the same name
tail recursive
shadow
simple data type
procedural abstraction
36. An extra record at the start or end of a data structure such as a linked list - to simplify processing
data structure
merge
entinel
union
37. A data structure that can be identified at runtime as being a member of a class
alias
divide and conquer
constructive
object
38. 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
binary search tree (bst)
fifo
data abstraction
entinel
39. A case where a program calls itself
node
abstract data type
recursion
descendants
40. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
intractable
DFS
grammar
shadow
41. A section of the runtime stack holding the values of all variables for one invocation
garbage collection
postorder
base case
stack frame
42. Use of a function or method without knowing how it's accomplished
intersection
data structure
DFS
procedural abstraction
43. To combine two ordered linear structures into one
merge
general list
stack frame
ontology
44. A problem that is so hard that it cannot be solved unless the problem is small
runtime stack
merge
intractable
abstract data type
45. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
null dereference
stack
branching factor
46. A pointer to data
boxed number
reference
search
fifo
47. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
filter
quadratic
well-founded ordering xml
scope
48. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
array
state
set difference
structure sharing
49. A pointer to the next element in a linked list
type
stack
link
quadratic
50. Composed of individually named data fields
grammar
simple ADT
association list
entinel