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. Describes a function that makes a new data structure but does not modify its arguments
successor
constructive
complex ADT
fair
2. 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
well-founded ordering xml
binary search tree (bst)
recursive case
backtrack
3. A description of operations on a data type that could have multiple possible implementations
dereference
abstract data type
immutable
backtrack
4. A contiguous block of memory containing elements of the same type - accessed by numeric index
immutable
array
LIFO
dictionary
5. A tree node containing a contents value but with no children
leaf
array
side-effect
circularly linked list
6. A description of the state of a process such as a board game
state
entinel
operator
data type
7. Composed of multiple sequential elements stored in contiguous bytes of memory
data structure
array
union
grammar
8. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
union
set difference
leaf
object
9. A linked list in which the last element points back to the first element
side-effect
object
big o
circularly linked list
10. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
big o
queue
quadratic
cons
11. Given two sets - the intersection is the set of elements that are members of both sets
leaf
sort
abstract data type
intersection
12. An order of processing a tree in which the parent node is processed in between its children
parent
big o
entinel
inorder
13. First-child/next-sibling
data type
ontology
taxonomy
fair
14. To convert from a pointer to the data that is pointed to
destructive
runtime stack
reference type
dereference
15. A collection of values
binary tree
type
search
amortized Analysis
16. An elements of a linked list - tree - or graph - often represented by a data structure
algorithm
node
design pattern
link
17. An extra record at the start or end of a data structure such as a linked list - to simplify processing
DFS
entinel
operator
array
18. Depth first search
inorder
backtrack
entinel
DFS
19. A linked list in which each elements has both forward and backward pointers
doubly linked list
cons
ancestors
simple ADT
20. The top node of a tree - from which all other nodes can be reached
circularly linked list
binary tree
root
intractable
21. A classification of objects into a tree structure that groups related objects
filter
taxonomy
abstract data type
well-founded ordering xml
22. A pointer to the next element in a linked list
link
array
runtime stack
parent
23. A section of the runtime stack holding the values of all variables for one invocation
stack frame
taxonomy
search
sort
24. Use of a function or method without knowing how it's accomplished
procedural abstraction
random access
ancestors
union
25. To combine two ordered linear structures into one
circularly linked list
preorder
structure sharing
merge
26. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
procedural abstraction
grammar
state
algorithm
27. Values are in the most basic form and cannot be decomposed into smaller parts
array
simple data type
base case
runtime stack
28. A data structure that can be identified at runtime as being a member of a class
DFS
object
interior node
preorder
29. The area of program text over which a variable can be referenced
immutable
interior node
leaf
scope
30. First in first out: describes ordering of a queue
simple data type
fifo
binary search tree (bst)
DFS
31. The amount of space on the runtime stack required for execution of a program
scope
search
stack space
stack frame
32. A given collection of values along with a collection of operations for use on those values
data type
stack
leaf
reference
33. A pattern that describes a set of similar programs
node
design pattern
descendants
quadratic
34. A problem whose solution requires a linear amount of time or space if the problem is size n
entinel
queue
data type
linear O(n)
35. The next element in a linked list
leaf
successor
design pattern
constructive
36. A search in which children of a node are considered before siblings are considered
structure sharing
circular queue
depth-first search
type
37. A process that removes unwanted elements from a collection
general list
pointer
linear O(n)
filter
38. A case where tow data structures share some elements
operator
binary search tree (bst)
general list
structure sharing
39. A simple case that can be solved easily - without recursion
binary tree
base case
array
stack
40. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
complex ADT
descendants
circular queue
41. In a search tree - a program that changes a state into a child state e.g a move in a game
operator
structure sharing
leaf
branching factor
42. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
random access
amortized Analysis
quadratic
circularly linked list
43. Any container with linear ordering
general list
search
garbage collection
taxonomy
44. A variable containing the address of other data
design pattern
fair
pointer
sort
45. To look through a data structure until a goal object is found
reference
binary search tree (bst)
entinel
search
46. An order of processing a tree in which the parent node is processed after its children
garbage
dictionary
postorder
successor
47. Describes a function that modifies its arguments
scope
dereference
stack frame
destructive
48. The process of collecting garbage for recycling
alias
garbage collection
set difference
search
49. In a tree - the union of a node's parent and the parent's ancestors
pointer
ancestors
fair
merge
50. 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
simple ADT
fifo
cons
merge