This section contains carefully selected MCQs and Previous Year Questions with explanations to help students understand concepts and prepare effectively for examinations, interviews, and competitive tests.
Q: 1How many 3 to 8 line decoders are required for a 1 of 32 decoders?
Option C
A 1-of-32 decoder needs 5 input lines because 25 = 32, which means 5 bits can represent 32 different output lines.
A 3-to-8 decoder uses 3 input lines and produces 8 output lines. To design a 1-of-32 decoder using 3-to-8 decoders, the 5 inputs are divided into two groups:
Since 2 input lines can select 22=4 decoders, we need 4 separate 3-to-8 decoders. Each decoder produces 8 outputs, so together they produce, 4*8 = 32 outputs.
Therefore, four 3-to-8 decoders are required to build a 1-of-32 decoder.
Q: 2The number of select inputs required for a 8:1 multiplexer are
Option C
For a multiplexer, the number of select inputs is decided by the relation,
Select Inputs=log2(Number of Data Inputs)
An 8:1 multiplexer has 8 data inputs and only one output, which means we need enough select lines to uniquely choose one of the 8 inputs. Since log2(8) = 3, three select inputs are required.
Q: 3A Decimal to Binary Coded Encoder have ______ inputs and ______ outputs.
Option B
An encoder is a combinational circuit that converts one form of data into another coded form. A Decimal to Binary Coded Encoder converts decimal digits into binary code.
In a decimal number system, there are 10 possible digits from 0 to 9, so a decimal-to-binary encoder requires 10 input lines.
To represent these decimal digits in binary form, 4 output lines are sufficient because 4 binary bits can represent up to 16 different combinations (24 = 16), which easily covers decimal values from 0 to 9.
Q: 4How many select lines are required for an 8 to 1 multiplexer?
Option B
An 8-to-1 multiplexer selects one input out of 8 possible inputs. To uniquely select any one of these 8 inputs, we need enough select lines to represent all combinations. The number of select lines (n) required is determined using the formula 2n=8. Solving this gives n=3.
Q: 5What is the relation between N select inputs and M inputs lines in a multiplexer?
Option B
A Multiplexer (MUX) is a combinational circuit that selects one input from multiple input lines and transfers it to a single output line. The selection of the input line is controlled by select lines.
If a multiplexer has, N select lines, then each select line can have two possible values (0 or 1). Therefore, total possible input combinations become M=2N.
Q: 6In a half-adder circuit, what are the outputs?
Option A
A half-adder is a basic digital circuit used to add two single-bit binary numbers. It produces two outputs:
Q: 7How many select lines would be required for 8 × 1 multiplexer?
Option D
A multiplexer (MUX) selects one input line from many and sends it to the output using select lines. The number of select lines required depends on the number of input lines and follows the formula, Number of select lines=log2(N). Where N is the number of inputs.
For an 8 × 1 multiplexer, there are 8 input lines, so: log2(8)=3. This means 3 select lines are required to uniquely select one of the 8 inputs.
Q: 8To display time in railway stations which digital circuit is used?
Option A
Railway stations typically use digital clocks that display time numerically. These clocks use seven-segment displays, where each digit (0–9) is formed by lighting specific segments.

The decoder accepts four BCD inputs A, B, C and D and seven outputs a, b, c, d, e, f and g to display any decimal number from 0 to 9.

