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. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
parent
preorder
root
2. All nodes below a give node in a tree
complex data type
descendants
grammar
intractable
3. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
garbage
divide and conquer
design pattern
fifo
4. An extra record at the start or end of a data structure such as a linked list - to simplify processing
linked list
merge
entinel
data structure
5. Depth first search
intersection
garbage
DFS
union
6. An elements of a linked list - tree - or graph - often represented by a data structure
structure sharing
DFS
node
depth-first search
7. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
cons
association list
quadratic
queue
8. Container for storing a collection of data in unique key/value pairs
type
dereference
binary search tree (bst)
dictionary
9. To combine two ordered linear structures into one
inorder
pointer
merge
big o
10. storage that is no longer pointed to by any variable and therefore can no longer be accessed
binary search tree (bst)
garbage
garbage collection
type
11. A sequence of records - where each record contains a link to the next one
linked list
big o
depth
complex data type
12. Describes a data structure or device in which all accesses have the same cost - O(1)
general list
tail recursive
random access
alias
13. A simple case that can be solved easily - without recursion
stack
base case
linked list
class
14. Separation of the properties of a data type from its implementation
queue
operator
binary search tree (bst)
data abstraction
15. A given collection of values along with a collection of operations for use on those values
array
design pattern
data type
dereference
16. First-child/next-sibling
simple data type
intractable
side-effect
fair
17. 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
simple data type
boxed number
backtrack
18. A linked list in which the last element points back to the first element
doubly linked list
type
circularly linked list
data abstraction
19. A section of the runtime stack holding the values of all variables for one invocation
set difference
cons
ontology
stack frame
20. A condition of the input data where the data will be handled by call(s) to the same program
stack space
sort
reference type
recursive case
21. A linked list in which each elements has both forward and backward pointers
doubly linked list
data abstraction
object
link
22. An order of processing a tree in which the parent node is processed in between its children
reference type
inorder
node
search
23. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
destructive
simple ADT
garbage collection
24. A case where tow data structures share some elements
child
garbage
recursive case
structure sharing
25. 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
postorder
scope
big o
quadratic
26. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
recursion
merge
taxonomy
27. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
shadow
well-founded ordering xml
array
DFS
28. A node of a tree that has children
interior node
queue
leaf
stack
29. Last in first out: describes the order of a stack
state
binary search tree (bst)
LIFO
preorder
30. An order of processing a tree in which the parent node is processed after its children
simple ADT
data type
gedanken
postorder
31. The process of collecting garbage for recycling
well-founded ordering xml
binary search tree (bst)
backtrack
garbage collection
32. 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
ontology
child
cons
class
33. To convert from a pointer to the data that is pointed to
structure sharing
garbage collection
tail recursive
dereference
34. A tree node containing a contents value but with no children
preorder
leaf
set difference
grammar
35. A problem that is so hard that it cannot be solved unless the problem is small
binary search tree (bst)
entinel
descendants
intractable
36. A pointer to data
general list
dereference
side-effect
reference
37. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
random access
taxonomy
interior node
38. Use of a function or method without knowing how it's accomplished
grammar
boxed number
procedural abstraction
abstract data type
39. To look through a data structure until a goal object is found
amortized Analysis
simple data type
branching factor
search
40. The area of program text over which a variable can be referenced
scope
preorder
procedural abstraction
state
41. A collection of values
type
array
pointer
well-founded ordering xml
42. Describes a function that modifies its arguments
destructive
descendants
binary search tree (bst)
runtime stack
43. An order of processing a tree in which the parent node is processed before its children
filter
well-founded ordering xml
descendants
preorder
44. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
fifo
union
interior node
side-effect
45. Composed of multiple sequential elements stored in contiguous bytes of memory
array
recursive case
side-effect
state
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
stack space
binary search tree (bst)
search
side-effect
47. A classification of objects into a tree structure that groups related objects
grammar
taxonomy
parent
pointer
48. A data structure that can be identified at runtime as being a member of a class
depth-first search
complex ADT
data structure
object
49. In a tree - the union of a node's parent and the parent's ancestors
base case
circular queue
linear O(n)
ancestors
50. Given two sets -the union is the set of elements that are members of either set
fair
union
structure sharing
complex ADT