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. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
class
depth-first search
well-founded ordering xml
complex ADT
2. A problem that is so hard that it cannot be solved unless the problem is small
reference
intractable
doubly linked list
circular queue
3. 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
binary search tree (bst)
garbage
linked list
tail recursive
4. Given two sets - the intersection is the set of elements that are members of both sets
link
data structure
intersection
queue
5. 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
linear O(n)
root
linked list
branching factor
6. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
general list
scope
data structure
7. A case where a program calls itself
base case
root
goal
recursion
8. A collection of values
shadow
ancestors
type
entinel
9. A description of the state of a process such as a board game
parent
divide and conquer
filter
state
10. A node of a tree that has children
interior node
depth-first search
reference type
divide and conquer
11. 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
successor
gedanken
depth
cons
12. Two variables that reference the same object
recursion
interior node
alias
merge
13. Last in first out: describes the order of a stack
successor
structure sharing
random access
LIFO
14. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
cons
binary search tree (bst)
complex ADT
15. In object oriented programming - a description of a set of similar objects
class
filter
backtrack
grammar
16. The next element in a linked list
simple data type
complex data type
search
successor
17. The number of links between the root of a tree and the leaves
stack
union
depth
goal
18. A runtime error that occurs when an operation such as method call is attempted on a null pointer
shadow
null dereference
gedanken
reference
19. To convert from a pointer to the data that is pointed to
constructive
structure sharing
queue
dereference
20. An order of processing a tree in which the parent node is processed after its children
goal
postorder
base case
pointer
21. A linked list in which the last element points back to the first element
circularly linked list
fifo
taxonomy
stack space
22. An order of processing a tree in which the parent node is processed in between its children
procedural abstraction
inorder
alias
sort
23. A linked list in which each elements has both forward and backward pointers
doubly linked list
dictionary
association list
parent
24. Composed of multiple sequential elements stored in contiguous bytes of memory
array
data abstraction
algorithm
LIFO
25. Any container with linear ordering
child
general list
link
simple ADT
26. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
amortized Analysis
postorder
complex ADT
27. 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
state
inorder
linear O(n)
28. 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?"
queue
amortized Analysis
parent
intractable
29. Depth first search
class
DFS
backtrack
side-effect
30. An item (or description of items) being sough in a search
goal
ancestors
reference
search
31. In a search tree - a program that changes a state into a child state e.g a move in a game
parent
interior node
successor
operator
32. A data structure that can be identified at runtime as being a member of a class
stack space
preorder
object
garbage
33. A description of operations on a data type that could have multiple possible implementations
abstract data type
merge
operator
simple data type
34. An extra record at the start or end of a data structure such as a linked list - to simplify processing
reference
entinel
immutable
circular queue
35. Describes a function that modifies its arguments
destructive
garbage
array
boxed number
36. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
backtrack
branching factor
class
37. All nodes below a give node in a tree
descendants
immutable
stack space
root
38. The process of collecting garbage for recycling
dictionary
garbage collection
random access
inorder
39. A contiguous block of memory containing elements of the same type - accessed by numeric index
array
depth-first search
type
algorithm
40. 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
simple ADT
binary tree
queue
big o
41. The amount of space on the runtime stack required for execution of a program
stack space
goal
amortized Analysis
set difference
42. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
garbage
algorithm
simple ADT
queue
43. A simple case that can be solved easily - without recursion
gedanken
data type
queue
base case
44. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
type
procedural abstraction
LIFO
45. storage that is no longer pointed to by any variable and therefore can no longer be accessed
intersection
garbage
type
fair
46. In a tree search - to move back from the node currently being examined to its parent
backtrack
depth
queue
reference type
47. First-child/next-sibling
stack space
intractable
search
fair
48. A pattern that describes a set of similar programs
reference type
immutable
design pattern
fifo
49. A sequence of records - where each record contains a link to the next one
set difference
garbage collection
array
linked list
50. Describes a function that makes a new data structure but does not modify its arguments
procedural abstraction
class
constructive
DFS