Priority Encoders MCQ Quiz - Objective Question with Answer for Priority Encoders - Download Free PDF

Last updated on May 30, 2025

Latest Priority Encoders MCQ Objective Questions

Priority Encoders Question 1:

In a priority encoder, what happens when two or more input lines are active at the same time?

  1. The encoder will output the binary code for the lowest priority active input.
  2. The encoder will output an error.
  3. The encoder will output the binary code for the highest priority active input.
  4. The encoder will output the binary code for both the priority active inputs.

Answer (Detailed Solution Below)

Option 3 : The encoder will output the binary code for the highest priority active input.

Priority Encoders Question 1 Detailed Solution

The correct answer is: The encoder will output the binary code for the highest priority active input.

Explanation:

A priority encoder is a combinational circuit that:

  • Accepts multiple input lines, but only one output is generated at a time.

  • If two or more inputs are active simultaneously, the input with the highest priority (usually the one with the highest input number) is encoded and reflected at the output.

This ensures unambiguous output even when multiple inputs are high.

🔍 Example:

For a 4-to-2 priority encoder with inputs D3 to D0 (D3 has highest priority):

Inputs (D3–D0) Output (Y1 Y0)
1000 11
0100 10
1100 11 (D3 has higher priority)
0011 01 (D1 over D0)

Priority Encoders Question 2:

What is a four-line to two-line priority encoder with active HIGH inputs and outputs, with priority assigned to the higher-order data input line?

  1. X = D+ D3 and Y = D12 + D3
  2. X = D1 + D3 and Y = D12 + D3
  3. X = D+ 3 and Y = D12 + D3
  4. X = D̅+ D3 and Y = 12 + D3

Answer (Detailed Solution Below)

Option 1 : X = D+ D3 and Y = D12 + D3

Priority Encoders Question 2 Detailed Solution

Here, X represents the priority encoder output.

Y represents the valid output corresponding to the highest order active input.

  • In a four-line to two-line priority encoder, the goal is to encode the highest order active input among four lines into a two-bit output.
  • X = D2+D3
  • This equation means that the output X is active (HIGH) when either D2 or D3 is active.
  • It indicates the encoding of the higher-priority input.
  • Y = D1\(\overline D_2\)+D3
  • Y is the two-bit output. It is formed by combining D1D2 if both D1 and D2 are active, or by using D3 if Dis active alone. This represents the highest-order active input.
  • X = D2+D3  
  • Y = D1\(\overline D_2\)+D3

Here, option 1 is correct.

Priority Encoders Question 3:

F2 Shubhanshi 17-3-2021 Swati D9
The logic shown in the given figure works as:

  1. decoder
  2. binary to XS-3 converter
  3. priority encoder
  4. binary to gray converter

Answer (Detailed Solution Below)

Option 3 : priority encoder

Priority Encoders Question 3 Detailed Solution

Concept-

An Encoder is a combinational circuit that performs the reverse operation of Decoder.

It has maximum of 2n input lines and ‘n’ output lines. It will produce a binary code equivalent to the input, which is active High.

Therefore, the encoder encodes 2n input lines with ‘n’ bits.

A 4 to 2 priority encoder has four inputs Y3, Y2, Y1 & Y0 and two outputs A1 & A0.

Here, the input, Y3 has the highest priority, whereas the input, Y0 has the lowest priority.

In this case, even if more than one input is ‘1’ at the same time, the output will be the binary code corresponding to the input, which is having higher priority.

Encoder (4 2)

F1 Neha Madhuri 23.04.2021 D4

Truth table:-

y3

y2

y1

y0

A1

A0

0

0

0

1

0

0

0

0

1

0

0

1

0

1

0

0

1

0

1

0

0

0

1

1


A1 = y3 + y2

A0 = y3 + y1

F1 Neha Madhuri 23.04.2021 D5

Priority encoder:-

If more than one input is high then encoder produce an output which may not be correct to overcome this we use priority encoder.

We considered one more output, V in order to know, whether the code available at outputs is valid or not.

If at least one input of the encoder is ‘1’, then the code available at outputs is a valid one. In this case, the output, V will be equal to 1.

If all the inputs of encoder are ‘0’, then the code available at outputs is not a valid one. In this case, the output, V will be equal to 0.

