GATE / CS ARCHIVE

GATE CSE 2014 SET 2 / QUESTION 6

GATE CSE 2014 Set 2 Q6

Digital Logic · Boolean Algebra & Logic Gates · Full GATE CSE 2014 Set 2 paper

GATE 2014 Set 2, Q6 1 mark · MCQ
Report issue

Boolean Algebra & Logic Gates

Question 6, GATE 2014: The dual Fᴰ of a Boolean expression F(x1,…,xn,+,·,′) swaps OR and AND. F is self-dual if F=Fᴰ. How many self-dual n-variable Boolean functions are there? A 2^n; B 2^(n-1); C 2^(2^n); D 2^(2^(n-1)).
Tap to enlarge
Your answer
Answer & solution

Official answer: D

1. Set up the reasoning. Use the truth-table characterization F(x)=NOT F(NOT x). For n≥1, every input bit vector is paired with a different bitwise-complement vector.

2. Derive the result. By Boolean duality, self-duality means F(x)=¬F(¬x). The2n assignments partition into 2n−1 complementary pairs. Choosing either value on one member determines the opposite value on its partner independently, giving 2^(2n−1) functions, D.

3. Check the interpretation. There are 2n-1 pairs, not n pairs. Each pair permits two independent output assignments, 01 or 10; exponentiating two by the number of pairs gives the function count rather than the number of truth-table rows.

Original paper, page 30 · Answer key