All Exams Test series for 1 year @ ₹349 only
Question

An exhaustive-search algorithm tests assignments to a Boolean function of n variables until it finds an output of 1 or exhausts all assignments. Assuming constant time per evaluation, its worst-case running time as a function of n is:

The correct answer is

Exponential

There are \(2^n\) assignments to \(n\) Boolean variables. Exhaustive search may evaluate every assignment before concluding that no output is 1, so its worst-case time is \(\Theta(2^n)\) under the stated evaluation-cost assumption.

Was this answer helpful?

Important Questions from Boolean Algebra

  1. In the following digital circuit, the delay of both the NAND gates is 4 nanoseconds (ns) and the delay of the NOT gate is 1 ns. If a 10 MHz clock signal with 50% duty cycle is provided as the input, the duty cycle of the output is _________%
    (Answer in integer)

  2. The correct Boolean expression for the given circuit is.

  3. The value of 16log2 3 is

  4. Which of the following is termed as Universal gate logic

  5. Which of the following logic expressions is incorrect ?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App