Inputs

Outputs

y3

 y2

 y1

y0

A1

A0

V

0

0

0

0

0

0

0

0

0

0

1

0

0

1

0

0

1

×

0

1

1

0

1

×

×

1

0

1

1

×

×

×

1

1

1


F1 Neha Madhuri 23.04.2021 D6

Analysis:-

Logic shown in given figure will work as

Priority encoder (4 × 2)

Inputs = D3, D2, D1, D0

Output:

y = D3 + D2’ D1

X = D3 + D2

V = D3 + D2 + D1 + D0

Priority Encoders Question 4:

Determine the type of circuit shown in figure below consider y0 and y1 to be don’t care condition when all inputs are zero.

F1 U.B Madhu 30.06.20 D21

  1. Priority Encoder
  2. 4 to 2 line decoder
  3. Binary to Gray code converter
  4. Gray to Binary code converter

Answer (Detailed Solution Below)

Option 1 : Priority Encoder

Priority Encoders Question 4 Detailed Solution

From the given logic circuit,

V = D0 + D1 + D2 + D3

y0 = D3 + D12

y1 = D2 + D3

The truth table for the given logic circuit is given below.

D3

D2

D1

D0

Y1

Y0

V

0

0

0

0

X

X

0

0

0

0

1

0

0

1

0

0

1

0

0

1

1

0

0

1

1

0

1

1

0

1

0

0

1

0

1

0

1

0

1

1

0

1

0

1

1

0

1

0

1

0

1

1

1

1

0

1

1

0

0

0

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

1

1

1

0

1

1

1

1

1

1

1

0

0

1

1

1

1

1

0

1

1

1

1

1

1

1

0

1

1

1

1

1

1

1

1

1

1

 

From the above truth table, it is clear that When D3 = 1, the output (Y1 Y0) = (11)2 = (3)10 irrespective of other inputs.

For D3 = 0 and D2 = 1, the output Y1 Y0 = (10)2 = (2)10 irrespective of other inputs.

For D3 = D2 = 0 and D1 = 1, the output

Y1Y0 = (01)2 = (1)10 irrespective of other inputs.

The output will be Y1Y0 = (00)2 = (0)10 only

When D3 = D2 = D1 = 0 and D0 = 1.

Therefore, the given logic circuit is a priority encoder with a priority order D3 > D2 > D1 > D0

Priority Encoders Question 5:

Consider the output A and B with I0, I1, I2 and I3 as input and ‘A’ and ‘B’ as output,

A = I2 + I3

B = I̅2 I1 + I3

The above circuit is:

  1. 4:1 multiplexer
  2. De-multiplexer
  3. BCD circuit
  4. Priority Encoder

Answer (Detailed Solution Below)

Option 4 : Priority Encoder

Priority Encoders Question 5 Detailed Solution

A 4 to 2 Priority Encoder takes 4 input bits and produces 2 Output bits. The truth Table of a 4 to 2 Priority Encoder is as shown:

I3

I2

I1

I0

A

B

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

X

0

0

0

1

1

1

1

1

1

1

1

1

1

1

1

X

0

1

1

0

0

0

0

1

1

1

1

1

1

1

1

 

We use Karnaugh Map to minimize the logic for B as shown:

F1 S.B. Nita 14.11.2019 D 9

B = I̅2I1 + I3

Similarly the expression for A in obtained using K-map as shown:

F1 S.B. Nita 14.11.2019 D 10

A = I2 + I3

So, the given circuit is a priority Encoder only.

Top Priority Encoders MCQ Objective Questions

Consider the output A and B with I0, I1, I2 and I3 as input and ‘A’ and ‘B’ as output,

A = I2 + I3

B = I̅2 I1 + I3

The above circuit is:

  1. 4:1 multiplexer
  2. De-multiplexer
  3. BCD circuit
  4. Priority Encoder

Answer (Detailed Solution Below)

Option 4 : Priority Encoder

Priority Encoders Question 6 Detailed Solution

Download Solution PDF

A 4 to 2 Priority Encoder takes 4 input bits and produces 2 Output bits. The truth Table of a 4 to 2 Priority Encoder is as shown:

I3

I2

I1

I0

A

B

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

X

0

0

0

1

1

1

1

1

