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 collection of values
dictionary
simple ADT
branching factor
type
2. The area of program text over which a variable can be referenced
simple data type
data abstraction
descendants
scope
3. The top node of a tree - from which all other nodes can be reached
taxonomy
complex ADT
shadow
root
4. Composed of multiple sequential elements stored in contiguous bytes of memory
link
array
circularly linked list
shadow
5. Use of a function or method without knowing how it's accomplished
circular queue
array
procedural abstraction
intractable
6. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
side-effect
circular queue
cons
set difference
7. A tree node containing a contents value but with no children
leaf
well-founded ordering xml
recursive case
fair
8. First-child/next-sibling
fair
general list
circularly linked list
simple data type
9. Composed of individually named data fields
preorder
reference
immutable
simple ADT
10. First in first out: describes ordering of a queue
depth
linked list
fifo
tail recursive
11. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
filter
grammar
leaf
12. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
quadratic
stack space
runtime stack
entinel
13. Last in first out: describes the order of a stack
dereference
LIFO
goal
descendants
14. In a tree search - to move back from the node currently being examined to its parent
backtrack
procedural abstraction
type
goal
15. In a tree - a node that points to a given node
branching factor
array
parent
recursive case
16. The number of links between the root of a tree and the leaves
depth
general list
union
taxonomy
17. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
postorder
link
side-effect
stack space
18. The next element in a linked list
object
successor
array
depth
19. A search in which children of a node are considered before siblings are considered
circularly linked list
search
depth-first search
root
20. To convert from a pointer to the data that is pointed to
simple ADT
dereference
data structure
depth
21. A linked list in which each elements has both forward and backward pointers
union
complex ADT
filter
doubly linked list
22. An order of processing a tree in which the parent node is processed after its children
postorder
gedanken
algorithm
merge
23. Separation of the properties of a data type from its implementation
amortized Analysis
depth-first search
preorder
data abstraction
24. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
binary search tree (bst)
intractable
garbage collection
queue
25. Describes a data structure or device in which all accesses have the same cost - O(1)
depth-first search
boxed number
random access
reference type
26. Depth first search
algorithm
link
LIFO
DFS
27. storage that is no longer pointed to by any variable and therefore can no longer be accessed
gedanken
successor
union
garbage
28. A pattern that describes a set of similar programs
union
design pattern
inorder
constructive
29. A case where tow data structures share some elements
circularly linked list
goal
structure sharing
root
30. 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
shadow
algorithm
31. Any container with linear ordering
general list
complex ADT
class
operator
32. In a search tree - a program that changes a state into a child state e.g a move in a game
operator
entinel
data structure
postorder
33. Given two sets -the union is the set of elements that are members of either set
class
grammar
union
immutable
34. In object oriented programming - a description of a set of similar objects
class
dereference
general list
dictionary
35. 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
branching factor
garbage collection
divide and conquer
node
36. A case where a program calls itself
design pattern
tail recursive
constructive
recursion
37. Container for storing a collection of data in unique key/value pairs
dictionary
gedanken
linked list
cons
38. A type in which variables of that type are pointers to objects. in the code integer i = 3 - the variable i holds a pointer to the integer object that contains the value. in in j = 3 - the variable j contains the value. in java - only reference types
intersection
alias
reference type
divide and conquer
39. Constructed of multiple components (simple or complex types)
intersection
complex data type
stack
base case
40. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
quadratic
filter
node
41. An elements of a linked list - tree - or graph - often represented by a data structure
union
interior node
node
side-effect
42. A pointer to data
ontology
reference
interior node
entinel
43. To look through a data structure until a goal object is found
data type
depth-first search
array
search
44. A runtime error that occurs when an operation such as method call is attempted on a null pointer
intersection
structure sharing
DFS
null dereference
45. The process of collecting garbage for recycling
linked list
depth-first search
dereference
garbage collection
46. 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
parent
data type
binary search tree (bst)
design pattern
47. A linked list in which the last element points back to the first element
circularly linked list
search
successor
circular queue
48. A number that is defined as an object so that it has a runtime type and methods that can be used - e.g. Integer in Java
intractable
goal
complex ADT
boxed number
49. A problem whose solution requires a linear amount of time or space if the problem is size n
data type
leaf
random access
linear O(n)
50. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
shadow
DFS
preorder
immutable