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 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
base case
simple data type
reference type
cons
2. Any container with linear ordering
general list
tail recursive
amortized Analysis
inorder
3. A pattern that describes a set of similar programs
well-founded ordering xml
boxed number
link
design pattern
4. The amount of space on the runtime stack required for execution of a program
pointer
stack space
inorder
circular queue
5. A condition of the input data where the data will be handled by call(s) to the same program
side-effect
alias
stack space
recursive case
6. Two variables that reference the same object
link
garbage
procedural abstraction
alias
7. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
successor
sort
LIFO
garbage collection
8. A sequence of records - where each record contains a link to the next one
scope
linked list
search
LIFO
9. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
parent
data structure
quadratic
data abstraction
10. The top node of a tree - from which all other nodes can be reached
root
scope
ontology
merge
11. Container for storing a collection of data in unique key/value pairs
dictionary
well-founded ordering xml
immutable
parent
12. Last in first out: describes the order of a stack
general list
algorithm
depth
LIFO
13. First-child/next-sibling
circular queue
complex ADT
fair
simple data type
14. 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
grammar
filter
binary tree
circular queue
15. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
interior node
ancestors
well-founded ordering xml
ontology
16. A description of the state of a process such as a board game
state
procedural abstraction
set difference
big o
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?"
LIFO
simple ADT
amortized Analysis
array
18. A runtime error that occurs when an operation such as method call is attempted on a null pointer
tail recursive
leaf
null dereference
linked list
19. An elements of a linked list - tree - or graph - often represented by a data structure
data abstraction
intractable
entinel
node
20. The number of links between the root of a tree and the leaves
ontology
inorder
depth
DFS
21. A problem that is so hard that it cannot be solved unless the problem is small
data type
fifo
intractable
child
22. In object oriented programming - a description of a set of similar objects
class
fifo
merge
reference
23. A collection of values
circular queue
descendants
type
stack space
24. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
boxed number
depth
garbage
25. A linked list in which the last element points back to the first element
complex data type
circularly linked list
design pattern
search
26. A collection of objects that are inserted and removed according to the LIFO principle
stack
queue
taxonomy
complex ADT
27. To combine two ordered linear structures into one
simple data type
binary tree
goal
merge
28. A case where tow data structures share some elements
structure sharing
node
intersection
union
29. The area of program text over which a variable can be referenced
entinel
root
stack frame
scope
30. The next element in a linked list
data structure
successor
array
gedanken
31. A data structure that can be identified at runtime as being a member of a class
object
linked list
reference type
postorder
32. Given two sets -the union is the set of elements that are members of either set
ancestors
random access
union
linked list
33. A section of the runtime stack holding the values of all variables for one invocation
base case
stack frame
random access
garbage collection
34. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
set difference
union
side-effect
stack frame
35. 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
branching factor
linked list
type
state
36. A problem whose solution requires a linear amount of time or space if the problem is size n
linear O(n)
association list
backtrack
reference
37. A queue implemented within an array - where the first elements of the array logically follows the last elements
circular queue
association list
complex data type
fifo
38. A pointer to the next element in a linked list
divide and conquer
link
binary search tree (bst)
data type
39. Describes a though experiment or view of an entity
garbage
gedanken
boxed number
depth
40. The process of collecting garbage for recycling
intersection
array
garbage collection
abstract data type
41. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
divide and conquer
queue
simple ADT
ontology
42. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
backtrack
LIFO
fifo
set difference
43. All nodes below a give node in a tree
dereference
descendants
random access
runtime stack
44. An item (or description of items) being sough in a search
fifo
goal
taxonomy
inorder
45. To hide similar items with the same name
shadow
successor
object
fifo
46. An order of processing a tree in which the parent node is processed before its children
big o
simple data type
preorder
fifo
47. First in first out: describes ordering of a queue
fifo
state
type
null dereference
48. Depth first search
DFS
taxonomy
stack
runtime stack
49. A classification of objects into a tree structure that groups related objects
class
taxonomy
stack frame
stack space
50. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
union
array
divide and conquer
data type