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 collection of values
runtime stack
simple ADT
type
destructive
2. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
structure sharing
stack frame
boxed number
sort
3. Describes a function that makes a new data structure but does not modify its arguments
stack frame
constructive
array
depth-first search
4. A process that removes unwanted elements from a collection
binary tree
circularly linked list
garbage collection
filter
5. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
operator
simple ADT
data type
6. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
ancestors
quadratic
random access
structure sharing
7. In a tree - the union of a node's parent and the parent's ancestors
ancestors
garbage collection
abstract data type
pointer
8. Container for storing a collection of data in unique key/value pairs
general list
dictionary
simple data type
union
9. An order of processing a tree in which the parent node is processed before its children
boxed number
fifo
preorder
garbage collection
10. A tree node containing a contents value but with no children
grammar
leaf
preorder
alias
11. A simple case that can be solved easily - without recursion
base case
dictionary
ontology
null dereference
12. A runtime error that occurs when an operation such as method call is attempted on a null pointer
runtime stack
general list
null dereference
complex ADT
13. Constructed of multiple components (simple or complex types)
data type
complex data type
postorder
boxed number
14. A pattern that describes a set of similar programs
backtrack
root
design pattern
procedural abstraction
15. The next element in a linked list
successor
fair
general list
class
16. Separation of the properties of a data type from its implementation
boxed number
search
dereference
data abstraction
17. A given collection of values along with a collection of operations for use on those values
stack space
data type
circularly linked list
interior node
18. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
merge
queue
intersection
linear O(n)
19. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
branching factor
well-founded ordering xml
inorder
type
20. All nodes below a give node in a tree
cons
quadratic
descendants
depth-first search
21. A contiguous block of memory containing elements of the same type - accessed by numeric index
entinel
taxonomy
interior node
array
22. A linked list in which the last element points back to the first element
design pattern
stack
LIFO
circularly linked list
23. In a search tree - a program that changes a state into a child state e.g a move in a game
intersection
scope
operator
postorder
24. A pointer to data
reference
search
design pattern
linked list
25. A variable containing the address of other data
object
alias
pointer
successor
26. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
link
data structure
random access
fair
27. In a tree - a node that points to a given node
reference type
ontology
parent
destructive
28. Describes a function that modifies its arguments
runtime stack
base case
destructive
algorithm
29. The process of collecting garbage for recycling
binary tree
simple ADT
garbage collection
leaf
30. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
data type
design pattern
grammar
array
31. A classification of objects into a tree structure that groups related objects
state
taxonomy
well-founded ordering xml
object
32. A section of the runtime stack holding the values of all variables for one invocation
array
association list
quadratic
stack frame
33. A description of the state of a process such as a board game
goal
complex ADT
state
queue
34. Given two sets - the intersection is the set of elements that are members of both sets
intersection
ontology
linked list
state
35. A collection of objects that are inserted and removed according to the LIFO principle
procedural abstraction
binary tree
stack
type
36. The number of links between the root of a tree and the leaves
merge
circular queue
side-effect
depth
37. Two variables that reference the same object
fair
alias
garbage
root
38. 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
set difference
successor
binary tree
entinel
39. A data structure that can be identified at runtime as being a member of a class
array
pointer
immutable
object
40. A description of operations on a data type that could have multiple possible implementations
data structure
stack space
abstract data type
constructive
41. Composed of a collection of data values; implemented with a data structure
reference type
DFS
complex ADT
depth
42. A case where tow data structures share some elements
fifo
complex data type
intersection
structure sharing
43. To convert from a pointer to the data that is pointed to
operator
dereference
LIFO
binary search tree (bst)
44. A problem that is so hard that it cannot be solved unless the problem is small
intractable
quadratic
null dereference
node
45. A problem whose solution requires a linear amount of time or space if the problem is size n
recursion
garbage
recursive case
linear O(n)
46. Describes a data structure or device in which all accesses have the same cost - O(1)
alias
general list
random access
dereference
47. The top node of a tree - from which all other nodes can be reached
goal
intersection
class
root
48. Composed of multiple sequential elements stored in contiguous bytes of memory
backtrack
recursion
array
circular queue
49. In object oriented programming - a description of a set of similar objects
class
random access
runtime stack
binary tree
50. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
well-founded ordering xml
queue
abstract data type