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 tree - a node pointed to by a parent node
fifo
null dereference
complex ADT
child
2. A collection of values
taxonomy
type
interior node
filter
3. The amount of space on the runtime stack required for execution of a program
stack space
entinel
stack
depth-first search
4. Describes a function that modifies its arguments
linear O(n)
type
garbage collection
destructive
5. A data structure that can be identified at runtime as being a member of a class
entinel
runtime stack
object
complex ADT
6. Composed of multiple sequential elements stored in contiguous bytes of memory
stack frame
boxed number
garbage collection
array
7. A description of the state of a process such as a board game
link
state
LIFO
set difference
8. Last in first out: describes the order of a stack
design pattern
LIFO
type
reference type
9. 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
data structure
LIFO
big o
ancestors
10. Describes a though experiment or view of an entity
postorder
union
gedanken
structure sharing
11. A given collection of values along with a collection of operations for use on those values
divide and conquer
data type
well-founded ordering xml
binary search tree (bst)
12. An elements of a linked list - tree - or graph - often represented by a data structure
descendants
array
abstract data type
node
13. Depth first search
DFS
stack
operator
runtime stack
14. In a tree - the union of a node's parent and the parent's ancestors
taxonomy
ancestors
depth
algorithm
15. A list of pairs - where each pair has a key and a value associated with the key
goal
DFS
algorithm
association list
16. Two variables that reference the same object
alias
depth
side-effect
linked list
17. A search in which children of a node are considered before siblings are considered
depth-first search
depth
doubly linked list
gedanken
18. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
boxed number
complex ADT
sort
19. To hide similar items with the same name
shadow
algorithm
association list
gedanken
20. In a tree - a node that points to a given node
queue
search
reference
parent
21. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
gedanken
divide and conquer
backtrack
parent
22. The area of program text over which a variable can be referenced
scope
recursive case
procedural abstraction
root
23. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
branching factor
side-effect
depth
simple ADT
24. A node of a tree that has children
data abstraction
interior node
array
LIFO
25. A description of operations on a data type that could have multiple possible implementations
abstract data type
sort
association list
pointer
26. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
dereference
amortized Analysis
successor
quadratic
27. The top node of a tree - from which all other nodes can be reached
array
cons
root
scope
28. A process that removes unwanted elements from a collection
gedanken
merge
filter
runtime stack
29. A case where a program calls itself
destructive
recursion
node
general list
30. A stack containing a stack frame of variable value for each active invocation of procedure
destructive
data structure
binary search tree (bst)
runtime stack
31. A section of the runtime stack holding the values of all variables for one invocation
random access
taxonomy
dereference
stack frame
32. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
fifo
queue
garbage
doubly linked list
33. A variable containing the address of other data
simple data type
garbage
abstract data type
pointer
34. A pointer to the next element in a linked list
linear O(n)
leaf
data abstraction
link
35. Constructed of multiple components (simple or complex types)
binary search tree (bst)
LIFO
quadratic
complex data type
36. 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?"
preorder
structure sharing
class
amortized Analysis
37. An order of processing a tree in which the parent node is processed in between its children
stack space
side-effect
inorder
fair
38. Composed of individually named data fields
simple ADT
stack
immutable
type
39. Use of a function or method without knowing how it's accomplished
abstract data type
procedural abstraction
doubly linked list
node
40. An order of processing a tree in which the parent node is processed after its children
search
recursion
postorder
random access
41. Container for storing a collection of data in unique key/value pairs
stack
complex ADT
dictionary
boxed number
42. A condition of the input data where the data will be handled by call(s) to the same program
stack space
linked list
depth
recursive case
43. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
grammar
cons
sort
object
44. In a search tree - a program that changes a state into a child state e.g a move in a game
divide and conquer
circularly linked list
operator
scope
45. A problem whose solution requires a linear amount of time or space if the problem is size n
root
stack
fair
linear O(n)
46. The number of links between the root of a tree and the leaves
depth
gedanken
association list
taxonomy
47. A classification of objects into a tree structure that groups related objects
circularly linked list
data structure
taxonomy
quadratic
48. First-child/next-sibling
ontology
pointer
sort
fair
49. Values are in the most basic form and cannot be decomposed into smaller parts
immutable
reference type
simple data type
taxonomy
50. The next element in a linked list
successor
fair
LIFO
sort