Skip to content
GATEiit

GATE EC 2024 Q40: Boolean expression for output bit B of a 4-input priority encoder

Syllabus topics: Decoders; Boolean algebra

Question

A 4-bit priority encoder has inputs D3,D2,D1, and D0 in descending order of priority. The two-bit output AB is generated as 00, 01, 10, and 11 corresponding to inputs D3,D2,D1, and D0, respectively. The Boolean expression of the output bit B is _______.

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: B (official GATE 2024 final answer key)

Concept used: In a priority encoder an input is encoded only when every higher-priority input is 0, so each output bit is an OR of terms gated by the complements of the higher-priority inputs, which then simplifies.

Concept notes

Loading notes…

First step: List when B=1: input D2 wins (D3‾D2) or D0 wins (D3‾ D2‾ D1‾D0); treat the case of no active input as a don't-care and simplify.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

Share this question

WhatsAppDownload image

Source: official GATE 2024 EC question paper and final answer key, organised by IISc Bengaluru. Question paper · Answer key