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. The area of program text over which a variable can be referenced
sort
reference
simple ADT
scope
2. A case where a program calls itself
destructive
link
shadow
recursion
3. A node of a tree that has children
child
data abstraction
DFS
interior node
4. An elements of a linked list - tree - or graph - often represented by a data structure
successor
cons
depth-first search
node
5. 1. In lisp - the function that constructs a pair of points - or basic elements of list structure. 2. To make a cons data structure 2. a cons data structure
garbage collection
search
cons
depth-first search
6. In a tree - the union of a node's parent and the parent's ancestors
ancestors
complex ADT
dictionary
child
7. To look through a data structure until a goal object is found
destructive
search
union
class
8. The process of collecting garbage for recycling
simple data type
state
binary search tree (bst)
garbage collection
9. 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
linked list
fair
side-effect
10. Given two sets - the intersection is the set of elements that are members of both sets
object
stack
interior node
intersection
11. An item (or description of items) being sough in a search
amortized Analysis
structure sharing
goal
intractable
12. A classification of objects into a tree structure that groups related objects
depth
taxonomy
stack
garbage
13. The number of links between the root of a tree and the leaves
runtime stack
depth
operator
data type
14. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
preorder
successor
inorder
15. A description of the state of a process such as a board game
reference
state
ancestors
data structure
16. All nodes below a give node in a tree
child
recursive case
descendants
random access
17. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
queue
dictionary
intersection
ontology
18. A collection of objects that are inserted and removed according to the LIFO principle
binary search tree (bst)
search
stack
complex data type
19. An order of processing a tree in which the parent node is processed in between its children
inorder
entinel
stack
stack frame
20. 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
boxed number
preorder
complex data type
branching factor
21. To hide similar items with the same name
reference
successor
shadow
data structure
22. A case where tow data structures share some elements
fair
structure sharing
LIFO
constructive
23. First in first out: describes ordering of a queue
fifo
interior node
inorder
boxed number
24. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
dictionary
gedanken
algorithm
type
25. Last in first out: describes the order of a stack
constructive
shadow
LIFO
type
26. Describes a function that makes a new data structure but does not modify its arguments
data abstraction
grammar
queue
constructive
27. Composed of multiple sequential elements stored in contiguous bytes of memory
array
parent
association list
recursive case
28. A linked list in which the last element points back to the first element
complex ADT
random access
data abstraction
circularly linked list
29. Container for storing a collection of data in unique key/value pairs
intractable
ancestors
entinel
dictionary
30. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
goal
taxonomy
alias
31. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
big o
well-founded ordering xml
reference type
quadratic
32. A list of pairs - where each pair has a key and a value associated with the key
garbage
dereference
binary tree
association list
33. Use of a function or method without knowing how it's accomplished
search
boxed number
procedural abstraction
big o
34. A search in which children of a node are considered before siblings are considered
depth-first search
intractable
fifo
depth
35. To convert from a pointer to the data that is pointed to
well-founded ordering xml
boxed number
tail recursive
dereference
36. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
depth
intersection
data structure
operator
37. 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
dictionary
merge
binary search tree (bst)
state
38. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
dictionary
linear O(n)
branching factor
39. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
type
depth-first search
fair
40. In a tree search - to move back from the node currently being examined to its parent
ontology
backtrack
search
successor
41. In a tree - a node pointed to by a parent node
intractable
stack frame
scope
child
42. Composed of a collection of data values; implemented with a data structure
complex ADT
operator
stack space
filter
43. Two variables that reference the same object
immutable
node
alias
descendants
44. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
design pattern
association list
well-founded ordering xml
immutable
45. Any container with linear ordering
general list
root
fair
array
46. A condition of the input data where the data will be handled by call(s) to the same program
data structure
recursive case
procedural abstraction
runtime stack
47. Depth first search
DFS
runtime stack
class
linear O(n)
48. A simple case that can be solved easily - without recursion
class
simple ADT
union
base case
49. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
stack
grammar
binary search tree (bst)
root
50. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
search
queue
general list
node