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. 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
binary tree
association list
operator
branching factor
2. 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?"
set difference
amortized Analysis
DFS
boxed number
3. Constructed of multiple components (simple or complex types)
complex data type
ancestors
filter
union
4. Describes a though experiment or view of an entity
divide and conquer
gedanken
immutable
merge
5. A pointer to data
postorder
doubly linked list
fifo
reference
6. A given collection of values along with a collection of operations for use on those values
simple data type
circularly linked list
intersection
data type
7. Describes a function that modifies its arguments
data type
destructive
array
scope
8. A description of operations on a data type that could have multiple possible implementations
intractable
well-founded ordering xml
pointer
abstract data type
9. A pointer to the next element in a linked list
circularly linked list
link
parent
class
10. In object oriented programming - a description of a set of similar objects
goal
child
stack
class
11. In a tree search - to move back from the node currently being examined to its parent
backtrack
dereference
base case
random access
12. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
class
data structure
set difference
side-effect
13. A tree node containing a contents value but with no children
child
leaf
object
runtime stack
14. Composed of multiple sequential elements stored in contiguous bytes of memory
array
recursion
random access
leaf
15. A node of a tree that has children
procedural abstraction
sort
interior node
filter
16. An extra record at the start or end of a data structure such as a linked list - to simplify processing
operator
entinel
fifo
link
17. To combine two ordered linear structures into one
side-effect
leaf
merge
depth-first search
18. Container for storing a collection of data in unique key/value pairs
amortized Analysis
structure sharing
set difference
dictionary
19. Any container with linear ordering
constructive
complex ADT
general list
stack frame
20. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
DFS
tail recursive
operator
grammar
21. An order of processing a tree in which the parent node is processed after its children
filter
postorder
boxed number
general list
22. Last in first out: describes the order of a stack
dictionary
doubly linked list
LIFO
object
23. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
divide and conquer
set difference
search
dereference
24. Composed of individually named data fields
interior node
association list
simple ADT
search
25. A simple case that can be solved easily - without recursion
base case
cons
binary search tree (bst)
recursive case
26. The top node of a tree - from which all other nodes can be reached
root
null dereference
simple data type
complex data type
27. Two variables that reference the same object
object
stack frame
boxed number
alias
28. The next element in a linked list
base case
successor
abstract data type
parent
29. First-child/next-sibling
garbage
fair
well-founded ordering xml
base case
30. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
intractable
constructive
union
immutable
31. The amount of space on the runtime stack required for execution of a program
boxed number
stack space
dereference
dictionary
32. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
union
fair
inorder
33. A condition of the input data where the data will be handled by call(s) to the same program
depth
recursive case
doubly linked list
postorder
34. A case where tow data structures share some elements
structure sharing
stack
boxed number
complex ADT
35. Describes a function that makes a new data structure but does not modify its arguments
immutable
base case
procedural abstraction
constructive
36. To look through a data structure until a goal object is found
child
alias
entinel
search
37. The number of links between the root of a tree and the leaves
binary search tree (bst)
array
depth
binary tree
38. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
link
set difference
descendants
quadratic
39. An order of processing a tree in which the parent node is processed before its children
ontology
preorder
postorder
circular queue
40. To convert from a pointer to the data that is pointed to
dereference
immutable
stack
ancestors
41. Given two sets - the intersection is the set of elements that are members of both sets
set difference
array
filter
intersection
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
cons
garbage
successor
interior node
43. A search in which children of a node are considered before siblings are considered
depth-first search
cons
procedural abstraction
association list
44. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
tail recursive
class
search
45. To hide similar items with the same name
leaf
class
shadow
boxed number
46. A queue implemented within an array - where the first elements of the array logically follows the last elements
doubly linked list
node
circular queue
shadow
47. A problem that is so hard that it cannot be solved unless the problem is small
intractable
depth-first search
simple ADT
root
48. A variable containing the address of other data
pointer
array
binary search tree (bst)
structure sharing
49. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
merge
stack frame
abstract data type
50. 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
boxed number
circular queue
random access
well-founded ordering xml