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. To convert from a pointer to the data that is pointed to
gedanken
dereference
dictionary
binary search tree (bst)
2. An extra record at the start or end of a data structure such as a linked list - to simplify processing
filter
entinel
set difference
random access
3. A contiguous block of memory containing elements of the same type - accessed by numeric index
array
shadow
data abstraction
destructive
4. The top node of a tree - from which all other nodes can be reached
cons
runtime stack
garbage
root
5. 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
boxed number
entinel
amortized Analysis
reference type
6. The amount of space on the runtime stack required for execution of a program
queue
backtrack
stack space
sort
7. A list of pairs - where each pair has a key and a value associated with the key
tail recursive
association list
backtrack
root
8. A problem whose solution requires a linear amount of time or space if the problem is size n
set difference
complex data type
linear O(n)
random access
9. A tree node containing a contents value but with no children
inorder
recursion
leaf
union
10. A simple case that can be solved easily - without recursion
shadow
base case
side-effect
postorder
11. First-child/next-sibling
fair
leaf
array
pointer
12. A pointer to data
entinel
reference
general list
base case
13. The process of collecting garbage for recycling
general list
operator
garbage collection
entinel
14. Use of a function or method without knowing how it's accomplished
boxed number
procedural abstraction
garbage
general list
15. Describes a function that makes a new data structure but does not modify its arguments
constructive
link
fifo
simple data type
16. In object oriented programming - a description of a set of similar objects
union
class
garbage collection
binary tree
17. Container for storing a collection of data in unique key/value pairs
linear O(n)
dictionary
design pattern
array
18. A condition of the input data where the data will be handled by call(s) to the same program
alias
recursive case
dictionary
data type
19. Composed of multiple sequential elements stored in contiguous bytes of memory
ancestors
garbage
random access
array
20. A collection of objects that are inserted and removed according to the LIFO principle
descendants
stack
stack frame
structure sharing
21. A classification of objects into a tree structure that groups related objects
taxonomy
parent
queue
data abstraction
22. An order of processing a tree in which the parent node is processed before its children
link
preorder
linear O(n)
divide and conquer
23. To combine two ordered linear structures into one
simple ADT
merge
random access
class
24. A data structure that can be identified at runtime as being a member of a class
well-founded ordering xml
object
scope
search
25. Any container with linear ordering
data type
tail recursive
general list
scope
26. To look through a data structure until a goal object is found
gedanken
search
preorder
interior node
27. Describes a function that modifies its arguments
dictionary
data type
complex ADT
destructive
28. 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
side-effect
boxed number
runtime stack
array
29. In a tree search - to move back from the node currently being examined to its parent
class
null dereference
alias
backtrack
30. The area of program text over which a variable can be referenced
leaf
big o
scope
base case
31. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
data abstraction
taxonomy
set difference
interior node
32. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
divide and conquer
procedural abstraction
doubly linked list
queue
33. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
association list
ontology
destructive
side-effect
34. An elements of a linked list - tree - or graph - often represented by a data structure
node
stack
structure sharing
preorder
35. In a tree - the union of a node's parent and the parent's ancestors
ancestors
inorder
taxonomy
dictionary
36. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
grammar
tail recursive
design pattern
ancestors
37. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
recursive case
postorder
binary tree
38. A pattern that describes a set of similar programs
data abstraction
cons
design pattern
fifo
39. 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
backtrack
reference type
branching factor
successor
40. A process that removes unwanted elements from a collection
postorder
destructive
interior node
filter
41. Composed of individually named data fields
doubly linked list
simple ADT
successor
quadratic
42. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
algorithm
tail recursive
constructive
shadow
43. Composed of a collection of data values; implemented with a data structure
fifo
destructive
complex ADT
ontology
44. 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
binary tree
structure sharing
depth-first search
amortized Analysis
45. An order of processing a tree in which the parent node is processed after its children
immutable
big o
set difference
postorder
46. An order of processing a tree in which the parent node is processed in between its children
inorder
general list
intractable
complex ADT
47. A case where tow data structures share some elements
immutable
structure sharing
stack frame
big o
48. A description of the state of a process such as a board game
state
random access
leaf
object
49. A collection of values
fifo
queue
parent
type
50. 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?"
doubly linked list
amortized Analysis
array
complex data type