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. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
state
sort
object
data structure
2. A given collection of values along with a collection of operations for use on those values
descendants
data type
fifo
abstract data type
3. A tree node containing a contents value but with no children
intersection
data type
garbage
leaf
4. In object oriented programming - a description of a set of similar objects
base case
class
divide and conquer
goal
5. First in first out: describes ordering of a queue
fifo
null dereference
entinel
reference type
6. Composed of a collection of data values; implemented with a data structure
data structure
depth
parent
complex ADT
7. An order of processing a tree in which the parent node is processed before its children
ontology
preorder
general list
complex ADT
8. Describes a function that modifies its arguments
interior node
DFS
recursive case
destructive
9. Last in first out: describes the order of a stack
gedanken
LIFO
structure sharing
fifo
10. Given two sets - the intersection is the set of elements that are members of both sets
interior node
sort
intersection
preorder
11. A search in which children of a node are considered before siblings are considered
well-founded ordering xml
depth-first search
boxed number
DFS
12. 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
union
simple data type
binary search tree (bst)
stack space
13. 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?"
fair
divide and conquer
amortized Analysis
interior node
14. 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
garbage
recursion
reference
branching factor
15. A classification of objects into a tree structure that groups related objects
taxonomy
operator
reference type
postorder
16. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
complex ADT
data abstraction
DFS
17. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
type
intersection
descendants
immutable
18. In a tree - the union of a node's parent and the parent's ancestors
ancestors
linear O(n)
node
garbage
19. 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
structure sharing
general list
linear O(n)
20. Composed of individually named data fields
intractable
branching factor
immutable
simple ADT
21. The top node of a tree - from which all other nodes can be reached
general list
root
class
big o
22. Constructed of multiple components (simple or complex types)
complex data type
algorithm
gedanken
data abstraction
23. In a tree search - to move back from the node currently being examined to its parent
intersection
garbage
backtrack
fifo
24. Container for storing a collection of data in unique key/value pairs
operator
alias
merge
dictionary
25. The amount of space on the runtime stack required for execution of a program
array
backtrack
stack space
complex data type
26. In a tree - a node that points to a given node
abstract data type
parent
successor
postorder
27. To convert from a pointer to the data that is pointed to
design pattern
dereference
null dereference
reference type
28. A sequence of records - where each record contains a link to the next one
interior node
gedanken
linked list
garbage collection
29. Separation of the properties of a data type from its implementation
side-effect
leaf
postorder
data abstraction
30. An order of processing a tree in which the parent node is processed in between its children
operator
divide and conquer
inorder
constructive
31. The area of program text over which a variable can be referenced
scope
simple ADT
ancestors
general list
32. A process that removes unwanted elements from a collection
cons
procedural abstraction
goal
filter
33. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
descendants
association list
depth-first search
queue
34. A case where tow data structures share some elements
structure sharing
runtime stack
child
dereference
35. A data structure that can be identified at runtime as being a member of a class
null dereference
object
fair
grammar
36. Given two sets -the union is the set of elements that are members of either set
union
boxed number
root
descendants
37. Any container with linear ordering
set difference
big o
general list
simple data type
38. All nodes below a give node in a tree
scope
association list
alias
descendants
39. The process of collecting garbage for recycling
tail recursive
runtime stack
postorder
garbage collection
40. A list of pairs - where each pair has a key and a value associated with the key
general list
filter
taxonomy
association list
41. A pointer to the next element in a linked list
link
filter
null dereference
side-effect
42. The number of links between the root of a tree and the leaves
binary search tree (bst)
state
depth
link
43. A description of operations on a data type that could have multiple possible implementations
abstract data type
leaf
cons
depth
44. 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
interior node
binary tree
dereference
gedanken
45. An item (or description of items) being sough in a search
side-effect
inorder
goal
random access
46. A variable containing the address of other data
reference
association list
backtrack
pointer
47. In a search tree - a program that changes a state into a child state e.g a move in a game
side-effect
base case
dictionary
operator
48. An elements of a linked list - tree - or graph - often represented by a data structure
node
structure sharing
circularly linked list
circular queue
49. A node of a tree that has children
interior node
complex data type
divide and conquer
immutable
50. A pointer to data
scope
association list
reference
inorder