Question
a.
f(n) x g(n)
b.
Max ( f(n),g(n))
c.
Min (f(n),g(n))
d.
f(n) + g(n)
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. An algorithm is made up of two independent time complexities f (n) and g (n). Then the complexities of the algorithm is in the order of
Similar Questions
Discover Related MCQs
Q. Ackerman’s function is defined on the non-negative integers as follows
a (m,n) = n+1 if m=0
= a (m-1, 1) if m ≠ 0, n=0
= a (m-1, a(m, n-1)) if m ≠ 0, n ≠ 0
The value of a (1, 3) is
View solution
Q. What is a set of steps for carrying out a specific task called?
View solution
Q. A real world example of an algorithm would be a___________.
View solution
Q. Who should know about the basic algorithmic toolbox structures that allow efficient organization and retrieval of data frequently used algorithms and basic techniques for modeling, understanding and solving algorithmic problems?
View solution
Q. Algorithms are at the heart of every non-trivial computer application and also a modern and active area of ____________.
View solution
Q. Operations performed on scalar quantities are termed simple, while operations on vector data normally termed as_______.
View solution
Q. An algorithm may have __________‘inputs’ quantities.
View solution
Q. ___________ refers to a finite set of steps, which, when followed, solves a particular problem.
View solution
Q. The two main resources that we consider for an algorithm are__________.
View solution
Q. Space complexity of an algorithm is the maximum amount of _______ required by it during execution.
View solution
Q. Frequently, the memory space required by an algorithm is a multiple of the size of input. State if the statement is True or False or Maybe.
View solution
Q. For many problems such as sorting, there are many choices of algorithms to use, some of which are extremely___________.
View solution
Q. In the analysis of algorithms, what plays an important role?
View solution
Q. An algorithm performs lesser number of operations when the size of input is small, but performs more operations when the size of input gets larger. State if the statement is True or False or Maybe.
View solution
Q. To verify whether a function grows faster or slower than the other function, we have some asymptotic or mathematical notations, which is_________.
View solution
Q. A function in which f(n) is Ω(g(n)), if there exist positive values k and c such that f(n)>=c*g(n), for all n>=k. This notation defines a lower bound for a function f(n):
View solution
Q. An algorithm that indicates the amount of temporary storage required for running the algorithm, i.e., the amount of memory needed by the algorithm to run to completion is termed as_____.
View solution
Q. The amount of time the computer needs to run to completion is known as_____.
View solution
Q. ___________algorithm is one which utilizes minimum processor time and requires minimum memory space during its execution.
View solution
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
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!