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. 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
general list
binary search tree (bst)
leaf
null dereference
2. An item (or description of items) being sough in a search
big o
goal
search
garbage collection
3. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
inorder
algorithm
simple ADT
stack space
4. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
pointer
procedural abstraction
recursive case
5. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
gedanken
boxed number
grammar
complex ADT
6. A list of pairs - where each pair has a key and a value associated with the key
cons
scope
grammar
association list
7. To convert from a pointer to the data that is pointed to
data structure
inorder
depth
dereference
8. The next element in a linked list
quadratic
simple ADT
successor
tail recursive
9. storage that is no longer pointed to by any variable and therefore can no longer be accessed
ancestors
doubly linked list
garbage
object
10. An order of processing a tree in which the parent node is processed before its children
preorder
immutable
destructive
LIFO
11. A problem whose solution requires a linear amount of time or space if the problem is size n
child
linear O(n)
dictionary
object
12. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
filter
object
divide and conquer
structure sharing
13. The number of links between the root of a tree and the leaves
ancestors
class
depth
constructive
14. In a tree - a node that points to a given node
parent
dictionary
union
type
15. The top node of a tree - from which all other nodes can be reached
constructive
reference
data structure
root
16. An extra record at the start or end of a data structure such as a linked list - to simplify processing
reference
alias
design pattern
entinel
17. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
big o
depth-first search
dereference
18. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
node
dictionary
base case
ontology
19. A variable containing the address of other data
pointer
immutable
binary tree
array
20. Last in first out: describes the order of a stack
LIFO
garbage
state
fair
21. 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
complex data type
binary tree
cons
object
22. In a tree - the union of a node's parent and the parent's ancestors
quadratic
backtrack
gedanken
ancestors
23. Composed of a collection of data values; implemented with a data structure
depth-first search
association list
complex ADT
set difference
24. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
abstract data type
postorder
data structure
dictionary
25. In a tree - a node pointed to by a parent node
backtrack
immutable
child
doubly linked list
26. A pointer to the next element in a linked list
data structure
intersection
array
link
27. The process of collecting garbage for recycling
successor
ontology
garbage collection
interior node
28. All nodes below a give node in a tree
descendants
cons
leaf
depth
29. 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?"
entinel
amortized Analysis
intractable
divide and conquer
30. Composed of multiple sequential elements stored in contiguous bytes of memory
procedural abstraction
array
entinel
null dereference
31. Given two sets -the union is the set of elements that are members of either set
shadow
union
link
doubly linked list
32. A tree node containing a contents value but with no children
operator
class
reference
leaf
33. Depth first search
type
parent
DFS
general list
34. Two variables that reference the same object
null dereference
alias
circularly linked list
ancestors
35. Composed of individually named data fields
DFS
filter
simple ADT
simple data type
36. To look through a data structure until a goal object is found
merge
alias
goal
search
37. A queue implemented within an array - where the first elements of the array logically follows the last elements
node
data type
circular queue
scope
38. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
alias
descendants
complex ADT
39. A section of the runtime stack holding the values of all variables for one invocation
intersection
stack frame
linear O(n)
binary search tree (bst)
40. Values are in the most basic form and cannot be decomposed into smaller parts
intersection
design pattern
postorder
simple data type
41. Describes a though experiment or view of an entity
immutable
amortized Analysis
backtrack
gedanken
42. A given collection of values along with a collection of operations for use on those values
simple data type
big o
alias
data type
43. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
recursion
constructive
linear O(n)
quadratic
44. Container for storing a collection of data in unique key/value pairs
data structure
dictionary
ontology
sort
45. A simple case that can be solved easily - without recursion
circularly linked list
binary tree
base case
cons
46. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
branching factor
array
postorder
well-founded ordering xml
47. An order of processing a tree in which the parent node is processed in between its children
circular queue
inorder
fifo
ancestors
48. A node of a tree that has children
algorithm
pointer
taxonomy
interior node
49. Use of a function or method without knowing how it's accomplished
grammar
linear O(n)
procedural abstraction
ontology
50. An order of processing a tree in which the parent node is processed after its children
descendants
tail recursive
postorder
cons