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 condition of the input data where the data will be handled by call(s) to the same program
recursive case
circularly linked list
state
class
2. Last in first out: describes the order of a stack
LIFO
simple ADT
array
class
3. A classification of objects into a tree structure that groups related objects
inorder
ancestors
taxonomy
abstract data type
4. A queue implemented within an array - where the first elements of the array logically follows the last elements
linked list
circular queue
sort
reference type
5. A node of a tree that has children
stack
interior node
fair
data abstraction
6. A description of operations on a data type that could have multiple possible implementations
child
algorithm
union
abstract data type
7. 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
quadratic
cons
root
general list
8. Values are in the most basic form and cannot be decomposed into smaller parts
depth-first search
fair
simple data type
amortized Analysis
9. Depth first search
class
constructive
ancestors
DFS
10. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
fifo
parent
backtrack
11. In object oriented programming - a description of a set of similar objects
class
dereference
inorder
sort
12. To look through a data structure until a goal object is found
sort
gedanken
search
array
13. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
class
object
grammar
binary search tree (bst)
14. To convert from a pointer to the data that is pointed to
random access
algorithm
amortized Analysis
dereference
15. A data structure that can be identified at runtime as being a member of a class
object
shadow
amortized Analysis
search
16. A list of pairs - where each pair has a key and a value associated with the key
entinel
dictionary
association list
amortized Analysis
17. The process of collecting garbage for recycling
shadow
garbage collection
circularly linked list
general list
18. Composed of multiple sequential elements stored in contiguous bytes of memory
intractable
array
root
shadow
19. Composed of a collection of data values; implemented with a data structure
circular queue
root
complex ADT
garbage
20. In a tree - the union of a node's parent and the parent's ancestors
object
scope
ancestors
garbage
21. In a tree - a node that points to a given node
cons
parent
intersection
data abstraction
22. 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
boxed number
set difference
big o
binary tree
23. In a tree search - to move back from the node currently being examined to its parent
backtrack
association list
algorithm
stack space
24. A contiguous block of memory containing elements of the same type - accessed by numeric index
array
tail recursive
LIFO
successor
25. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
link
queue
quadratic
circular queue
26. A stack containing a stack frame of variable value for each active invocation of procedure
linked list
recursive case
link
runtime stack
27. Given two sets -the union is the set of elements that are members of either set
goal
search
boxed number
union
28. A problem whose solution requires a linear amount of time or space if the problem is size n
base case
linear O(n)
amortized Analysis
branching factor
29. The number of links between the root of a tree and the leaves
intersection
doubly linked list
root
depth
30. An order of processing a tree in which the parent node is processed after its children
postorder
branching factor
quadratic
ancestors
31. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
linked list
ontology
data type
base case
32. The next element in a linked list
successor
scope
null dereference
intersection
33. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
procedural abstraction
type
search
queue
34. To combine two ordered linear structures into one
dereference
merge
goal
runtime stack
35. An elements of a linked list - tree - or graph - often represented by a data structure
state
big o
node
sort
36. Describes a data structure or device in which all accesses have the same cost - O(1)
side-effect
search
random access
general list
37. Separation of the properties of a data type from its implementation
data abstraction
operator
backtrack
merge
38. Use of a function or method without knowing how it's accomplished
data type
procedural abstraction
merge
preorder
39. An abstracted function that describes the amount of computer time or memory space required by an algorithm - as a function of problem size. for problems larger than a certain size - the actual time or space required will be less than the Big O multip
inorder
grammar
big o
binary tree
40. A sequence of records - where each record contains a link to the next one
destructive
scope
ontology
linked list
41. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
array
complex ADT
divide and conquer
cons
42. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
child
recursion
branching factor
43. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
algorithm
leaf
depth-first search
44. A simple case that can be solved easily - without recursion
search
operator
stack space
base case
45. A case where a program calls itself
gedanken
recursion
garbage collection
doubly linked list
46. Describes a though experiment or view of an entity
general list
gedanken
simple ADT
cons
47. Describes a function that modifies its arguments
pointer
immutable
destructive
scope
48. The top node of a tree - from which all other nodes can be reached
root
LIFO
general list
reference type
49. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
tail recursive
binary tree
complex data type
well-founded ordering xml
50. Constructed of multiple components (simple or complex types)
type
branching factor
random access
complex data type