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. Container for storing a collection of data in unique key/value pairs
dictionary
design pattern
complex ADT
circularly linked list
2. Describes a function that modifies its arguments
constructive
destructive
ancestors
operator
3. Composed of individually named data fields
set difference
simple ADT
constructive
child
4. The next element in a linked list
stack
garbage collection
successor
amortized Analysis
5. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
set difference
stack frame
backtrack
ontology
6. A problem whose solution requires a linear amount of time or space if the problem is size n
goal
linear O(n)
structure sharing
set difference
7. In a tree search - to move back from the node currently being examined to its parent
dictionary
state
backtrack
search
8. In object oriented programming - a description of a set of similar objects
immutable
branching factor
destructive
class
9. Separation of the properties of a data type from its implementation
sort
LIFO
descendants
data abstraction
10. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
root
linked list
intractable
11. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
big o
cons
array
12. Composed of multiple sequential elements stored in contiguous bytes of memory
intractable
dictionary
taxonomy
array
13. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
operator
grammar
type
garbage collection
14. In a search tree - a program that changes a state into a child state e.g a move in a game
filter
operator
postorder
interior node
15. A pattern that describes a set of similar programs
design pattern
stack
goal
alias
16. First-child/next-sibling
pointer
fair
reference
procedural abstraction
17. A runtime error that occurs when an operation such as method call is attempted on a null pointer
descendants
stack
backtrack
null dereference
18. A search in which children of a node are considered before siblings are considered
scope
depth-first search
sort
merge
19. A case where a program calls itself
cons
type
recursion
constructive
20. Describes a data structure or device in which all accesses have the same cost - O(1)
goal
random access
runtime stack
state
21. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
divide and conquer
goal
algorithm
depth-first search
22. 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
ancestors
quadratic
garbage
23. An item (or description of items) being sough in a search
leaf
goal
simple ADT
sort
24. An order of processing a tree in which the parent node is processed after its children
filter
divide and conquer
binary tree
postorder
25. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
backtrack
pointer
set difference
depth-first search
26. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
big o
state
divide and conquer
merge
27. A collection of objects that are inserted and removed according to the LIFO principle
taxonomy
divide and conquer
type
stack
28. All nodes below a give node in a tree
backtrack
descendants
recursive case
postorder
29. A problem that is so hard that it cannot be solved unless the problem is small
intractable
backtrack
taxonomy
linked list
30. The area of program text over which a variable can be referenced
recursive case
scope
leaf
object
31. Any container with linear ordering
child
class
array
general list
32. A pointer to the next element in a linked list
LIFO
backtrack
dereference
link
33. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
type
association list
stack
immutable
34. An extra record at the start or end of a data structure such as a linked list - to simplify processing
fifo
preorder
entinel
complex ADT
35. Describes a though experiment or view of an entity
boxed number
gedanken
general list
binary search tree (bst)
36. Describes a function that makes a new data structure but does not modify its arguments
destructive
child
binary tree
constructive
37. To combine two ordered linear structures into one
node
merge
array
gedanken
38. A section of the runtime stack holding the values of all variables for one invocation
filter
cons
postorder
stack frame
39. Last in first out: describes the order of a stack
set difference
class
stack space
LIFO
40. A pointer to data
reference
postorder
simple ADT
garbage
41. An elements of a linked list - tree - or graph - often represented by a data structure
node
null dereference
class
intersection
42. To convert from a pointer to the data that is pointed to
class
dereference
grammar
big o
43. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
entinel
pointer
depth-first search
44. Use of a function or method without knowing how it's accomplished
taxonomy
stack space
class
procedural abstraction
45. A collection of values
type
descendants
inorder
divide and conquer
46. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
well-founded ordering xml
garbage collection
cons
goal
47. The amount of space on the runtime stack required for execution of a program
recursive case
stack space
data type
merge
48. A classification of objects into a tree structure that groups related objects
sort
node
binary search tree (bst)
taxonomy
49. Values are in the most basic form and cannot be decomposed into smaller parts
array
well-founded ordering xml
simple data type
dereference
50. The number of links between the root of a tree and the leaves
child
depth
circularly linked list
random access