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 function whose value either does not involve a recursive call - or is exactly the value of a recursive call
data structure
ontology
tail recursive
queue
2. An item (or description of items) being sough in a search
queue
stack frame
goal
intractable
3. A runtime error that occurs when an operation such as method call is attempted on a null pointer
well-founded ordering xml
ancestors
fair
null dereference
4. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
gedanken
immutable
algorithm
search
5. Composed of a collection of data values; implemented with a data structure
interior node
backtrack
structure sharing
complex ADT
6. A search in which children of a node are considered before siblings are considered
depth-first search
alias
structure sharing
stack space
7. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
leaf
quadratic
well-founded ordering xml
constructive
8. A condition of the input data where the data will be handled by call(s) to the same program
intractable
reference type
recursive case
data type
9. The next element in a linked list
alias
dictionary
successor
merge
10. A sequence of records - where each record contains a link to the next one
dereference
linked list
data abstraction
node
11. 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
descendants
shadow
binary tree
fifo
12. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
depth
side-effect
queue
binary search tree (bst)
13. A classification of objects into a tree structure that groups related objects
base case
recursion
taxonomy
type
14. In a tree - a node that points to a given node
operator
parent
circular queue
recursive case
15. To look through a data structure until a goal object is found
taxonomy
search
linear O(n)
circularly linked list
16. 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
dictionary
reference type
dereference
stack
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?"
random access
type
grammar
amortized Analysis
18. An order of processing a tree in which the parent node is processed after its children
linked list
procedural abstraction
postorder
pointer
19. First-child/next-sibling
link
fair
merge
intractable
20. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
doubly linked list
well-founded ordering xml
scope
grammar
21. A tree node containing a contents value but with no children
taxonomy
merge
descendants
leaf
22. Describes a function that makes a new data structure but does not modify its arguments
constructive
runtime stack
inorder
depth-first search
23. An extra record at the start or end of a data structure such as a linked list - to simplify processing
binary search tree (bst)
entinel
shadow
object
24. Separation of the properties of a data type from its implementation
structure sharing
queue
grammar
data abstraction
25. A queue implemented within an array - where the first elements of the array logically follows the last elements
association list
general list
circular queue
link
26. A problem whose solution requires a linear amount of time or space if the problem is size n
linear O(n)
stack space
preorder
doubly linked list
27. Values are in the most basic form and cannot be decomposed into smaller parts
link
simple data type
algorithm
fifo
28. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
algorithm
filter
grammar
set difference
29. A collection of objects that are inserted and removed according to the LIFO principle
node
garbage collection
destructive
stack
30. The amount of space on the runtime stack required for execution of a program
descendants
intractable
stack space
recursion
31. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
array
data structure
null dereference
design pattern
32. 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
ontology
big o
stack frame
descendants
33. A given collection of values along with a collection of operations for use on those values
union
inorder
ancestors
data type
34. A data structure that can be identified at runtime as being a member of a class
cons
object
linked list
complex ADT
35. In a tree search - to move back from the node currently being examined to its parent
branching factor
reference type
stack space
backtrack
36. Composed of multiple sequential elements stored in contiguous bytes of memory
array
reference type
side-effect
depth
37. 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
cons
taxonomy
gedanken
design pattern
38. A simple case that can be solved easily - without recursion
structure sharing
intersection
base case
general list
39. To hide similar items with the same name
complex data type
class
shadow
entinel
40. The area of program text over which a variable can be referenced
algorithm
base case
well-founded ordering xml
scope
41. A stack containing a stack frame of variable value for each active invocation of procedure
simple data type
union
binary tree
runtime stack
42. First in first out: describes ordering of a queue
general list
fifo
circular queue
depth-first search
43. A pattern that describes a set of similar programs
stack space
design pattern
intersection
fifo
44. Given two sets - the intersection is the set of elements that are members of both sets
garbage
simple data type
intersection
leaf
45. A description of operations on a data type that could have multiple possible implementations
abstract data type
operator
doubly linked list
ontology
46. Container for storing a collection of data in unique key/value pairs
binary search tree (bst)
depth-first search
dictionary
filter
47. A collection of values
backtrack
inorder
type
binary search tree (bst)
48. Two variables that reference the same object
goal
shadow
alias
taxonomy
49. The process of collecting garbage for recycling
big o
depth
garbage collection
depth-first search
50. To convert from a pointer to the data that is pointed to
well-founded ordering xml
child
dereference
amortized Analysis