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. In a tree - a node that points to a given node
recursive case
scope
filter
parent
2. 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
binary search tree (bst)
dictionary
entinel
type
3. A given collection of values along with a collection of operations for use on those values
data type
shadow
taxonomy
depth
4. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
amortized Analysis
intractable
alias
tail recursive
5. Container for storing a collection of data in unique key/value pairs
alias
dictionary
entinel
postorder
6. 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?"
data structure
amortized Analysis
dictionary
goal
7. An extra record at the start or end of a data structure such as a linked list - to simplify processing
circularly linked list
procedural abstraction
entinel
linked list
8. 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
destructive
reference type
cons
goal
9. Describes a data structure or device in which all accesses have the same cost - O(1)
random access
ancestors
abstract data type
stack
10. A case where a program calls itself
stack
recursion
constructive
boxed number
11. Composed of individually named data fields
link
type
queue
simple ADT
12. A condition of the input data where the data will be handled by call(s) to the same program
recursive case
big o
successor
DFS
13. In a tree - the union of a node's parent and the parent's ancestors
entinel
random access
ancestors
doubly linked list
14. A pointer to data
doubly linked list
big o
design pattern
reference
15. A collection of objects that are inserted and removed according to the LIFO principle
big o
array
stack
operator
16. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
garbage
depth
side-effect
big o
17. An elements of a linked list - tree - or graph - often represented by a data structure
node
runtime stack
sort
complex ADT
18. A number that is defined as an object so that it has a runtime type and methods that can be used - e.g. Integer in Java
base case
parent
quadratic
boxed number
19. 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
recursion
branching factor
grammar
fifo
20. A sequence of records - where each record contains a link to the next one
successor
linked list
doubly linked list
backtrack
21. Two variables that reference the same object
stack
ancestors
node
alias
22. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
link
association list
sort
branching factor
23. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
DFS
search
algorithm
linear O(n)
24. An item (or description of items) being sough in a search
preorder
circular queue
ontology
goal
25. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
circular queue
divide and conquer
queue
child
26. A data structure that can be identified at runtime as being a member of a class
set difference
array
object
filter
27. storage that is no longer pointed to by any variable and therefore can no longer be accessed
operator
random access
garbage
stack frame
28. A linked list in which each elements has both forward and backward pointers
doubly linked list
branching factor
amortized Analysis
pointer
29. To convert from a pointer to the data that is pointed to
general list
dereference
stack space
state
30. In object oriented programming - a description of a set of similar objects
branching factor
state
depth
class
31. A pointer to the next element in a linked list
dereference
scope
link
set difference
32. Composed of multiple sequential elements stored in contiguous bytes of memory
ontology
array
cons
intersection
33. A stack containing a stack frame of variable value for each active invocation of procedure
immutable
leaf
runtime stack
child
34. The area of program text over which a variable can be referenced
general list
depth
scope
null dereference
35. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
data structure
merge
inorder
stack space
36. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
gedanken
garbage collection
inorder
37. First in first out: describes ordering of a queue
data abstraction
alias
procedural abstraction
fifo
38. Composed of a collection of data values; implemented with a data structure
branching factor
side-effect
null dereference
complex ADT
39. An order of processing a tree in which the parent node is processed in between its children
inorder
ontology
boxed number
procedural abstraction
40. The number of links between the root of a tree and the leaves
divide and conquer
backtrack
depth
tail recursive
41. 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
immutable
design pattern
big o
amortized Analysis
42. The process of collecting garbage for recycling
association list
binary tree
procedural abstraction
garbage collection
43. Any container with linear ordering
depth
fair
general list
parent
44. First-child/next-sibling
random access
cons
structure sharing
fair
45. A contiguous block of memory containing elements of the same type - accessed by numeric index
taxonomy
parent
array
garbage collection
46. To combine two ordered linear structures into one
merge
root
complex ADT
well-founded ordering xml
47. 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
design pattern
node
root
48. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
garbage collection
backtrack
scope
grammar
49. A tree node containing a contents value but with no children
side-effect
leaf
gedanken
general list
50. Values are in the most basic form and cannot be decomposed into smaller parts
immutable
class
simple data type
operator