To convert BCD (Binary-Coded Decimal) input into signals that light up the correct segments, a seven-segment decoder is used. This decoder determines which segments should glow to represent each digit.
Q: 9A switching circuit that produces one in a set of input bits as an output based on the control value of control bits is termed as:
Option C
A Multiplexer (MUX) is a combinational switching circuit that has multiple input lines, one output line, and a set of control or select lines.
The function of a multiplexer is to select one input from the set of input bits and forward it to the output, depending on the binary value applied to the control lines.
Q: 10To display time in railway stations which digital circuit is used?
Option A
The correct circuit used to display time in railway stations is the seven-segment decoder. This digital circuit takes binary or BCD (Binary Coded Decimal) input and activates specific segments of a seven-segment ((labeled a through g)) display to show digits from 0 to 9.
Seven-segment decoders are commonly used in digital clocks and display boards because they convert numerical data into a human-readable format. Therefore, for displaying time, this is the most appropriate choice.
Q: 11Which device is used for achieving seven-segment from BCD?
Option D
A BCD to Seven-Segment Decoder is used to convert Binary Coded Decimal (BCD) input into signals required to display digits on a seven-segment display.
The decoder takes a 4-bit BCD number as input and activates the appropriate segments (a to g) to display decimal numbers from 0 to 9.
Q: 12A logic circuit that accepts one input and distributes it over several output is known as _________.
Option D
A Demultiplexer (DEMUX) is a combinational logic circuit that takes one input and transfers it to one of many output lines depending on the selection inputs.
It performs the reverse operation of a multiplexer. A multiplexer selects one input from many inputs and sends it to a single output, whereas a demultiplexer distributes one input to multiple outputs.
For example, in a 1-to-4 demultiplexer, one input can be sent to any one of the four output lines based on select lines.
Q: 13Which of the following is a combinational logic circuit that has 2n input lines and a single output line?
Option A
A Multiplexer (MUX) is a combinational logic circuit that selects one input from 2n input lines and forwards it to a single output line based on n select lines. It effectively channels multiple inputs into a single output line by selecting one input at a time.
| Circuit | No of Inputs | No of Outputs | Description |
|---|---|---|---|
| Multiplexer (MUX) | 2n data inputs and n select lines. | 1 output | Selects one input from 2n inputs based on select lines. |
| Demultiplexer (DEMUX) | 1 data input and n select lines. | 2n outputs | Routes one input line to one of 2n outputs depending on select line values. |
| Encoder | 2n inputs. | n outputs | Converts 2n active input lines into an n-bit binary code on the output lines. |
| Decoder | n inputs. | 2n outputs. | Converts n input bits into 2n outputs where only one output is active based on input code. |
| Half Adder | 2 inputs | 2 outputs (Sum, Carry) | Adds two binary digits producing sum and carry outputs. |
| Full Adder | 3 inputs (including carry in) | 2 outputs (Sum, Carry) | Adds three binary bits including carry-in and produces sum and carry outputs. |
Q: 14To display time in railway stations which digital circuit is used?
Option A
Seven-segment decoder एक डिजिटल सर्किट होता है जो बाइनरी या BCD (Binary-Coded Decimal) इनपुट को इस तरह के सिग्नल में बदलता है, जिससे seven-segment display के कुछ खास हिस्से (जिन्हें a–g से नाम दिया जाता है) जलते हैं और वो किसी संख्या (0 से 9) को दिखाते हैं।
✅ इसका इस्तेमाल आमतौर पर डिजिटल घड़ियों, कैलकुलेटर और डिस्प्ले बोर्डों (जैसे रेलवे स्टेशन पर) किया जाता है।
✅ उदाहरण: इनपुट = 0011 (BCD में 3) → डिकोडर a, b, c, d, g सेगमेंट को जलाता है ताकि डिस्प्ले पर 3 दिखाई दे।
Q: 15The numbers of selection lines for 8 to 1 multiplexer are :
Option C
For a multiplexer, the number of select inputs is decided by the relation,
Select Inputs=log2(Number of Data Inputs)
An 8:1 multiplexer has 8 data inputs and only one output, which means we need enough select lines to uniquely choose one of the 8 inputs. Since log2(8) = 3, three select inputs are required.
You have reached the end of this topic. Continue learning with the next topic below.
Thank you so much for taking the time to read my Computer Science MCQs section carefully. Your support and interest mean a lot, and I truly appreciate you being part of this journey. Stay connected for more insights and updates! If you'd like to explore more tutorials and insights, check out my YouTube channel.
Don’t forget to subscribe and stay connected for future updates.