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 combine two ordered linear structures into one
depth-first search
LIFO
merge
null dereference
2. A description of operations on a data type that could have multiple possible implementations
filter
recursive case
side-effect
abstract data type
3. A process that removes unwanted elements from a collection
garbage
filter
fair
root
4. A given collection of values along with a collection of operations for use on those values
operator
boxed number
array
data type
5. A pattern that describes a set of similar programs
data abstraction
design pattern
scope
array
6. All nodes below a give node in a tree
immutable
descendants
type
link
7. In a tree - the union of a node's parent and the parent's ancestors
successor
recursion
scope
ancestors
8. A classification of objects into a tree structure that groups related objects
operator
filter
grammar
taxonomy
9. An extra record at the start or end of a data structure such as a linked list - to simplify processing
shadow
entinel
queue
simple ADT
10. A problem whose solution requires a linear amount of time or space if the problem is size n
filter
linear O(n)
operator
boxed number
11. In a tree - a node that points to a given node
intersection
design pattern
parent
circularly linked list
12. The top node of a tree - from which all other nodes can be reached
ancestors
base case
root
recursion
13. A problem that is so hard that it cannot be solved unless the problem is small
set difference
search
intractable
operator
14. A pointer to data
operator
reference
depth
dereference
15. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
class
tail recursive
queue
dereference
16. A node of a tree that has children
interior node
random access
entinel
depth-first search
17. Composed of multiple sequential elements stored in contiguous bytes of memory
recursive case
circularly linked list
array
complex ADT
18. Composed of a collection of data values; implemented with a data structure
complex ADT
parent
operator
simple data type
19. A sequence of records - where each record contains a link to the next one
linked list
node
data structure
entinel
20. 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?"
amortized Analysis
linear O(n)
simple ADT
null dereference
21. A search in which children of a node are considered before siblings are considered
dereference
depth-first search
stack
taxonomy
22. To hide similar items with the same name
link
design pattern
shadow
quadratic
23. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
inorder
class
sort
set difference
24. To convert from a pointer to the data that is pointed to
design pattern
dereference
ancestors
garbage collection
25. A case where tow data structures share some elements
structure sharing
filter
abstract data type
preorder
26. The amount of space on the runtime stack required for execution of a program
complex ADT
link
stack space
general list
27. Separation of the properties of a data type from its implementation
entinel
data abstraction
tail recursive
simple data type
28. A case where a program calls itself
child
reference
recursion
binary search tree (bst)
29. Use of a function or method without knowing how it's accomplished
intractable
interior node
procedural abstraction
fair
30. An item (or description of items) being sough in a search
well-founded ordering xml
goal
big o
doubly linked list
31. Describes a data structure or device in which all accesses have the same cost - O(1)
reference type
random access
DFS
constructive
32. A contiguous block of memory containing elements of the same type - accessed by numeric index
stack frame
union
base case
array
33. A collection of objects that are inserted and removed according to the LIFO principle
stack
recursive case
filter
runtime stack
34. A collection of values
ancestors
link
operator
type
35. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
divide and conquer
child
stack frame
design pattern
36. Container for storing a collection of data in unique key/value pairs
goal
recursive case
dictionary
filter
37. Depth first search
ontology
DFS
gedanken
backtrack
38. A pointer to the next element in a linked list
structure sharing
class
recursion
link
39. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
well-founded ordering xml
root
type
backtrack
40. A variable containing the address of other data
pointer
runtime stack
binary tree
entinel
41. Constructed of multiple components (simple or complex types)
well-founded ordering xml
complex data type
inorder
stack frame
42. Describes a function that modifies its arguments
reference type
destructive
set difference
successor
43. A linked list in which each elements has both forward and backward pointers
reference
circularly linked list
runtime stack
doubly linked list
44. A stack containing a stack frame of variable value for each active invocation of procedure
stack space
runtime stack
entinel
DFS
45. Given two sets -the union is the set of elements that are members of either set
array
union
reference
side-effect
46. A condition of the input data where the data will be handled by call(s) to the same program
cons
immutable
recursive case
LIFO
47. In a search tree - a program that changes a state into a child state e.g a move in a game
tail recursive
operator
link
data abstraction
48. 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
root
null dereference
fifo
49. Describes a though experiment or view of an entity
dereference
gedanken
complex ADT
depth-first search
50. Two variables that reference the same object
grammar
alias
reference type
abstract data type