C Programming MCQ

1: The order of an algorithm that finds whether a given boolean function of 'n' variables, produces a 1 is
A. constant
B. Non-linear
C. logarithmic
D. exponential
 

Answer : D

Explanation :
In the worst case it has to check all the 2" possible input combinations, which is exponential.

Write your comments here:


Report Error
 

Option: A

Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here.