SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. Container for storing a collection of data in unique key/value pairs
depth-first search
recursive case
dictionary
merge
2. A case where tow data structures share some elements
structure sharing
search
complex ADT
postorder
3. Two variables that reference the same object
amortized Analysis
constructive
cons
alias
4. A stack containing a stack frame of variable value for each active invocation of procedure
circularly linked list
side-effect
intersection
runtime stack
5. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
backtrack
immutable
fifo
object
6. Constructed of multiple components (simple or complex types)
simple data type
complex data type
filter
data abstraction
7. To combine two ordered linear structures into one
merge
runtime stack
parent
LIFO
8. A problem that is so hard that it cannot be solved unless the problem is small
array
LIFO
intractable
destructive
9. A description of operations on a data type that could have multiple possible implementations
abstract data type
taxonomy
algorithm
circularly linked list
10. 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
descendants
boxed number
goal
interior node
11. A pattern that describes a set of similar programs
amortized Analysis
preorder
design pattern
gedanken
12. Composed of a collection of data values; implemented with a data structure
circularly linked list
root
node
complex ADT
13. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
algorithm
stack frame
inorder
backtrack
14. A data structure that implements a complete binary tree within an array - such that every parent node has a value that is less than the value of either of its children
stack frame
quadratic
cons
binary tree
15. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
linked list
side-effect
simple ADT
sort
16. A process that removes unwanted elements from a collection
quadratic
cons
filter
binary tree
17. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
link
sort
quadratic
simple ADT
18. A queue implemented within an array - where the first elements of the array logically follows the last elements
structure sharing
runtime stack
circular queue
interior node
19. A tree node containing a contents value but with no children
boxed number
reference type
fair
leaf
20. To look through a data structure until a goal object is found
search
type
boxed number
simple data type
21. A given collection of values along with a collection of operations for use on those values
binary tree
abstract data type
stack
data type
22. A node of a tree that has children
boxed number
operator
association list
interior node
23. Given two sets - the intersection is the set of elements that are members of both sets
shadow
recursive case
intersection
postorder
24. A data structure that can be identified at runtime as being a member of a class
object
random access
circularly linked list
operator
25. In a tree - a node that points to a given node
null dereference
LIFO
parent
grammar
26. 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
search
ancestors
garbage
big o
27. Last in first out: describes the order of a stack
LIFO
data structure
well-founded ordering xml
stack frame
28. A classification of objects into a tree structure that groups related objects
recursion
random access
intractable
taxonomy
29. A pointer to the next element in a linked list
filter
search
circular queue
link
30. Use of a function or method without knowing how it's accomplished
binary search tree (bst)
reference type
filter
procedural abstraction
31. Describes a function that makes a new data structure but does not modify its arguments
structure sharing
constructive
data abstraction
recursive case
32. storage that is no longer pointed to by any variable and therefore can no longer be accessed
parent
big o
binary search tree (bst)
garbage
33. A collection of objects that are inserted and removed according to the LIFO principle
quadratic
union
stack
dereference
34. Describes a data structure or device in which all accesses have the same cost - O(1)
stack
random access
binary search tree (bst)
child
35. A linked list in which the last element points back to the first element
abstract data type
constructive
circularly linked list
data structure
36. Values are in the most basic form and cannot be decomposed into smaller parts
filter
interior node
child
simple data type
37. A simple case that can be solved easily - without recursion
design pattern
base case
object
general list
38. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
linear O(n)
design pattern
dictionary
39. A description of the state of a process such as a board game
state
data structure
fifo
descendants
40. A case where a program calls itself
recursion
circularly linked list
design pattern
set difference
41. The process of collecting garbage for recycling
reference type
postorder
garbage collection
garbage
42. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
dictionary
complex ADT
linear O(n)
set difference
43. A contiguous block of memory containing elements of the same type - accessed by numeric index
linked list
grammar
array
descendants
44. Any container with linear ordering
general list
null dereference
stack space
dictionary
45. A variable containing the address of other data
pointer
simple ADT
array
quadratic
46. A list of pairs - where each pair has a key and a value associated with the key
association list
data abstraction
successor
class
47. A condition of the input data where the data will be handled by call(s) to the same program
runtime stack
simple data type
cons
recursive case
48. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
descendants
stack
scope
side-effect
49. The top node of a tree - from which all other nodes can be reached
depth-first search
amortized Analysis
ancestors
root
50. 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?"
search
constructive
state
amortized Analysis