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. First in first out: describes ordering of a queue
garbage
constructive
alias
fifo
2. Given two sets -the union is the set of elements that are members of either set
complex ADT
union
data structure
operator
3. First-child/next-sibling
fair
taxonomy
grammar
reference type
4. storage that is no longer pointed to by any variable and therefore can no longer be accessed
state
design pattern
garbage
type
5. A sequence of records - where each record contains a link to the next one
dereference
reference type
class
linked list
6. To convert from a pointer to the data that is pointed to
queue
dereference
type
DFS
7. Describes a function that makes a new data structure but does not modify its arguments
constructive
LIFO
divide and conquer
data type
8. Describes a function that modifies its arguments
scope
design pattern
depth
destructive
9. A search in which children of a node are considered before siblings are considered
depth-first search
taxonomy
depth
recursion
10. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
inorder
pointer
scope
11. The next element in a linked list
descendants
binary tree
successor
procedural abstraction
12. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
dictionary
general list
linear O(n)
13. Two variables that reference the same object
backtrack
alias
simple data type
binary tree
14. A variable containing the address of other data
entinel
taxonomy
pointer
branching factor
15. A runtime error that occurs when an operation such as method call is attempted on a null pointer
data abstraction
null dereference
quadratic
scope
16. Describes a data structure or device in which all accesses have the same cost - O(1)
data abstraction
entinel
search
random access
17. 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
branching factor
binary search tree (bst)
type
class
18. A case where tow data structures share some elements
random access
link
quadratic
structure sharing
19. An elements of a linked list - tree - or graph - often represented by a data structure
goal
search
complex data type
node
20. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
leaf
algorithm
garbage collection
immutable
21. A simple case that can be solved easily - without recursion
reference
base case
runtime stack
divide and conquer
22. A description of the state of a process such as a board game
state
class
divide and conquer
leaf
23. A stack containing a stack frame of variable value for each active invocation of procedure
complex ADT
runtime stack
fair
simple data type
24. A classification of objects into a tree structure that groups related objects
branching factor
stack space
taxonomy
data type
25. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
goal
big o
immutable
merge
26. Describes a though experiment or view of an entity
reference
gedanken
array
stack frame
27. A list of pairs - where each pair has a key and a value associated with the key
association list
dictionary
recursion
intersection
28. Depth first search
inorder
recursive case
DFS
stack space
29. To hide similar items with the same name
side-effect
depth
shadow
garbage collection
30. 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
big o
postorder
algorithm
object
31. An item (or description of items) being sough in a search
amortized Analysis
backtrack
goal
procedural abstraction
32. Any container with linear ordering
base case
linear O(n)
state
general list
33. An extra record at the start or end of a data structure such as a linked list - to simplify processing
entinel
preorder
random access
general list
34. In a tree - a node pointed to by a parent node
child
data structure
complex ADT
destructive
35. An order of processing a tree in which the parent node is processed before its children
LIFO
preorder
tail recursive
parent
36. Composed of multiple sequential elements stored in contiguous bytes of memory
recursion
fifo
array
stack space
37. The process of collecting garbage for recycling
data structure
big o
dictionary
garbage collection
38. A collection of values
recursion
divide and conquer
type
data structure
39. A description of operations on a data type that could have multiple possible implementations
abstract data type
sort
reference
type
40. An order of processing a tree in which the parent node is processed in between its children
garbage collection
merge
tail recursive
inorder
41. The number of links between the root of a tree and the leaves
taxonomy
inorder
link
depth
42. An order of processing a tree in which the parent node is processed after its children
base case
data abstraction
postorder
destructive
43. A given collection of values along with a collection of operations for use on those values
data abstraction
procedural abstraction
linked list
data type
44. 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
recursive case
amortized Analysis
gedanken
binary search tree (bst)
45. A pattern that describes a set of similar programs
operator
type
leaf
design pattern
46. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
data structure
circularly linked list
well-founded ordering xml
array
47. A linked list in which each elements has both forward and backward pointers
linked list
linear O(n)
data structure
doubly linked list
48. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
data structure
merge
descendants
tail recursive
49. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
descendants
backtrack
node
data structure
50. In object oriented programming - a description of a set of similar objects
filter
search
class
root