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. Given two sets - the intersection is the set of elements that are members of both sets
abstract data type
sort
intersection
successor
2. A node of a tree that has children
branching factor
interior node
type
successor
3. A process that removes unwanted elements from a collection
child
filter
divide and conquer
big o
4. All nodes below a give node in a tree
alias
descendants
inorder
fair
5. 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
linked list
shadow
stack space
branching factor
6. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
node
abstract data type
well-founded ordering xml
binary tree
7. A section of the runtime stack holding the values of all variables for one invocation
ontology
stack frame
object
alias
8. Last in first out: describes the order of a stack
preorder
goal
design pattern
LIFO
9. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
doubly linked list
boxed number
complex data type
quadratic
10. A variable containing the address of other data
cons
pointer
depth
entinel
11. An order of processing a tree in which the parent node is processed after its children
postorder
sort
amortized Analysis
structure sharing
12. A description of the state of a process such as a board game
stack frame
state
design pattern
interior node
13. Depth first search
DFS
depth-first search
operator
branching factor
14. In object oriented programming - a description of a set of similar objects
shadow
queue
garbage
class
15. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
gedanken
inorder
ancestors
16. 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?"
reference
reference type
amortized Analysis
linear O(n)
17. The process of collecting garbage for recycling
garbage collection
data type
design pattern
filter
18. Describes a though experiment or view of an entity
complex data type
gedanken
node
algorithm
19. Given two sets -the union is the set of elements that are members of either set
gedanken
garbage
union
sort
20. A case where a program calls itself
destructive
postorder
recursion
big o
21. A given collection of values along with a collection of operations for use on those values
node
data type
side-effect
parent
22. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
interior node
doubly linked list
algorithm
base case
23. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
queue
entinel
binary search tree (bst)
runtime stack
24. 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
union
dereference
inorder
25. A runtime error that occurs when an operation such as method call is attempted on a null pointer
gedanken
DFS
null dereference
structure sharing
26. A description of operations on a data type that could have multiple possible implementations
linear O(n)
abstract data type
null dereference
cons
27. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
branching factor
depth-first search
tail recursive
immutable
28. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
structure sharing
immutable
dictionary
array
29. A stack containing a stack frame of variable value for each active invocation of procedure
destructive
runtime stack
class
linear O(n)
30. An order of processing a tree in which the parent node is processed before its children
garbage collection
binary search tree (bst)
preorder
fair
31. A linked list in which each elements has both forward and backward pointers
doubly linked list
procedural abstraction
boxed number
recursive case
32. To convert from a pointer to the data that is pointed to
destructive
merge
postorder
dereference
33. Composed of a collection of data values; implemented with a data structure
complex ADT
postorder
algorithm
taxonomy
34. In a tree - a node that points to a given node
state
parent
garbage collection
search
35. A linked list in which the last element points back to the first element
circularly linked list
alias
operator
type
36. To hide similar items with the same name
well-founded ordering xml
root
shadow
search
37. Composed of multiple sequential elements stored in contiguous bytes of memory
complex ADT
linked list
state
array
38. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data type
boxed number
reference type
data structure
39. 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
array
base case
recursive case
binary search tree (bst)
40. A queue implemented within an array - where the first elements of the array logically follows the last elements
doubly linked list
circular queue
null dereference
ontology
41. A case where tow data structures share some elements
structure sharing
constructive
cons
set difference
42. Values are in the most basic form and cannot be decomposed into smaller parts
fifo
random access
inorder
simple data type
43. An order of processing a tree in which the parent node is processed in between its children
design pattern
descendants
general list
inorder
44. First in first out: describes ordering of a queue
binary tree
fifo
random access
linked list
45. Use of a function or method without knowing how it's accomplished
big o
procedural abstraction
child
constructive
46. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
merge
destructive
simple data type
47. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
interior node
dictionary
reference type
48. Constructed of multiple components (simple or complex types)
algorithm
complex data type
gedanken
data abstraction
49. First-child/next-sibling
well-founded ordering xml
amortized Analysis
fair
DFS
50. A sequence of records - where each record contains a link to the next one
linked list
reference type
boxed number
cons