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

This question was previously asked in
RRB JE ECE 22 Apr 2025 Shift 2 CBT 2 Official Paper
View all RRB JE Papers >
  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.
Free
General Science for All Railway Exams Mock Test
2.1 Lakh Users
20 Questions 20 Marks 15 Mins

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)
Latest RRB JE Updates

Last updated on Jun 7, 2025

-> RRB JE CBT 2 answer key 2025 for June 4 exam has been released at the official website.

-> Check Your Marks via RRB JE CBT 2 Rank Calculator 2025

-> RRB JE CBT 2 admit card 2025 has been released. 

-> RRB JE CBT 2 city intimation slip 2025 for June 4 exam has been released at the official website.

-> RRB JE CBT 2 Cancelled Shift Exam 2025 will be conducted on June 4, 2025 in offline mode. 

-> RRB JE CBT 2 Exam Analysis 2025 is Out, Candidates analysis their exam according to Shift 1 and 2 Questions and Answers.

-> The RRB JE Notification 2024 was released for 7951 vacancies for various posts of Junior Engineer, Depot Material Superintendent, Chemical & Metallurgical Assistant, Chemical Supervisor (Research) and Metallurgical Supervisor (Research). 

-> The selection process includes CBT 1, CBT 2, and Document Verification & Medical Test.

-> The candidates who will be selected will get an approximate salary range between Rs. 13,500 to Rs. 38,425.

-> Attempt RRB JE Free Current Affairs Mock Test here

-> Enhance your preparation with the RRB JE Previous Year Papers

Get Free Access Now
Hot Links: teen patti master new version teen patti circle teen patti glory teen patti royal - 3 patti lucky teen patti