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 description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
reference
parent
depth-first search
2. To combine two ordered linear structures into one
merge
simple ADT
grammar
ancestors
3. 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
big o
complex ADT
merge
quadratic
4. In a tree - the union of a node's parent and the parent's ancestors
ancestors
dereference
stack
tail recursive
5. In a tree - a node that points to a given node
null dereference
parent
inorder
circular queue
6. Container for storing a collection of data in unique key/value pairs
dictionary
descendants
constructive
object
7. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
leaf
random access
stack frame
queue
8. An elements of a linked list - tree - or graph - often represented by a data structure
alias
runtime stack
node
array
9. The next element in a linked list
successor
array
ontology
stack
10. A collection of values
postorder
root
type
interior node
11. An extra record at the start or end of a data structure such as a linked list - to simplify processing
algorithm
structure sharing
dictionary
entinel
12. The process of collecting garbage for recycling
operator
garbage collection
goal
fair
13. Describes a though experiment or view of an entity
root
inorder
gedanken
constructive
14. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
pointer
sort
descendants
data type
15. A pointer to the next element in a linked list
alias
descendants
garbage collection
link
16. First in first out: describes ordering of a queue
successor
well-founded ordering xml
stack
fifo
17. A pattern that describes a set of similar programs
recursive case
filter
design pattern
inorder
18. A search in which children of a node are considered before siblings are considered
depth-first search
well-founded ordering xml
structure sharing
procedural abstraction
19. 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?"
branching factor
amortized Analysis
intractable
null dereference
20. A description of the state of a process such as a board game
abstract data type
state
linear O(n)
reference
21. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
child
structure sharing
garbage collection
side-effect
22. 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
successor
cons
circularly linked list
immutable
23. All nodes below a give node in a tree
tail recursive
linear O(n)
descendants
parent
24. Describes a function that makes a new data structure but does not modify its arguments
successor
structure sharing
constructive
scope
25. First-child/next-sibling
fair
algorithm
recursion
immutable
26. The number of links between the root of a tree and the leaves
depth
search
null dereference
big o
27. A problem that is so hard that it cannot be solved unless the problem is small
stack space
grammar
random access
intractable
28. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
intractable
type
binary search tree (bst)
29. A linked list in which the last element points back to the first element
preorder
circularly linked list
garbage
branching factor
30. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
doubly linked list
linked list
simple data type
divide and conquer
31. An order of processing a tree in which the parent node is processed after its children
base case
postorder
stack space
LIFO
32. A case where tow data structures share some elements
ancestors
complex data type
fifo
structure sharing
33. In object oriented programming - a description of a set of similar objects
alias
class
design pattern
preorder
34. In a tree search - to move back from the node currently being examined to its parent
scope
side-effect
backtrack
leaf
35. Depth first search
DFS
branching factor
intersection
union
36. A simple case that can be solved easily - without recursion
binary tree
goal
destructive
base case
37. A condition of the input data where the data will be handled by call(s) to the same program
operator
inorder
recursive case
ancestors
38. A contiguous block of memory containing elements of the same type - accessed by numeric index
quadratic
array
garbage collection
ancestors
39. A node of a tree that has children
depth
stack
interior node
complex ADT
40. A pointer to data
ancestors
reference
random access
simple data type
41. Two variables that reference the same object
alias
algorithm
filter
inorder
42. A runtime error that occurs when an operation such as method call is attempted on a null pointer
queue
tail recursive
null dereference
doubly linked list
43. 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
array
depth-first search
pointer
boxed number
44. To hide similar items with the same name
side-effect
taxonomy
structure sharing
shadow
45. Describes a function that modifies its arguments
taxonomy
ontology
random access
destructive
46. The area of program text over which a variable can be referenced
simple ADT
scope
goal
leaf
47. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
ontology
data type
set difference
binary search tree (bst)
48. In a tree - a node pointed to by a parent node
stack
child
circular queue
divide and conquer
49. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
filter
linked list
data structure
doubly linked list
50. Describes a data structure or device in which all accesses have the same cost - O(1)
amortized Analysis
divide and conquer
successor
random access