11
12
13
14
D. 14
by this way computer can keep track only the address of the first element and the addresses of other elements can be calculated
the architecture of computer memory does not allow arrays to store other than serially
both of above
none of above
P contains the address of an element in DATA.
P points to the address of first element in DATA
P can store only memory addresses
P contain the DATA and the address of DATA
Binary search
Insertion sort
Radix sort
Polynomial manipulation
Counting the maximum memory needed by the algorithm
Counting the minimum memory needed by the algorithm
Counting the average memory needed by the algorithm
Counting the maximum disk space needed by the algorithm
internal change
inter-module change
side effect
side-module update
16
12
6
10
Arrays
Records
Pointers
None
Arrays
Records
Pointers
Stacks
Arrays
Linked lists
Both of above
None of above
Graphs
Binary tree
Stacks
Queues
Processor and memory
Complexity and capacity
Time and space
Data and space
Stack
Queue
List
Link list
Breath first search cannot be used to find converted components of a graph.
Optimal binary search tree construction can be performed efficiently using dynamic programming.
Given the prefix and post fix walks over a binary tree.The binary tree cannot be uniquely constructe
Depth first search can be used to find connected components of a graph.
Arrays are dense lists and static data structure
data elements in linked list need not be stored in adjacent space in memory
pointers store the next data element of a list
linked lists are collection of the nodes that contain information part and next pointer
the name of array
the data type of array
the index set of the array
the first data from the set to be stored
Sorting
Merging
Inserting
Traversal
Dynamic programming
Greedy method
Divide and conquer
Backtracking
Graph
Binary tree
Trees
Stack
The item is somewhere in the middle of the array
The item is not in the array at all
The item is the last element in the array
The item is the last element in the array or is not there at all
Application level
Abstract level
Implementation level
All of the above
push, pop
insert, delete
pop, push
delete, insert
An array is suitable for homogeneous data but the data items in a record may have different data type
In a record, there may not be a natural ordering in opposed to linear array.
A record form a hierarchical structure but a linear array does not
All of above
tables arrays
matrix arrays
both of above
none of above
linear arrays
linked lists
both of above
none of above
for relatively permanent collections of data
for the size of the structure and the data in the structure are constantly changing
for both of above situation
for none of above situation
Stacks linked list
Queue linked list
Both of them
Neither of them
O(n)
O(log n)
O(n2)
O(n log n)
The list must be sorted
there should be the direct access to the middle element in any sublist
There must be mechanism to delete and/or insert elements in list
none of above
FIFO lists
LIFO list
Piles
Push-down lists
Arrays
Records
Pointers
None