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 problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
LIFO
divide and conquer
boxed number
immutable
2. A pointer to data
cons
algorithm
ontology
reference
3. An order of processing a tree in which the parent node is processed in between its children
reference type
immutable
inorder
amortized Analysis
4. A process that removes unwanted elements from a collection
destructive
filter
intractable
design pattern
5. First-child/next-sibling
circularly linked list
entinel
preorder
fair
6. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
child
boxed number
recursive case
7. An extra record at the start or end of a data structure such as a linked list - to simplify processing
entinel
association list
simple ADT
parent
8. storage that is no longer pointed to by any variable and therefore can no longer be accessed
complex data type
root
garbage
array
9. The area of program text over which a variable can be referenced
branching factor
tail recursive
pointer
scope
10. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
search
operator
queue
link
11. A description of operations on a data type that could have multiple possible implementations
circularly linked list
random access
abstract data type
class
12. The process of collecting garbage for recycling
garbage collection
leaf
queue
linked list
13. A problem that is so hard that it cannot be solved unless the problem is small
goal
descendants
amortized Analysis
intractable
14. 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
cons
stack frame
LIFO
association list
15. A pointer to the next element in a linked list
link
base case
class
reference type
16. Given two sets -the union is the set of elements that are members of either set
union
circularly linked list
entinel
linear O(n)
17. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
procedural abstraction
side-effect
operator
18. The top node of a tree - from which all other nodes can be reached
merge
root
side-effect
entinel
19. Given two sets - the intersection is the set of elements that are members of both sets
intersection
linear O(n)
LIFO
garbage collection
20. To hide similar items with the same name
shadow
filter
stack
doubly linked list
21. A simple case that can be solved easily - without recursion
sort
link
ancestors
base case
22. Last in first out: describes the order of a stack
depth-first search
LIFO
complex data type
simple ADT
23. Values are in the most basic form and cannot be decomposed into smaller parts
quadratic
alias
simple data type
successor
24. To convert from a pointer to the data that is pointed to
backtrack
immutable
dereference
filter
25. A contiguous block of memory containing elements of the same type - accessed by numeric index
array
goal
complex ADT
sort
26. A collection of values
backtrack
DFS
type
depth-first search
27. A tree node containing a contents value but with no children
shadow
depth-first search
amortized Analysis
leaf
28. Depth first search
intractable
dictionary
circular queue
DFS
29. 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
side-effect
binary search tree (bst)
stack
recursive case
30. A case where a program calls itself
postorder
successor
binary tree
recursion
31. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
node
simple data type
linked list
ontology
32. A given collection of values along with a collection of operations for use on those values
scope
grammar
data type
intersection
33. A node of a tree that has children
set difference
interior node
descendants
algorithm
34. Describes a though experiment or view of an entity
union
gedanken
child
data abstraction
35. The next element in a linked list
successor
LIFO
immutable
complex ADT
36. Any container with linear ordering
boxed number
binary search tree (bst)
general list
algorithm
37. An order of processing a tree in which the parent node is processed before its children
taxonomy
operator
preorder
fifo
38. Describes a function that modifies its arguments
circular queue
class
destructive
shadow
39. A pattern that describes a set of similar programs
reference type
design pattern
recursive case
fifo
40. Describes a data structure or device in which all accesses have the same cost - O(1)
filter
random access
entinel
postorder
41. A section of the runtime stack holding the values of all variables for one invocation
boxed number
stack frame
parent
tail recursive
42. Composed of a collection of data values; implemented with a data structure
state
complex ADT
runtime stack
simple ADT
43. Use of a function or method without knowing how it's accomplished
well-founded ordering xml
simple ADT
procedural abstraction
sort
44. Composed of individually named data fields
binary tree
simple ADT
array
entinel
45. A sequence of records - where each record contains a link to the next one
recursive case
recursion
destructive
linked list
46. In a tree - the union of a node's parent and the parent's ancestors
dictionary
ancestors
cons
child
47. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
stack space
immutable
sort
descendants
48. 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
structure sharing
random access
stack space
49. A data structure that can be identified at runtime as being a member of a class
data abstraction
object
linked list
cons
50. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
ontology
stack frame
recursion
well-founded ordering xml