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 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
binary tree
stack frame
child
2. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
taxonomy
sort
successor
procedural abstraction
3. To look through a data structure until a goal object is found
search
simple ADT
type
child
4. A linked list in which each elements has both forward and backward pointers
array
doubly linked list
intractable
cons
5. A description of operations on a data type that could have multiple possible implementations
abstract data type
shadow
goal
class
6. A tree node containing a contents value but with no children
doubly linked list
depth
leaf
intersection
7. Composed of individually named data fields
preorder
object
simple ADT
depth
8. Use of a function or method without knowing how it's accomplished
ancestors
branching factor
reference type
procedural abstraction
9. A simple case that can be solved easily - without recursion
postorder
base case
goal
data type
10. An order of processing a tree in which the parent node is processed before its children
preorder
garbage collection
dictionary
taxonomy
11. The amount of space on the runtime stack required for execution of a program
divide and conquer
recursion
stack space
depth-first search
12. In a tree - a node that points to a given node
successor
parent
object
array
13. The area of program text over which a variable can be referenced
fifo
ontology
linked list
scope
14. An order of processing a tree in which the parent node is processed in between its children
inorder
depth
fifo
queue
15. All nodes below a give node in a tree
scope
descendants
grammar
association list
16. A collection of objects that are inserted and removed according to the LIFO principle
ontology
well-founded ordering xml
stack
abstract data type
17. Describes a data structure or device in which all accesses have the same cost - O(1)
gedanken
dereference
random access
root
18. Describes a though experiment or view of an entity
entinel
inorder
fifo
gedanken
19. A linked list in which the last element points back to the first element
general list
algorithm
circularly linked list
child
20. A stack containing a stack frame of variable value for each active invocation of procedure
structure sharing
runtime stack
descendants
immutable
21. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
null dereference
recursive case
grammar
binary tree
22. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
filter
set difference
postorder
circular queue
23. storage that is no longer pointed to by any variable and therefore can no longer be accessed
divide and conquer
simple data type
garbage
reference type
24. Given two sets -the union is the set of elements that are members of either set
state
sort
fair
union
25. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
destructive
side-effect
operator
garbage collection
26. In a tree - the union of a node's parent and the parent's ancestors
big o
random access
ancestors
operator
27. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
well-founded ordering xml
reference type
amortized Analysis
binary search tree (bst)
28. The number of links between the root of a tree and the leaves
garbage collection
depth
inorder
divide and conquer
29. Given two sets - the intersection is the set of elements that are members of both sets
scope
intersection
grammar
quadratic
30. An elements of a linked list - tree - or graph - often represented by a data structure
abstract data type
object
parent
node
31. A pointer to the next element in a linked list
scope
linear O(n)
link
runtime stack
32. A node of a tree that has children
interior node
depth
node
simple data type
33. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
divide and conquer
tail recursive
inorder
side-effect
34. Composed of a collection of data values; implemented with a data structure
dictionary
set difference
entinel
complex ADT
35. Container for storing a collection of data in unique key/value pairs
inorder
ontology
linear O(n)
dictionary
36. An extra record at the start or end of a data structure such as a linked list - to simplify processing
doubly linked list
sort
design pattern
entinel
37. An item (or description of items) being sough in a search
boxed number
goal
side-effect
random access
38. A case where tow data structures share some elements
constructive
boxed number
grammar
structure sharing
39. Any container with linear ordering
general list
linear O(n)
well-founded ordering xml
depth-first search
40. A section of the runtime stack holding the values of all variables for one invocation
big o
procedural abstraction
stack frame
taxonomy
41. In object oriented programming - a description of a set of similar objects
sort
runtime stack
class
immutable
42. 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?"
set difference
structure sharing
amortized Analysis
destructive
43. 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
linear O(n)
binary search tree (bst)
amortized Analysis
gedanken
44. A data structure that can be identified at runtime as being a member of a class
intersection
complex data type
depth
object
45. 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
design pattern
stack space
branching factor
entinel
46. Describes a function that makes a new data structure but does not modify its arguments
doubly linked list
constructive
simple ADT
leaf
47. In a tree search - to move back from the node currently being examined to its parent
backtrack
circularly linked list
postorder
null dereference
48. A description of the state of a process such as a board game
general list
node
state
stack
49. Values are in the most basic form and cannot be decomposed into smaller parts
union
simple data type
stack
runtime stack
50. A pointer to data
leaf
reference
operator
inorder