1

1

1

1

1

1

1

X

0

1

1

0

0

0

0

1

1

1

1

1

1

1

1

 

We use Karnaugh Map to minimize the logic for B as shown:

F1 S.B. Nita 14.11.2019 D 9

B = I̅2I1 + I3

Similarly the expression for A in obtained using K-map as shown:

F1 S.B. Nita 14.11.2019 D 10

A = I2 + I3

So, the given circuit is a priority Encoder only.

In a priority encoder, what happens when two or more input lines are active at the same time?

  1. The encoder will output the binary code for the lowest priority active input.
  2. The encoder will output an error.
  3. The encoder will output the binary code for the highest priority active input.
  4. The encoder will output the binary code for both the priority active inputs.

Answer (Detailed Solution Below)

Option 3 : The encoder will output the binary code for the highest priority active input.

Priority Encoders Question 7 Detailed Solution

Download Solution PDF

The correct answer is: The encoder will output the binary code for the highest priority active input.

Explanation:

A priority encoder is a combinational circuit that:

  • Accepts multiple input lines, but only one output is generated at a time.

  • If two or more inputs are active simultaneously, the input with the highest priority (usually the one with the highest input number) is encoded and reflected at the output.

This ensures unambiguous output even when multiple inputs are high.

🔍 Example:

For a 4-to-2 priority encoder with inputs D3 to D0 (D3 has highest priority):

Inputs (D3–D0) Output (Y1 Y0)
1000 11
0100 10
1100 11 (D3 has higher priority)
0011 01 (D1 over D0)

What is a four-line to two-line priority encoder with active HIGH inputs and outputs, with priority assigned to the higher-order data input line?

  1. X = D+ D3 and Y = D12 + D3
  2. X = D1 + D3 and Y = D12 + D3
  3. X = D+ 3 and Y = D12 + D3
  4. X = D̅+ D3 and Y = 12 + D3

Answer (Detailed Solution Below)

Option 1 : X = D+ D3 and Y = D12 + D3

Priority Encoders Question 8 Detailed Solution

Download Solution PDF

Here, X represents the priority encoder output.

Y represents the valid output corresponding to the highest order active input.

  • In a four-line to two-line priority encoder, the goal is to encode the highest order active input among four lines into a two-bit output.
  • X = D2+D3
  • This equation means that the output X is active (HIGH) when either D2 or D3 is active.
  • It indicates the encoding of the higher-priority input.
  • Y = D1\(\overline D_2\)+D3
  • Y is the two-bit output. It is formed by combining D1D2 if both D1 and D2 are active, or by using D3 if Dis active alone. This represents the highest-order active input.
  • X = D2+D3  
  • Y = D1\(\overline D_2\)+D3

Here, option 1 is correct.

Priority Encoders Question 9:

Consider the output A and B with I0, I1, I2 and I3 as input and ‘A’ and ‘B’ as output,

A = I2 + I3

B = I̅2 I1 + I3

The above circuit is:

  1. 4:1 multiplexer
  2. De-multiplexer
  3. BCD circuit
  4. Priority Encoder

Answer (Detailed Solution Below)

Option 4 : Priority Encoder

Priority Encoders Question 9 Detailed Solution

A 4 to 2 Priority Encoder takes 4 input bits and produces 2 Output bits. The truth Table of a 4 to 2 Priority Encoder is as shown:

I3

I2

I1

I0

A

B

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

X

0

0

0

1

1

1

1

1

1

1

1

1

1

1

1

X

0

1

1

0

0

0

0

1

1

1

1

1

1

1

1

 

We use Karnaugh Map to minimize the logic for B as shown:

F1 S.B. Nita 14.11.2019 D 9

B = I̅2I1 + I3

Similarly the expression for A in obtained using K-map as shown:

F1 S.B. Nita 14.11.2019 D 10

A = I2 + I3

So, the given circuit is a priority Encoder only.

Priority Encoders Question 10:

Determine the type of circuit shown in figure below consider y0 and y1 to be don’t care condition when all inputs are zero.

F1 U.B Madhu 30.06.20 D21

  1. Priority Encoder
  2. 4 to 2 line decoder
  3. Binary to Gray code converter
  4. Gray to Binary code converter

Answer (Detailed Solution Below)

