Question
a.
Best
b.
Efficient
c.
Both (a) and (b)
d.
None of the above
Posted under Data Structures and Algorithms
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. ___________algorithm is one which utilizes minimum processor time and requires minimum memory space during its execution.
Similar Questions
Discover Related MCQs
Q. In simple terms, we can say that an algorithm is a step-by-step procedure for performing some task in a finite amount of time. State if the statement is true or false.
View solution
Q. Each operation must have a definite meaning and it must be perfectly clear. All steps of an algorithm need to be precisely defined. The actions to be executed in each case should be _____________.
View solution
Q. In general, a problem may be defined as a state of thing that is not in the___________.
View solution
Q. An algorithm that requires ................... operations to complete its task on n data elements is said to have a linear runtime.
View solution
Q. The complexity of adding two matrices of order m*n is
View solution
Q. lg (n!) = .................
View solution
Q. Which of the following uses memorization?
View solution
Q. An algorithm is made up of 2 modules M1&M2.; If order of M1 is f(n) & M2 is g(n) then the order of algorithm is?
View solution
Q. An array of n numbers is given, where n is an even number. The maximum as well as the minimum of these n numbers needs to be determined. Which of the following is TRUE about the number of comparisons needed?
View solution
Q. The running time of an algorithm T(n),where 'n' is the input size, of a recursive algorithm is given as follows.is given by T(n) =c + T(n - 1), if n > 1 d, if n ≤ 1 The order of this algorithm is
View solution
Q. Six files Fl, F2, F3, F4, F5 and F6 have 100,200,50,80, 120, 150 number of records respectively. In what order should they be stored so as to optimize access time? Assume each file is accessed with the same frequency.
View solution
Q. An algorithm is made up of 2 modules Ml and M2. If order of M1 is f(n) and M2 is g(n) then the order of the algorithm is
View solution
Q. The order of an algorithm that finds whether a given Boolean function of 'n' variables, produces a 1 is
View solution
Q. The running time of an algorithm is given by T(n) = T(n - 1) + T(n - 2) - T(n - 3), if n > 3 n, otherwise.
View solution
Q. A text is made up of the characters a, b, c, d, e each occurring with the probability .12, .4, .15, .08 and .25 respectively. The optimal coding technique will have the average length of
View solution
Q. The time complexity of an algorithm T(n), where n is the input size, is given by T( n) = T( n - 1) + 1/n if n > 1 The order of this algorithm is
View solution
Q. The concept of order (Big O) is important because
View solution
Q. Which of the following sorting algorithms does not have a worst case running time of O(n2)?
View solution
Q. Using the standard algorithm, what is the time required to determine that a number n is prime ?
View solution
Q. Let m, n be positive integers. Define Q (m, n) as Q (m, n) = 0, if m>n Then Q (m, 3) is (a div b, gives the quotient when a is divided by b)
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Data Structures and Algorithms? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!