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 problem whose solution requires a linear amount of time or space if the problem is size n
circularly linked list
set difference
side-effect
linear O(n)
2. In a tree - a node pointed to by a parent node
child
intractable
goal
postorder
3. A list of pairs - where each pair has a key and a value associated with the key
divide and conquer
base case
structure sharing
association list
4. A search in which children of a node are considered before siblings are considered
complex ADT
link
depth-first search
well-founded ordering xml
5. The top node of a tree - from which all other nodes can be reached
quadratic
binary search tree (bst)
root
data structure
6. A problem that is so hard that it cannot be solved unless the problem is small
ontology
intractable
DFS
postorder
7. The process of collecting garbage for recycling
garbage collection
simple ADT
array
intractable
8. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
queue
parent
association list
9. storage that is no longer pointed to by any variable and therefore can no longer be accessed
root
garbage
null dereference
tail recursive
10. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
procedural abstraction
taxonomy
divide and conquer
side-effect
11. A stack containing a stack frame of variable value for each active invocation of procedure
runtime stack
operator
goal
well-founded ordering xml
12. A pointer to data
linked list
reference
intersection
merge
13. An order of processing a tree in which the parent node is processed in between its children
inorder
doubly linked list
preorder
fair
14. The next element in a linked list
entinel
successor
type
ontology
15. A case where a program calls itself
dereference
shadow
recursion
filter
16. Composed of a collection of data values; implemented with a data structure
destructive
operator
complex ADT
object
17. binary tree that is ordered such that each node has contents - and all of its left descendants are less than the contents - an all of its right descendants are greater than the contents
association list
fair
backtrack
binary search tree (bst)
18. A description of the state of a process such as a board game
state
fair
circular queue
data type
19. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
node
base case
queue
20. A description of operations on a data type that could have multiple possible implementations
object
link
design pattern
abstract data type
21. Describes a though experiment or view of an entity
null dereference
base case
gedanken
merge
22. A condition of the input data where the data will be handled by call(s) to the same program
runtime stack
recursive case
dictionary
node
23. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
grammar
quadratic
data structure
design pattern
24. An extra record at the start or end of a data structure such as a linked list - to simplify processing
link
entinel
LIFO
leaf
25. A pattern that describes a set of similar programs
recursive case
reference type
immutable
design pattern
26. 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
sort
alias
scope
binary tree
27. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
interior node
linked list
type
28. In a tree - the union of a node's parent and the parent's ancestors
amortized Analysis
binary search tree (bst)
ancestors
fifo
29. First-child/next-sibling
preorder
fair
child
interior node
30. In a search tree - a program that changes a state into a child state e.g a move in a game
immutable
ontology
cons
operator
31. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
shadow
fair
parent
32. Two variables that reference the same object
alias
fifo
goal
preorder
33. 1. In lisp - the function that constructs a pair of points - or basic elements of list structure. 2. To make a cons data structure 2. a cons data structure
garbage collection
cons
ontology
complex ADT
34. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
boxed number
procedural abstraction
inorder
queue
35. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
set difference
linked list
complex ADT
36. To hide similar items with the same name
shadow
simple ADT
general list
cons
37. A process that removes unwanted elements from a collection
filter
dictionary
simple ADT
dereference
38. A contiguous block of memory containing elements of the same type - accessed by numeric index
root
postorder
gedanken
array
39. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
general list
DFS
algorithm
search
40. Given two sets -the union is the set of elements that are members of either set
union
destructive
operator
DFS
41. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
quadratic
leaf
grammar
inorder
42. A given collection of values along with a collection of operations for use on those values
sort
data structure
data type
immutable
43. The number of links between the root of a tree and the leaves
depth
association list
state
ontology
44. 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
random access
quadratic
doubly linked list
45. Constructed of multiple components (simple or complex types)
child
circularly linked list
interior node
complex data type
46. In object oriented programming - a description of a set of similar objects
runtime stack
structure sharing
circularly linked list
class
47. A case where tow data structures share some elements
fair
recursion
structure sharing
reference
48. A variable containing the address of other data
ontology
pointer
gedanken
queue
49. Composed of individually named data fields
immutable
base case
simple ADT
cons
50. 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
merge
doubly linked list
big o
procedural abstraction