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. Given two sets -the union is the set of elements that are members of either set
union
parent
linked list
binary tree
2. A queue implemented within an array - where the first elements of the array logically follows the last elements
array
doubly linked list
recursive case
circular queue
3. A pointer to data
reference
divide and conquer
dictionary
taxonomy
4. 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
reference type
abstract data type
union
gedanken
5. The area of program text over which a variable can be referenced
object
side-effect
association list
scope
6. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
postorder
set difference
design pattern
7. Given two sets - the intersection is the set of elements that are members of both sets
entinel
intersection
grammar
dictionary
8. First in first out: describes ordering of a queue
queue
circular queue
backtrack
fifo
9. In a search tree - a program that changes a state into a child state e.g a move in a game
runtime stack
recursive case
class
operator
10. An extra record at the start or end of a data structure such as a linked list - to simplify processing
descendants
garbage collection
LIFO
entinel
11. To hide similar items with the same name
DFS
gedanken
doubly linked list
shadow
12. A runtime error that occurs when an operation such as method call is attempted on a null pointer
set difference
abstract data type
null dereference
array
13. The top node of a tree - from which all other nodes can be reached
procedural abstraction
root
DFS
quadratic
14. Composed of multiple sequential elements stored in contiguous bytes of memory
sort
successor
interior node
array
15. 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?"
array
amortized Analysis
stack
taxonomy
16. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
well-founded ordering xml
algorithm
side-effect
sort
17. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
LIFO
algorithm
backtrack
18. To convert from a pointer to the data that is pointed to
circular queue
LIFO
ancestors
dereference
19. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
big o
general list
root
20. A pattern that describes a set of similar programs
operator
branching factor
design pattern
search
21. To combine two ordered linear structures into one
successor
parent
merge
design pattern
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
taxonomy
gedanken
reference
binary tree
23. An elements of a linked list - tree - or graph - often represented by a data structure
stack
LIFO
linked list
node
24. A data structure that can be identified at runtime as being a member of a class
backtrack
depth-first search
object
runtime stack
25. A classification of objects into a tree structure that groups related objects
node
quadratic
taxonomy
garbage
26. An order of processing a tree in which the parent node is processed in between its children
postorder
object
recursion
inorder
27. A problem whose solution requires a linear amount of time or space if the problem is size n
intractable
linear O(n)
association list
interior node
28. A process that removes unwanted elements from a collection
filter
runtime stack
shadow
operator
29. Any container with linear ordering
general list
ancestors
alias
set difference
30. The number of links between the root of a tree and the leaves
depth
procedural abstraction
preorder
data abstraction
31. A collection of values
null dereference
recursion
type
data type
32. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
constructive
big o
immutable
algorithm
33. 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
linked list
big o
circularly linked list
DFS
34. An item (or description of items) being sough in a search
set difference
stack space
goal
data type
35. Describes a though experiment or view of an entity
immutable
gedanken
grammar
class
36. All nodes below a give node in a tree
descendants
garbage collection
link
entinel
37. A list of pairs - where each pair has a key and a value associated with the key
complex ADT
leaf
association list
queue
38. A search in which children of a node are considered before siblings are considered
complex ADT
circular queue
depth-first search
depth
39. Last in first out: describes the order of a stack
association list
destructive
LIFO
merge
40. First-child/next-sibling
fair
scope
node
stack space
41. A problem that is so hard that it cannot be solved unless the problem is small
filter
data abstraction
intractable
scope
42. A given collection of values along with a collection of operations for use on those values
preorder
data type
intractable
abstract data type
43. Describes a function that makes a new data structure but does not modify its arguments
general list
alias
runtime stack
constructive
44. A section of the runtime stack holding the values of all variables for one invocation
leaf
stack frame
linear O(n)
data structure
45. Composed of individually named data fields
destructive
search
linked list
simple ADT
46. The next element in a linked list
fair
successor
merge
DFS
47. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
design pattern
class
operator
48. In a tree - a node pointed to by a parent node
intractable
algorithm
child
side-effect
49. A simple case that can be solved easily - without recursion
array
runtime stack
parent
base case
50. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
set difference
interior node
ontology
filter