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. All nodes below a give node in a tree
descendants
complex data type
grammar
cons
2. A classification of objects into a tree structure that groups related objects
fair
taxonomy
dictionary
binary search tree (bst)
3. Given two sets -the union is the set of elements that are members of either set
successor
destructive
union
binary search tree (bst)
4. A process that removes unwanted elements from a collection
filter
garbage
ancestors
successor
5. 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
root
successor
linked list
6. First in first out: describes ordering of a queue
complex data type
reference type
stack frame
fifo
7. The process of collecting garbage for recycling
doubly linked list
fair
object
garbage collection
8. The number of links between the root of a tree and the leaves
descendants
goal
inorder
depth
9. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
garbage collection
well-founded ordering xml
alias
amortized Analysis
10. In a tree search - to move back from the node currently being examined to its parent
backtrack
divide and conquer
fair
fifo
11. A collection of values
data type
sort
side-effect
type
12. Last in first out: describes the order of a stack
structure sharing
LIFO
immutable
base case
13. A given collection of values along with a collection of operations for use on those values
data type
DFS
constructive
branching factor
14. In a tree - a node that points to a given node
branching factor
parent
algorithm
object
15. 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
circularly linked list
queue
boxed number
binary search tree (bst)
16. 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
structure sharing
object
depth-first search
17. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
successor
grammar
ontology
entinel
18. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
circularly linked list
branching factor
null dereference
19. 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)
shadow
abstract data type
union
20. Composed of a collection of data values; implemented with a data structure
stack
complex ADT
queue
garbage collection
21. A description of operations on a data type that could have multiple possible implementations
amortized Analysis
abstract data type
base case
null dereference
22. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
algorithm
scope
ancestors
alias
23. Constructed of multiple components (simple or complex types)
complex data type
alias
simple data type
design pattern
24. The area of program text over which a variable can be referenced
scope
garbage
branching factor
sort
25. Separation of the properties of a data type from its implementation
data abstraction
reference
stack
depth
26. The amount of space on the runtime stack required for execution of a program
dereference
reference type
stack space
destructive
27. Describes a function that modifies its arguments
preorder
destructive
depth-first search
set difference
28. Describes a data structure or device in which all accesses have the same cost - O(1)
reference type
leaf
random access
inorder
29. Two variables that reference the same object
type
alias
circular queue
design pattern
30. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
array
descendants
sort
association list
31. An extra record at the start or end of a data structure such as a linked list - to simplify processing
type
entinel
simple data type
state
32. Describes a function that makes a new data structure but does not modify its arguments
recursion
constructive
goal
preorder
33. storage that is no longer pointed to by any variable and therefore can no longer be accessed
reference type
garbage
abstract data type
descendants
34. Values are in the most basic form and cannot be decomposed into smaller parts
entinel
parent
simple data type
backtrack
35. Given two sets - the intersection is the set of elements that are members of both sets
depth
simple data type
intersection
recursion
36. An order of processing a tree in which the parent node is processed before its children
cons
object
backtrack
preorder
37. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
null dereference
backtrack
inorder
queue
38. A pointer to data
leaf
scope
base case
reference
39. A contiguous block of memory containing elements of the same type - accessed by numeric index
well-founded ordering xml
reference type
array
data abstraction
40. An order of processing a tree in which the parent node is processed in between its children
dereference
scope
descendants
inorder
41. A linked list in which each elements has both forward and backward pointers
doubly linked list
grammar
algorithm
circularly linked list
42. A problem that is so hard that it cannot be solved unless the problem is small
null dereference
ontology
array
intractable
43. A variable containing the address of other data
operator
pointer
interior node
fair
44. In object oriented programming - a description of a set of similar objects
class
reference type
linear O(n)
amortized Analysis
45. A data structure that can be identified at runtime as being a member of a class
scope
linked list
boxed number
object
46. 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
postorder
stack frame
data abstraction
47. Any container with linear ordering
general list
reference
big o
abstract data type
48. First-child/next-sibling
stack frame
fair
doubly linked list
pointer
49. Container for storing a collection of data in unique key/value pairs
fifo
merge
depth-first search
dictionary
50. A sequence of records - where each record contains a link to the next one
descendants
linear O(n)
linked list
set difference