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 pattern that describes a set of similar programs
design pattern
type
array
garbage
2. Depth first search
DFS
root
dictionary
array
3. A stack containing a stack frame of variable value for each active invocation of procedure
goal
dereference
runtime stack
parent
4. Composed of a collection of data values; implemented with a data structure
recursion
complex ADT
stack frame
well-founded ordering xml
5. A linked list in which each elements has both forward and backward pointers
doubly linked list
ontology
ancestors
successor
6. In a tree - a node that points to a given node
parent
big o
state
intractable
7. An elements of a linked list - tree - or graph - often represented by a data structure
runtime stack
merge
node
grammar
8. A collection of values
parent
type
array
leaf
9. A pointer to data
divide and conquer
tail recursive
shadow
reference
10. A variable containing the address of other data
destructive
pointer
circular queue
fair
11. An item (or description of items) being sough in a search
goal
filter
constructive
array
12. A case where tow data structures share some elements
divide and conquer
type
tail recursive
structure sharing
13. A process that removes unwanted elements from a collection
procedural abstraction
DFS
filter
stack
14. A list of pairs - where each pair has a key and a value associated with the key
intractable
complex data type
association list
preorder
15. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
quadratic
ancestors
merge
shadow
16. A classification of objects into a tree structure that groups related objects
inorder
design pattern
taxonomy
runtime stack
17. A search in which children of a node are considered before siblings are considered
depth-first search
pointer
circularly linked list
divide and conquer
18. 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
linear O(n)
node
design pattern
reference type
19. Describes a data structure or device in which all accesses have the same cost - O(1)
child
binary search tree (bst)
base case
random access
20. A given collection of values along with a collection of operations for use on those values
shadow
interior node
data type
well-founded ordering xml
21. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
filter
reference
fifo
sort
22. Describes a function that makes a new data structure but does not modify its arguments
cons
interior node
union
constructive
23. A problem that is so hard that it cannot be solved unless the problem is small
association list
intractable
depth-first search
null dereference
24. Composed of individually named data fields
recursive case
preorder
complex ADT
simple ADT
25. 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
association list
object
binary search tree (bst)
class
26. A condition of the input data where the data will be handled by call(s) to the same program
general list
recursive case
fair
boxed number
27. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
root
queue
divide and conquer
linked list
28. The amount of space on the runtime stack required for execution of a program
branching factor
stack space
fair
runtime stack
29. 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
LIFO
operator
fifo
cons
30. A description of operations on a data type that could have multiple possible implementations
general list
immutable
boxed number
abstract data type
31. To look through a data structure until a goal object is found
search
well-founded ordering xml
successor
reference type
32. A collection of objects that are inserted and removed according to the LIFO principle
stack
destructive
circularly linked list
null dereference
33. An order of processing a tree in which the parent node is processed after its children
goal
postorder
random access
queue
34. storage that is no longer pointed to by any variable and therefore can no longer be accessed
queue
linked list
divide and conquer
garbage
35. The area of program text over which a variable can be referenced
LIFO
merge
scope
goal
36. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
linked list
design pattern
base case
data structure
37. Separation of the properties of a data type from its implementation
garbage collection
constructive
data abstraction
procedural abstraction
38. In a tree - the union of a node's parent and the parent's ancestors
ancestors
search
depth
interior node
39. Given two sets - the intersection is the set of elements that are members of both sets
dictionary
inorder
reference type
intersection
40. The number of links between the root of a tree and the leaves
depth
immutable
destructive
goal
41. The top node of a tree - from which all other nodes can be reached
child
array
root
runtime stack
42. To convert from a pointer to the data that is pointed to
null dereference
stack frame
intractable
dereference
43. In object oriented programming - a description of a set of similar objects
structure sharing
taxonomy
class
fifo
44. A tree node containing a contents value but with no children
runtime stack
depth-first search
alias
leaf
45. A description of the state of a process such as a board game
state
recursive case
binary search tree (bst)
general list
46. A pointer to the next element in a linked list
grammar
stack space
link
reference type
47. A contiguous block of memory containing elements of the same type - accessed by numeric index
ontology
side-effect
null dereference
array
48. The next element in a linked list
well-founded ordering xml
destructive
dereference
successor
49. An order of processing a tree in which the parent node is processed in between its children
recursion
intractable
entinel
inorder
50. A case where a program calls itself
DFS
amortized Analysis
recursion
runtime stack