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. A collection of values
ontology
leaf
abstract data type
type
2. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
shadow
divide and conquer
structure sharing
backtrack
3. A case where tow data structures share some elements
DFS
child
structure sharing
doubly linked list
4. Given two sets -the union is the set of elements that are members of either set
simple ADT
data type
union
stack
5. A linked list in which each elements has both forward and backward pointers
doubly linked list
child
linked list
alias
6. To convert from a pointer to the data that is pointed to
dereference
linked list
well-founded ordering xml
structure sharing
7. Values are in the most basic form and cannot be decomposed into smaller parts
base case
simple data type
stack
filter
8. Container for storing a collection of data in unique key/value pairs
grammar
fifo
dictionary
filter
9. A description of the state of a process such as a board game
LIFO
entinel
intractable
state
10. Separation of the properties of a data type from its implementation
algorithm
data abstraction
design pattern
null dereference
11. A variable containing the address of other data
destructive
goal
pointer
intersection
12. A section of the runtime stack holding the values of all variables for one invocation
stack frame
simple ADT
simple data type
ancestors
13. A description of operations on a data type that could have multiple possible implementations
backtrack
random access
abstract data type
search
14. In a tree - the union of a node's parent and the parent's ancestors
scope
leaf
ancestors
reference
15. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
state
data structure
destructive
quadratic
16. An order of processing a tree in which the parent node is processed before its children
immutable
preorder
backtrack
intersection
17. Composed of a collection of data values; implemented with a data structure
base case
complex ADT
complex data type
ancestors
18. storage that is no longer pointed to by any variable and therefore can no longer be accessed
taxonomy
stack frame
garbage
quadratic
19. Last in first out: describes the order of a stack
type
pointer
stack space
LIFO
20. First in first out: describes ordering of a queue
node
data type
depth-first search
fifo
21. Given two sets - the intersection is the set of elements that are members of both sets
union
intersection
cons
type
22. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
simple data type
doubly linked list
stack frame
sort
23. The top node of a tree - from which all other nodes can be reached
root
linked list
successor
merge
24. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
grammar
entinel
stack
taxonomy
25. A problem whose solution requires a linear amount of time or space if the problem is size n
inorder
linear O(n)
ancestors
design pattern
26. In a tree - a node pointed to by a parent node
child
taxonomy
union
null dereference
27. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
cons
algorithm
structure sharing
reference
28. A node of a tree that has children
search
gedanken
union
interior node
29. A type in which variables of that type are pointers to objects. in the code integer i = 3 - the variable i holds a pointer to the integer object that contains the value. in in j = 3 - the variable j contains the value. in java - only reference types
link
taxonomy
cons
reference type
30. Constructed of multiple components (simple or complex types)
well-founded ordering xml
binary search tree (bst)
linked list
complex data type
31. A collection of objects that are inserted and removed according to the LIFO principle
stack
merge
depth
taxonomy
32. To hide similar items with the same name
shadow
garbage collection
gedanken
random access
33. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
structure sharing
child
binary search tree (bst)
34. A pointer to data
parent
data structure
circular queue
reference
35. 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
fair
quadratic
well-founded ordering xml
big o
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?"
search
well-founded ordering xml
array
amortized Analysis
37. A list of pairs - where each pair has a key and a value associated with the key
association list
dereference
simple ADT
simple data type
38. A given collection of values along with a collection of operations for use on those values
tail recursive
complex ADT
amortized Analysis
data type
39. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
set difference
stack frame
intersection
branching factor
40. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
scope
entinel
dereference
well-founded ordering xml
41. Use of a function or method without knowing how it's accomplished
binary tree
procedural abstraction
depth-first search
entinel
42. A sequence of records - where each record contains a link to the next one
procedural abstraction
linked list
data abstraction
structure sharing
43. An item (or description of items) being sough in a search
goal
structure sharing
interior node
runtime stack
44. In a search tree - a program that changes a state into a child state e.g a move in a game
postorder
design pattern
data type
operator
45. A simple case that can be solved easily - without recursion
postorder
intersection
array
base case
46. All nodes below a give node in a tree
descendants
interior node
branching factor
stack space
47. A queue implemented within an array - where the first elements of the array logically follows the last elements
child
circular queue
simple data type
ontology
48. Describes a function that makes a new data structure but does not modify its arguments
dereference
stack
constructive
binary search tree (bst)
49. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
filter
side-effect
entinel
interior node
50. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
union
state
data structure
depth