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. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
depth
complex ADT
null dereference
set difference
2. 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
inorder
big o
branching factor
filter
3. To look through a data structure until a goal object is found
depth-first search
link
data abstraction
search
4. Depth first search
stack frame
DFS
amortized Analysis
big o
5. An extra record at the start or end of a data structure such as a linked list - to simplify processing
queue
child
parent
entinel
6. A node of a tree that has children
interior node
leaf
dictionary
random access
7. An order of processing a tree in which the parent node is processed before its children
preorder
doubly linked list
LIFO
array
8. A stack containing a stack frame of variable value for each active invocation of procedure
general list
data abstraction
runtime stack
state
9. A variable containing the address of other data
sort
pointer
procedural abstraction
ontology
10. A case where tow data structures share some elements
union
structure sharing
root
cons
11. A pointer to data
data structure
linked list
union
reference
12. Composed of multiple sequential elements stored in contiguous bytes of memory
array
entinel
intractable
side-effect
13. A collection of objects that are inserted and removed according to the LIFO principle
divide and conquer
stack
random access
ontology
14. A simple case that can be solved easily - without recursion
intractable
ontology
inorder
base case
15. To hide similar items with the same name
grammar
big o
shadow
operator
16. To convert from a pointer to the data that is pointed to
object
dereference
linear O(n)
reference
17. Describes a though experiment or view of an entity
cons
gedanken
data structure
binary tree
18. A list of pairs - where each pair has a key and a value associated with the key
reference type
fifo
association list
stack
19. A sequence of records - where each record contains a link to the next one
dereference
divide and conquer
linked list
well-founded ordering xml
20. In a search tree - a program that changes a state into a child state e.g a move in a game
branching factor
association list
tail recursive
operator
21. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
successor
side-effect
complex ADT
depth-first search
22. A condition of the input data where the data will be handled by call(s) to the same program
general list
big o
union
recursive case
23. 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
linear O(n)
complex data type
quadratic
24. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
amortized Analysis
DFS
queue
recursion
25. A data structure that can be identified at runtime as being a member of a class
null dereference
runtime stack
depth
object
26. A search in which children of a node are considered before siblings are considered
ancestors
depth-first search
quadratic
successor
27. 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
stack
set difference
DFS
28. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
taxonomy
simple ADT
destructive
tail recursive
29. A pattern that describes a set of similar programs
big o
scope
garbage collection
design pattern
30. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
type
data structure
boxed number
descendants
31. A collection of values
type
search
tail recursive
abstract data type
32. Given two sets -the union is the set of elements that are members of either set
type
filter
procedural abstraction
union
33. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
well-founded ordering xml
entinel
interior node
data structure
34. Any container with linear ordering
general list
scope
boxed number
dictionary
35. The top node of a tree - from which all other nodes can be reached
tail recursive
ontology
root
backtrack
36. The next element in a linked list
queue
successor
association list
shadow
37. A problem that is so hard that it cannot be solved unless the problem is small
intractable
ontology
stack frame
linked list
38. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
well-founded ordering xml
ontology
filter
queue
39. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
stack space
quadratic
simple ADT
recursive case
40. Composed of a collection of data values; implemented with a data structure
goal
complex ADT
side-effect
child
41. Separation of the properties of a data type from its implementation
data abstraction
operator
algorithm
successor
42. A contiguous block of memory containing elements of the same type - accessed by numeric index
inorder
ontology
fifo
array
43. storage that is no longer pointed to by any variable and therefore can no longer be accessed
intractable
simple data type
base case
garbage
44. 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
type
binary search tree (bst)
merge
branching factor
45. A linked list in which each elements has both forward and backward pointers
algorithm
recursion
doubly linked list
well-founded ordering xml
46. 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
null dereference
reference type
big o
linked list
47. Use of a function or method without knowing how it's accomplished
amortized Analysis
intractable
complex data type
procedural abstraction
48. Describes a data structure or device in which all accesses have the same cost - O(1)
leaf
random access
grammar
stack frame
49. 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?"
stack space
amortized Analysis
big o
data type
50. Constructed of multiple components (simple or complex types)
complex data type
random access
postorder
fifo