Option 1 : Priority Encoder

Priority Encoders Question 10 Detailed Solution

From the given logic circuit,

V = D0 + D1 + D2 + D3

y0 = D3 + D12

y1 = D2 + D3

The truth table for the given logic circuit is given below.

D3

D2

D1

D0

Y1

Y0

V

0

0

0

0

X

X

0

0

0

0

1

0

0

1

0

0

1

0

0

1

1

0

0

1

1

0

1

1

0

1

0

0

1

0

1

0

1

0

1

1

0

1

0

1

1

0

1

0

1

0

1

1

1

1

0

1

1

0

0

0

1

1

1

1

0

0

1

1

1

1

1

0

1

0

1

1

1

1

0

1

1

1

1

1

1

1

0

0

1

1

1

1

1

0

1

1

1

1

1

1

1

0

1

1

1

1

1

1

1

1

1

1

 

From the above truth table, it is clear that When D3 = 1, the output (Y1 Y0) = (11)2 = (3)10 irrespective of other inputs.

For D3 = 0 and D2 = 1, the output Y1 Y0 = (10)2 = (2)10 irrespective of other inputs.

For D3 = D2 = 0 and D1 = 1, the output

Y1Y0 = (01)2 = (1)10 irrespective of other inputs.

The output will be Y1Y0 = (00)2 = (0)10 only

When D3 = D2 = D1 = 0 and D0 = 1.

Therefore, the given logic circuit is a priority encoder with a priority order D3 > D2 > D1 > D0

Priority Encoders Question 11:

Question 18

The above circuit is ______.

  1. Priority encoder with seven given priority over 0, 2, 5 if we press 0, 2, 5, 7
  2. Priority encoder with five given priority over 0, 2, 7 if we press 0, 2, 5, 7
  3. Tree decoder
  4. None of these

Answer (Detailed Solution Below)

Option 1 : Priority encoder with seven given priority over 0, 2, 5 if we press 0, 2, 5, 7

Priority Encoders Question 11 Detailed Solution

For a simple decimal → BCD encoder, we find A is true for 1, 3, 5, 7, 9

where A → LSB of BCD code is:

A = 1 + 3 + 5 + 7 + 9B

= 2 + 3 + 6 + 7C

= 4 + 5 + 6 + 7 MSB D = 8 + 9

Now, with 7 given priority over 0, 2 & 5, the logic will be A is HIGH if 1 is HIGH & 2, 4, 6, 8 are LOW

A is HIGH if 3 is HIGH & 4, 6, 8 are LOW

A is HIGH if 5 is HIGH & 6, 8 are LOW

A is HIGH if 7 is HIGH & 8 is LOW

A is HIGH if 9 is HIGH

So, logic equation  \(\rm A =1\cdot\bar 2 \cdot\bar 4 \cdot\bar6 \cdot\bar8 + 3\cdot\bar4 \cdot\bar6\cdot\bar8 + 5\cdot\bar 6\cdot\bar8+ 7\cdot\bar8+ 9\)

Priority Encoders Question 12:

The truth table of logic function F is given below

Inputs

Outputs 

I0  

I1  

I2  

I3  

O1

O2

  F

0

0

0

0

×

×

0

1

0

0

0

0

0

1

×

1

0

0

0

1

1

×

×

1

0

1

0

1

×

×

×

1

1

1

1

 

If in the truth table F = 1 if and only if the input is valid. What function does the truth table represent?

  1. Priority encoder
  2. Decoder
  3. Multiplexer
  4. Demultiplexer

Answer (Detailed Solution Below)

Option 1 : Priority encoder

Priority Encoders Question 12 Detailed Solution

Since the given truth table has more than one output and the number of outputs is less than number of inputs, the given logic function represents priority encoder. It checks the highest priority high bit encountered in input bits.

Priority Encoders Question 13:

F2 Shubhanshi 17-3-2021 Swati D9
The logic shown in the given figure works as:

  1. decoder
  2. binary to XS-3 converter
  3. priority encoder
  4. binary to gray converter

Answer (Detailed Solution Below)

Option 3 : priority encoder

Priority Encoders Question 13 Detailed Solution

Concept-

An Encoder is a combinational circuit that performs the reverse operation of Decoder.

