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 queue implemented within an array - where the first elements of the array logically follows the last elements
quadratic
garbage collection
circular queue
gedanken
2. Composed of multiple sequential elements stored in contiguous bytes of memory
circular queue
object
array
algorithm
3. Constructed of multiple components (simple or complex types)
node
intersection
type
complex data type
4. A collection of values
type
child
fair
null dereference
5. A problem whose solution requires a linear amount of time or space if the problem is size n
simple ADT
linear O(n)
leaf
scope
6. A node of a tree that has children
complex data type
interior node
random access
alias
7. In a tree - the union of a node's parent and the parent's ancestors
search
ancestors
depth-first search
constructive
8. The number of links between the root of a tree and the leaves
depth
stack frame
runtime stack
merge
9. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
taxonomy
sort
LIFO
set difference
10. An item (or description of items) being sough in a search
binary tree
goal
constructive
type
11. A given collection of values along with a collection of operations for use on those values
simple data type
goal
recursion
data type
12. A process that removes unwanted elements from a collection
complex data type
LIFO
filter
alias
13. A case where a program calls itself
linear O(n)
recursion
reference
ancestors
14. An order of processing a tree in which the parent node is processed in between its children
recursion
inorder
backtrack
garbage collection
15. Composed of individually named data fields
object
intractable
recursive case
simple ADT
16. Given two sets - the intersection is the set of elements that are members of both sets
intersection
null dereference
sort
array
17. 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
immutable
association list
data type
boxed number
18. A variable containing the address of other data
pointer
binary tree
runtime stack
abstract data type
19. A simple case that can be solved easily - without recursion
operator
quadratic
base case
interior node
20. A collection of objects that are inserted and removed according to the LIFO principle
set difference
garbage collection
inorder
stack
21. A linked list in which the last element points back to the first element
circularly linked list
leaf
tail recursive
filter
22. First-child/next-sibling
object
filter
entinel
fair
23. Separation of the properties of a data type from its implementation
stack frame
branching factor
design pattern
data abstraction
24. The next element in a linked list
successor
simple ADT
data structure
union
25. The amount of space on the runtime stack required for execution of a program
alias
data type
stack space
postorder
26. To convert from a pointer to the data that is pointed to
parent
dereference
association list
successor
27. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
cons
child
fifo
ontology
28. First in first out: describes ordering of a queue
fifo
circular queue
dereference
object
29. 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
design pattern
stack
binary tree
side-effect
30. A classification of objects into a tree structure that groups related objects
taxonomy
link
stack
scope
31. A condition of the input data where the data will be handled by call(s) to the same program
recursive case
union
boxed number
descendants
32. 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
fifo
branching factor
ontology
constructive
33. Describes a data structure or device in which all accesses have the same cost - O(1)
recursive case
random access
leaf
divide and conquer
34. Two variables that reference the same object
random access
array
alias
shadow
35. storage that is no longer pointed to by any variable and therefore can no longer be accessed
operator
dictionary
garbage
algorithm
36. To hide similar items with the same name
shadow
search
ancestors
intersection
37. Values are in the most basic form and cannot be decomposed into smaller parts
inorder
simple data type
reference
sort
38. Use of a function or method without knowing how it's accomplished
procedural abstraction
design pattern
successor
destructive
39. An order of processing a tree in which the parent node is processed after its children
postorder
side-effect
scope
algorithm
40. A contiguous block of memory containing elements of the same type - accessed by numeric index
reference type
simple data type
link
array
41. Depth first search
constructive
DFS
descendants
design pattern
42. A sequence of records - where each record contains a link to the next one
branching factor
quadratic
queue
linked list
43. A problem that is so hard that it cannot be solved unless the problem is small
intractable
abstract data type
quadratic
stack frame
44. Container for storing a collection of data in unique key/value pairs
linked list
grammar
runtime stack
dictionary
45. In a tree search - to move back from the node currently being examined to its parent
goal
interior node
LIFO
backtrack
46. Any container with linear ordering
general list
quadratic
branching factor
binary tree
47. An extra record at the start or end of a data structure such as a linked list - to simplify processing
linear O(n)
entinel
runtime stack
grammar
48. The area of program text over which a variable can be referenced
stack frame
circular queue
branching factor
scope
49. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
child
constructive
amortized Analysis
50. A tree node containing a contents value but with no children
backtrack
intractable
union
leaf