The ________notation is used when the function g(n) defines a lower bound for the function f(n)
A. Omega
B. Theta
C. Little Oh
D. Big Oh
ANSWER: A
A. Omega
B. Theta
C. Little Oh
D. Big Oh
ANSWER: A
A. end of the string.
B. beginning of the string.
C. mid-level of the string.
D. index.
ANSWER: A
In variable length storage, two dollar signs are used to denote the Read More »
A. record.
B. address.
C. code.
D. field.
ANSWER: D
In fixed-length storage, all records have same number of Read More »
A. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words per memory cell for
the array
B. LOC(Array[5])=Base(Array[5])+(5-lower
bound), where w is the number of words per memory cell
for the array
C.LOC(Array[5])-Base(Array[4])+(5-Upper
bound), where w is the number of words per memory cell
for the array
D. None of above
ANSWER: A
The memory address of fifth element of an array can be calculated by the formula Read More »
A. i-True, ii-True
B. i-True, ii-False
C. i-False, ii-True
D. i-False, ii-False
A. must use a sorted array
B. requirement of sorted array is expensive when a lot of insertion and deletions are needed
C. there must be a mechanism to access middle element directly
D. binary search algorithm is not efficient when the data elements more than 1500.
ANSWER: D
Which of the following is not a limitation of binary search algorithm. Read More »
A. the name of array
B. the data type of array
C. the first data from the set to be stored
D. the index set of the array
ANSWER: C
Each array declaration need not give, implicitly or explicitly, the information about Read More »
A. algorithm.
B. complexity.
C. time.
D. space.
ANSWER: A
A ____________ is a well defined list for solving a particular problem. Read More »