It has maximum of 2n input lines and ‘n’ output lines. It will produce a binary code equivalent to the input, which is active High.

Therefore, the encoder encodes 2n input lines with ‘n’ bits.

A 4 to 2 priority encoder has four inputs Y3, Y2, Y1 & Y0 and two outputs A1 & A0.

Here, the input, Y3 has the highest priority, whereas the input, Y0 has the lowest priority.

In this case, even if more than one input is ‘1’ at the same time, the output will be the binary code corresponding to the input, which is having higher priority.

Encoder (4 2)

F1 Neha Madhuri 23.04.2021 D4

Truth table:-

y3

y2

y1

y0

A1

A0

0

0

0

1

0

0

0

0

1

0

0

1

0

1

0

0

1

0

1

0

0

0

1

1


A1 = y3 + y2

A0 = y3 + y1

F1 Neha Madhuri 23.04.2021 D5

Priority encoder:-

If more than one input is high then encoder produce an output which may not be correct to overcome this we use priority encoder.

We considered one more output, V in order to know, whether the code available at outputs is valid or not.

If at least one input of the encoder is ‘1’, then the code available at outputs is a valid one. In this case, the output, V will be equal to 1.

If all the inputs of encoder are ‘0’, then the code available at outputs is not a valid one. In this case, the output, V will be equal to 0.

Inputs

Outputs

y3

 y2

 y1

y0

A1

A0

V

0

0

0

0

0

0

0

0

0

0

1

0

0

1

0

0

1

×

0

1

1

0

1

×

×

1

0

1

1

×

×

×

1

1

1


F1 Neha Madhuri 23.04.2021 D6

Analysis:-

Logic shown in given figure will work as

Priority encoder (4 × 2)

Inputs = D3, D2, D1, D0

Output:

y = D3 + D2’ D1

X = D3 + D2

V = D3 + D2 + D1 + D0

Priority Encoders Question 14:

In a priority encoder, what happens when two or more input lines are active at the same time?

  1. The encoder will output the binary code for the lowest priority active input.
  2. The encoder will output an error.
  3. The encoder will output the binary code for the highest priority active input.
  4. The encoder will output the binary code for both the priority active inputs.

Answer (Detailed Solution Below)

Option 3 : The encoder will output the binary code for the highest priority active input.

Priority Encoders Question 14 Detailed Solution

The correct answer is: The encoder will output the binary code for the highest priority active input.

Explanation:

A priority encoder is a combinational circuit that:

  • Accepts multiple input lines, but only one output is generated at a time.

  • If two or more inputs are active simultaneously, the input with the highest priority (usually the one with the highest input number) is encoded and reflected at the output.

This ensures unambiguous output even when multiple inputs are high.

🔍 Example:

For a 4-to-2 priority encoder with inputs D3 to D0 (D3 has highest priority):

Inputs (D3–D0) Output (Y1 Y0)
1000 11
0100 10
1100 11 (D3 has higher priority)
0011 01 (D1 over D0)

Priority Encoders Question 15:

What is a four-line to two-line priority encoder with active HIGH inputs and outputs, with priority assigned to the higher-order data input line?

  1. X = D+ D3 and Y = D12 + D3
  2. X = D1 + D3 and Y = D12 + D3
  3. X = D+ 3 and Y = D12 + D3
  4. X = D̅+ D3 and Y = 12 + D3

Answer (Detailed Solution Below)

Option 1 : X = D+ D3 and Y = D12 + D3

Priority Encoders Question 15 Detailed Solution

Here, X represents the priority encoder output.

Y represents the valid output corresponding to the highest order active input.

  • In a four-line to two-line priority encoder, the goal is to encode the highest order active input among four lines into a two-bit output.
  • X = D2+D3
  • This equation means that the output X is active (HIGH) when either D2 or D3 is active.
  • It indicates the encoding of the higher-priority input.
  • Y = D1\(\overline D_2\)+D3
  • Y is the two-bit output. It is formed by combining D1D2 if both D1 and D2 are active, or by using D3 if Dis active alone. This represents the highest-order active input.
  • X = D2+D3  
  • Y = D1\(\overline D_2\)+D3

Here, option 1 is correct.

Get Free Access Now
Hot Links: teen patti online teen patti game teen patti app