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. An extra record at the start or end of a data structure such as a linked list - to simplify processing
fair
branching factor
garbage collection
entinel
2. A contiguous block of memory containing elements of the same type - accessed by numeric index
array
preorder
stack frame
design pattern
3. A variable containing the address of other data
preorder
complex data type
pointer
null dereference
4. A node of a tree that has children
sort
dictionary
interior node
intractable
5. To hide similar items with the same name
shadow
garbage collection
stack space
scope
6. A list of pairs - where each pair has a key and a value associated with the key
data type
type
association list
simple data type
7. A collection of objects that are inserted and removed according to the LIFO principle
recursion
algorithm
stack
depth
8. An order of processing a tree in which the parent node is processed after its children
stack
descendants
postorder
leaf
9. A runtime error that occurs when an operation such as method call is attempted on a null pointer
structure sharing
null dereference
amortized Analysis
complex ADT
10. 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
binary search tree (bst)
alias
parent
11. A description of operations on a data type that could have multiple possible implementations
abstract data type
divide and conquer
pointer
amortized Analysis
12. First-child/next-sibling
data type
random access
fair
procedural abstraction
13. Describes a function that makes a new data structure but does not modify its arguments
child
constructive
cons
ontology
14. A collection of values
operator
well-founded ordering xml
type
interior node
15. A case where tow data structures share some elements
structure sharing
union
simple data type
stack frame
16. The top node of a tree - from which all other nodes can be reached
sort
preorder
quadratic
root
17. A sequence of records - where each record contains a link to the next one
child
garbage
type
linked list
18. A problem that is so hard that it cannot be solved unless the problem is small
garbage collection
stack
intractable
depth-first search
19. In a tree - the union of a node's parent and the parent's ancestors
array
postorder
ancestors
design pattern
20. In a tree - a node that points to a given node
pointer
base case
fifo
parent
21. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
gedanken
runtime stack
binary tree
22. A case where a program calls itself
depth-first search
sort
successor
recursion
23. The number of links between the root of a tree and the leaves
scope
design pattern
depth
operator
24. Constructed of multiple components (simple or complex types)
goal
complex data type
data type
merge
25. 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
garbage
binary tree
well-founded ordering xml
divide and conquer
26. Last in first out: describes the order of a stack
boxed number
LIFO
filter
scope
27. A queue implemented within an array - where the first elements of the array logically follows the last elements
cons
depth
circular queue
depth-first search
28. Two variables that reference the same object
interior node
alias
sort
gedanken
29. A simple case that can be solved easily - without recursion
set difference
child
base case
descendants
30. A classification of objects into a tree structure that groups related objects
goal
stack
node
taxonomy
31. Container for storing a collection of data in unique key/value pairs
linear O(n)
quadratic
runtime stack
dictionary
32. 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
data structure
postorder
big o
binary search tree (bst)
33. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
LIFO
DFS
filter
well-founded ordering xml
34. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
scope
ancestors
recursive case
35. Any container with linear ordering
general list
grammar
boxed number
parent
36. A pointer to the next element in a linked list
recursion
sort
binary search tree (bst)
link
37. Describes a function that modifies its arguments
immutable
search
destructive
DFS
38. A given collection of values along with a collection of operations for use on those values
parent
doubly linked list
tail recursive
data type
39. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
linked list
depth
array
sort
40. Given two sets - the intersection is the set of elements that are members of both sets
simple ADT
scope
postorder
intersection
41. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
dictionary
garbage collection
structure sharing
42. 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
entinel
filter
association list
branching factor
43. First in first out: describes ordering of a queue
root
amortized Analysis
general list
fifo
44. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
garbage collection
data structure
postorder
45. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
divide and conquer
doubly linked list
scope
random access
46. Composed of multiple sequential elements stored in contiguous bytes of memory
array
dictionary
complex data type
cons
47. In object oriented programming - a description of a set of similar objects
class
link
tail recursive
divide and conquer
48. A section of the runtime stack holding the values of all variables for one invocation
LIFO
stack frame
garbage
quadratic
49. A problem whose solution requires a linear amount of time or space if the problem is size n
boxed number
goal
linear O(n)
data abstraction
50. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
successor
scope
cons