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. A pointer to the next element in a linked list
association list
taxonomy
operator
link
2. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
taxonomy
state
stack space
3. A case where tow data structures share some elements
well-founded ordering xml
structure sharing
pointer
interior node
4. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
base case
structure sharing
root
5. A problem that is so hard that it cannot be solved unless the problem is small
data structure
intractable
operator
structure sharing
6. In a tree - a node that points to a given node
parent
depth
intractable
search
7. A description of the state of a process such as a board game
depth-first search
union
state
stack space
8. A simple case that can be solved easily - without recursion
array
taxonomy
linked list
base case
9. A tree node containing a contents value but with no children
leaf
binary search tree (bst)
queue
linked list
10. A runtime error that occurs when an operation such as method call is attempted on a null pointer
design pattern
branching factor
sort
null dereference
11. Container for storing a collection of data in unique key/value pairs
quadratic
dictionary
base case
garbage
12. A data structure that can be identified at runtime as being a member of a class
leaf
object
taxonomy
descendants
13. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
garbage collection
entinel
boxed number
14. A collection of objects that are inserted and removed according to the LIFO principle
array
shadow
stack
immutable
15. To look through a data structure until a goal object is found
complex ADT
procedural abstraction
search
doubly linked list
16. A node of a tree that has children
interior node
random access
branching factor
reference
17. 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?"
postorder
ancestors
array
amortized Analysis
18. Last in first out: describes the order of a stack
taxonomy
leaf
shadow
LIFO
19. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
constructive
ontology
sort
inorder
20. A variable containing the address of other data
linked list
set difference
pointer
linear O(n)
21. Two variables that reference the same object
data type
entinel
sort
alias
22. To combine two ordered linear structures into one
garbage
union
class
merge
23. Given two sets -the union is the set of elements that are members of either set
node
data type
side-effect
union
24. 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
alias
merge
reference type
binary search tree (bst)
25. The amount of space on the runtime stack required for execution of a program
stack space
data type
postorder
constructive
26. 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
data type
fair
amortized Analysis
27. A linked list in which the last element points back to the first element
circularly linked list
abstract data type
base case
dictionary
28. A condition of the input data where the data will be handled by call(s) to the same program
type
binary tree
recursive case
constructive
29. Composed of multiple sequential elements stored in contiguous bytes of memory
side-effect
data abstraction
array
ancestors
30. Describes a function that modifies its arguments
quadratic
algorithm
merge
destructive
31. Describes a function that makes a new data structure but does not modify its arguments
pointer
constructive
interior node
union
32. 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
stack frame
base case
association list
reference type
33. A stack containing a stack frame of variable value for each active invocation of procedure
gedanken
parent
set difference
runtime stack
34. Composed of a collection of data values; implemented with a data structure
doubly linked list
state
filter
complex ADT
35. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
complex ADT
backtrack
queue
tail recursive
36. Constructed of multiple components (simple or complex types)
gedanken
tail recursive
root
complex data type
37. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
simple data type
set difference
amortized Analysis
shadow
38. A contiguous block of memory containing elements of the same type - accessed by numeric index
data abstraction
operator
depth
array
39. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
linear O(n)
goal
successor
40. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
linked list
immutable
general list
intractable
41. Any container with linear ordering
grammar
doubly linked list
intersection
general list
42. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
type
stack
quadratic
root
43. Separation of the properties of a data type from its implementation
backtrack
intractable
data abstraction
recursive case
44. An extra record at the start or end of a data structure such as a linked list - to simplify processing
depth
dereference
entinel
alias
45. First in first out: describes ordering of a queue
depth-first search
immutable
merge
fifo
46. Describes a data structure or device in which all accesses have the same cost - O(1)
binary search tree (bst)
association list
node
random access
47. 1. In lisp - the function that constructs a pair of points - or basic elements of list structure. 2. To make a cons data structure 2. a cons data structure
array
cons
data structure
doubly linked list
48. The area of program text over which a variable can be referenced
scope
boxed number
dictionary
interior node
49. A process that removes unwanted elements from a collection
operator
filter
search
design pattern
50. An order of processing a tree in which the parent node is processed after its children
object
reference
depth-first search
postorder