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 process of collecting garbage for recycling
stack frame
shadow
garbage collection
constructive
2. 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
complex ADT
boxed number
node
general list
3. Describes a function that makes a new data structure but does not modify its arguments
immutable
dictionary
garbage
constructive
4. Describes a function that modifies its arguments
destructive
stack space
algorithm
stack
5. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
binary tree
state
sort
goal
6. In object oriented programming - a description of a set of similar objects
linear O(n)
link
class
sort
7. An elements of a linked list - tree - or graph - often represented by a data structure
leaf
node
inorder
procedural abstraction
8. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
garbage
stack frame
array
9. 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
sort
stack space
data type
branching factor
10. To look through a data structure until a goal object is found
destructive
pointer
search
linear O(n)
11. A given collection of values along with a collection of operations for use on those values
constructive
backtrack
data type
recursive case
12. A list of pairs - where each pair has a key and a value associated with the key
intractable
circular queue
association list
immutable
13. A classification of objects into a tree structure that groups related objects
taxonomy
grammar
intersection
dictionary
14. An order of processing a tree in which the parent node is processed after its children
runtime stack
data type
scope
postorder
15. The amount of space on the runtime stack required for execution of a program
entinel
stack space
interior node
design pattern
16. A problem whose solution requires a linear amount of time or space if the problem is size n
ancestors
linear O(n)
leaf
constructive
17. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
child
data structure
association list
ontology
18. Any container with linear ordering
big o
runtime stack
immutable
general list
19. To convert from a pointer to the data that is pointed to
dereference
amortized Analysis
merge
array
20. To combine two ordered linear structures into one
pointer
object
merge
backtrack
21. The top node of a tree - from which all other nodes can be reached
destructive
root
pointer
amortized Analysis
22. Depth first search
intractable
well-founded ordering xml
class
DFS
23. All nodes below a give node in a tree
descendants
merge
depth
data abstraction
24. A node of a tree that has children
grammar
interior node
complex data type
reference type
25. Composed of individually named data fields
simple ADT
type
algorithm
preorder
26. A simple case that can be solved easily - without recursion
general list
base case
ancestors
backtrack
27. Constructed of multiple components (simple or complex types)
garbage
constructive
array
complex data type
28. A case where a program calls itself
recursion
general list
stack
intractable
29. To hide similar items with the same name
design pattern
immutable
circularly linked list
shadow
30. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
goal
depth-first search
simple ADT
ontology
31. A condition of the input data where the data will be handled by call(s) to the same program
garbage
side-effect
recursive case
queue
32. The area of program text over which a variable can be referenced
operator
scope
complex ADT
grammar
33. Two variables that reference the same object
general list
big o
alias
intersection
34. An item (or description of items) being sough in a search
pointer
goal
depth
circularly linked list
35. In a tree - a node that points to a given node
fair
parent
destructive
fifo
36. Given two sets -the union is the set of elements that are members of either set
abstract data type
ancestors
design pattern
union
37. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
garbage collection
link
branching factor
algorithm
38. Use of a function or method without knowing how it's accomplished
linear O(n)
procedural abstraction
taxonomy
simple data type
39. An abstracted function that describes the amount of computer time or memory space required by an algorithm - as a function of problem size. for problems larger than a certain size - the actual time or space required will be less than the Big O multip
dictionary
ontology
class
big o
40. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
backtrack
grammar
stack frame
interior node
41. First-child/next-sibling
design pattern
leaf
fair
simple data type
42. A stack containing a stack frame of variable value for each active invocation of procedure
sort
operator
destructive
runtime stack
43. A section of the runtime stack holding the values of all variables for one invocation
garbage collection
preorder
branching factor
stack frame
44. A variable containing the address of other data
class
pointer
search
tail recursive
45. A process that removes unwanted elements from a collection
complex ADT
cons
circularly linked list
filter
46. A case where tow data structures share some elements
union
structure sharing
ancestors
class
47. A linked list in which each elements has both forward and backward pointers
search
stack frame
doubly linked list
big o
48. First in first out: describes ordering of a queue
parent
garbage
queue
fifo
49. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
binary tree
queue
node
ancestors
50. The next element in a linked list
parent
successor
side-effect
array