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
intersection
ancestors
class
branching factor
2. Depth first search
cons
backtrack
DFS
data abstraction
3. Composed of a collection of data values; implemented with a data structure
complex ADT
root
constructive
base case
4. All nodes below a give node in a tree
union
link
reference
descendants
5. The number of links between the root of a tree and the leaves
algorithm
binary search tree (bst)
depth
null dereference
6. In a tree search - to move back from the node currently being examined to its parent
backtrack
circular queue
fair
search
7. A node of a tree that has children
merge
interior node
well-founded ordering xml
LIFO
8. A tree node containing a contents value but with no children
successor
depth
leaf
entinel
9. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
procedural abstraction
grammar
set difference
quadratic
10. Composed of individually named data fields
ontology
simple ADT
data abstraction
scope
11. The next element in a linked list
grammar
divide and conquer
descendants
successor
12. A given collection of values along with a collection of operations for use on those values
data type
circularly linked list
class
abstract data type
13. The process of collecting garbage for recycling
class
garbage collection
operator
immutable
14. A linked list in which the last element points back to the first element
circularly linked list
random access
algorithm
null dereference
15. An item (or description of items) being sough in a search
boxed number
goal
parent
quadratic
16. A process that removes unwanted elements from a collection
circular queue
filter
descendants
array
17. A pointer to the next element in a linked list
taxonomy
reference
general list
link
18. A search in which children of a node are considered before siblings are considered
depth-first search
pointer
big o
recursive case
19. A data structure that can be identified at runtime as being a member of a class
ontology
object
merge
binary tree
20. To combine two ordered linear structures into one
simple data type
merge
design pattern
branching factor
21. A linked list in which each elements has both forward and backward pointers
shadow
recursion
algorithm
doubly linked list
22. A simple case that can be solved easily - without recursion
LIFO
garbage collection
base case
simple ADT
23. A collection of objects that are inserted and removed according to the LIFO principle
dereference
child
amortized Analysis
stack
24. Two variables that reference the same object
structure sharing
depth-first search
alias
complex ADT
25. A problem whose solution requires a linear amount of time or space if the problem is size n
stack space
general list
doubly linked list
linear O(n)
26. Use of a function or method without knowing how it's accomplished
operator
array
filter
procedural abstraction
27. 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
interior node
binary search tree (bst)
abstract data type
base case
28. A contiguous block of memory containing elements of the same type - accessed by numeric index
root
circular queue
array
data abstraction
29. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
binary search tree (bst)
search
shadow
30. A pattern that describes a set of similar programs
well-founded ordering xml
procedural abstraction
design pattern
divide and conquer
31. In a tree - a node that points to a given node
backtrack
parent
state
grammar
32. A section of the runtime stack holding the values of all variables for one invocation
LIFO
successor
stack frame
goal
33. 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
LIFO
goal
null dereference
big o
34. A condition of the input data where the data will be handled by call(s) to the same program
depth-first search
LIFO
recursive case
search
35. A classification of objects into a tree structure that groups related objects
inorder
stack
taxonomy
general list
36. In object oriented programming - a description of a set of similar objects
data abstraction
class
stack frame
pointer
37. 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?"
design pattern
base case
amortized Analysis
ancestors
38. A queue implemented within an array - where the first elements of the array logically follows the last elements
scope
circular queue
recursive case
dictionary
39. A stack containing a stack frame of variable value for each active invocation of procedure
divide and conquer
complex ADT
array
runtime stack
40. A runtime error that occurs when an operation such as method call is attempted on a null pointer
null dereference
filter
intersection
linear O(n)
41. Given two sets -the union is the set of elements that are members of either set
amortized Analysis
pointer
child
union
42. 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
immutable
cons
big o
filter
43. A sequence of records - where each record contains a link to the next one
quadratic
linked list
depth
garbage
44. Any container with linear ordering
complex data type
parent
general list
object
45. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
circular queue
tail recursive
union
destructive
46. An order of processing a tree in which the parent node is processed after its children
complex ADT
postorder
depth
structure sharing
47. An elements of a linked list - tree - or graph - often represented by a data structure
design pattern
destructive
node
preorder
48. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
merge
ancestors
association list
sort
49. In a search tree - a program that changes a state into a child state e.g a move in a game
interior node
node
linked list
operator
50. To look through a data structure until a goal object is found
recursive case
random access
search
fifo