Digital systems use binary values (0 and 1) to process information and perform calculations. NIMCET data representation includes concepts such as Boolean algebra, binary arithmetic and digital logic circuits, which help explain how computers process these values.
Combinational circuits produce outputs based only on present inputs, whereas sequential circuits also depend on previously stored states. Understanding their types, logic gates, truth tables and applications is important for solving Computer Awareness questions in NIMCET 2027.
Digital logic circuits are electronic circuits that process binary signals. A binary signal has only two possible values: 0 and 1. Computers, calculators, digital watches and communication systems use these circuits to process and transmit information.
Digital logic circuits are mainly divided into two categories:
Combinational circuits
Sequential circuits
The primary difference is that combinational circuits depend only on current inputs, while sequential circuits also use stored information from previous states.
Combinational circuits are digital circuits in which the output depends only on the present input values. They do not store previous inputs or outputs.
For example, a half adder takes two binary inputs and produces their sum and carry without remembering any earlier calculation.
Main features of combinational circuits:
They do not have memory elements.
They do not use feedback from output to input.
They do not require a clock signal.
Their outputs change according to the current combination of inputs.
Their operation depends on the present input values.
Combinational circuits are commonly used for arithmetic operations, data selection, data conversion and digital display systems.
Combinational circuits are classified according to their functions. Some perform binary addition and subtraction, while others select, convert, compare or display data.
|
Category |
Examples of Combinational Circuits |
|
Arithmetic circuits |
Half adder, full adder, half subtractor, full subtractor |
|
Data selection |
Multiplexer (MUX), demultiplexer (DEMUX) |
|
Data conversion |
Encoder, decoder, code converter |
|
Comparison |
Digital comparator |
|
Display systems |
Seven-segment display circuit |
Truth tables, Boolean expressions and input-output relationships are important for understanding these circuits.
Adders are combinational circuits used to perform binary addition. A half adder adds two single-bit binary numbers, whereas a full adder adds three input bits, including a carry from the previous addition.
A half adder adds two single-bit binary inputs, A and B. It produces two outputs: Sum and Carry.
Truth Table of Half Adder
|
A |
B |
Sum |
Carry |
|
0 |
0 |
0 |
0 |
|
0 |
1 |
1 |
0 |
|
1 |
0 |
1 |
0 |
|
1 |
1 |
0 |
1 |
Boolean Expressions:
Sum = A XOR B
Carry = A AND B
The Sum output is generated using an XOR gate, while the Carry output is generated using an AND gate.
For example, when A = 1 and B = 1, the binary addition is 1 + 1 = 10. Therefore, the Sum is 0, and the Carry is 1.
A full adder adds three single-bit inputs: A, B and Carry-in (Cin). It produces two outputs: Sum and Carry-out (Cout).
Truth Table of Full Adder
|
A |
B |
Cin |
Sum |
Cout |
|
0 |
0 |
0 |
0 |
0 |
|
0 |
0 |
1 |
1 |
0 |
|
0 |
1 |
0 |
1 |
0 |
|
0 |
1 |
1 |
0 |
1 |
|
1 |
0 |
0 |
1 |
0 |
|
1 |
0 |
1 |
0 |
1 |
|
1 |
1 |
0 |
0 |
1 |
|
1 |
1 |
1 |
1 |
1 |
Boolean Expressions:
Sum = A XOR B XOR Cin
Cout = (A AND B) OR (B AND Cin) OR (A AND Cin)
A full adder can be constructed using two XOR gates, two AND gates and one OR gate.
Both circuits perform binary addition, but they differ in the number of inputs and their ability to handle carry.
|
Basis |
Half Adder |
Full Adder |
|
Number of inputs |
2 |
3 |
|
Carry input |
Not present |
Present |
|
Outputs |
Sum and Carry |
Sum and Carry-out |
|
Main use |
Single-bit addition |
Multi-bit binary addition |
|
Sum expression |
A XOR B |
A XOR B XOR Cin |
Several full adders can be connected to perform multi-bit binary addition.
Subtractors are combinational circuits used to perform binary subtraction. They produce two outputs: Difference and Borrow.
A half subtractor subtracts input B from input A. It generates Difference and Borrow outputs.
Truth Table of Half Subtractor
|
A |
B |
Difference |
Borrow |
|
0 |
0 |
0 |
0 |
|
0 |
1 |
1 |
1 |
|
1 |
0 |
1 |
0 |
|
1 |
1 |
0 |
0 |
Boolean Expressions:
Difference = A XOR B
Borrow = NOT A AND B
The Difference output uses an XOR gate, while the Borrow output uses NOT and AND operations.
A full subtractor subtracts input B and an incoming borrow (Bin) from input A. It produces Difference and Borrow-out (Bout).
Boolean Expressions:
Difference = A XOR B XOR Bin
Bout = (NOT A AND B) OR (NOT A AND Bin) OR (B AND Bin)
A full subtractor is useful when the subtraction involves a borrow from the previous lower-order bit.
The main difference is that a half subtractor cannot accept an incoming borrow, while a full subtractor can handle it.
|
Basis |
Half Subtractor |
Full Subtractor |
|
Number of inputs |
2 |
3 |
|
Borrow input |
Not present |
Present |
|
Outputs |
Difference and Borrow |
Difference and Borrow-out |
|
Main use |
Single-bit subtraction |
Multi-bit binary subtraction |
Binary subtraction follows the same basic principle as decimal subtraction, but it uses only 0 and 1. Borrowing is required when a smaller binary digit is subtracted from a larger one.
For example, in 0 - 1:
The digit 0 cannot directly subtract 1.
A borrow is taken from the next higher bit.
The current 0 becomes 10 in binary, which is equal to 2 in decimal.
After subtracting 1, the result is 1.
If the next higher bit is also 0, borrowing continues from a further higher bit.
Negative binary results can also be represented using two's complement. This connects binary subtraction with two's complement arithmetic in NIMCET data representation.
Encoders and decoders are combinational circuits used to convert information between different forms. An encoder converts multiple input lines into coded output lines, whereas a decoder performs the reverse operation.
An encoder converts 2^n input lines into n output lines. For example, a 4-to-2 encoder has four input lines and two output lines.
Truth Table of a 4-to-2 Encoder
|
Active Input |
Output |
|
Y0 |
00 |
|
Y1 |
01 |
|
Y2 |
10 |
|
Y3 |
11 |
The table assumes that only one input is active at a time.
For example, when input Y2 is active, the output is 10.
A decoder converts n input lines into 2^n output lines. For example, a 2-to-4 decoder has two inputs, A and B, and four outputs: Z0, Z1, Z2 and Z3.
Truth Table of a 2-to-4 Decoder
|
A |
B |
Active Output |
|
0 |
0 |
Z0 |
|
0 |
1 |
Z1 |
|
1 |
0 |
Z2 |
|
1 |
1 |
Z3 |
Only one output becomes active for each input combination in a standard active-high decoder.
A decoder may also have an enable input. When enabled, it operates according to its input combination. When disabled, its outputs remain in the inactive state.
|
Basis |
Encoder |
Decoder |
|
Function |
Converts multiple inputs into coded outputs |
Converts coded inputs into multiple outputs |
|
Input lines |
2^n |
n |
|
Output lines |
n |
2^n |
|
Operation |
Encoding |
Decoding |
Multiplexers and demultiplexers are combinational circuits used for data selection and distribution. They help direct information between multiple input and output lines.
Multiplexer (MUX):
A multiplexer selects one input from multiple input lines and sends it to a single output line. It is also known as a data selector.
Demultiplexer (DEMUX):
A demultiplexer takes one input and sends it to one of several output lines. It is also known as a data distributor.
|
Circuit |
Input Lines |
Output Lines |
Main Function |
|
Multiplexer (MUX) |
Many |
One |
Selects one input |
|
Demultiplexer (DEMUX) |
One |
Many |
Sends input to one selected output |
Selection lines determine which input or output is selected. A multiplexer with 2^n data inputs requires n selection lines.
For example, a 4-to-1 multiplexer has four data inputs, two selection lines and one output.
A seven-segment display is an electronic display made of seven individual segments, usually LEDs. These segments are labelled A, B, C, D, E, F and G.
Different combinations of illuminated segments represent numbers from 0 to 9 and some letters.
|
Character |
Segments ON |
|
0 |
A, B, C, D, E, F |
|
1 |
B, C |
|
2 |
A, B, G, E, D |
|
A |
A, B, C, E, F, G |
Seven-segment displays are commonly used in digital clocks, calculators and electronic display boards.
Logic gates are the basic building blocks of digital circuits. They perform logical operations on binary inputs and produce binary outputs. AND, OR, NOT, NAND, NOR, XOR and XNOR are commonly used logic gates.
Each logic gate performs a specific Boolean operation.
|
Gate |
Boolean Expression |
Function |
|
AND |
A AND B |
Output is 1 when both inputs are 1 |
|
OR |
A OR B |
Output is 1 when at least one input is 1 |
|
NOT |
NOT A |
Reverses the input |
|
NAND |
NOT (A AND B) |
Opposite of AND |
|
NOR |
NOT (A OR B) |
Opposite of OR |
|
XOR |
A XOR B |
Output is 1 when inputs are different |
|
XNOR |
NOT (A XOR B) |
Output is 1 when inputs are equal |
Truth Table of Two-Input Logic Gates
|
A |
B |
AND |
OR |
NAND |
NOR |
XOR |
XNOR |
|
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
|
0 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
|
1 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
|
1 |
1 |
1 |
1 |
0 |
0 |
0 |
1 |
Boolean algebra is used to simplify logical expressions and design digital circuits. Simplified expressions generally require fewer logic gates, making circuit implementation easier.
|
Law |
Expression |
|
Identity law |
A AND 1 = A; A OR 0 = A |
|
Idempotent law |
A AND A = A; A OR A = A |
|
Complement law |
A AND NOT A = 0; A OR NOT A = 1 |
|
De Morgan's first law |
NOT (A OR B) = (NOT A) AND (NOT B) |
|
De Morgan's second law |
NOT (A AND B) = (NOT A) OR (NOT B) |
These laws help simplify Boolean expressions and realise circuits using different combinations of logic gates. Students can also revise the NIMCET Boolean algebra and logic gate concepts for additional practice.
The XNOR function produces an output of 1 when both binary inputs are equal.
Its Boolean expression is:
XNOR = (A AND B) OR (NOT A AND NOT B)
An XNOR gate can be constructed using four NOR gates. This realisation uses NOR operations and Boolean algebra to generate the required output.
Sequential circuits are digital circuits in which the output depends on present inputs as well as previously stored states. They use memory elements to retain information.
Unlike combinational circuits, sequential circuits can use feedback and clock signals to control changes in their states.
Main features of sequential circuits:
They contain memory elements.
Their outputs depend on present inputs and previous states.
They may use feedback connections.
They may use clock signals for synchronisation.
They are useful in systems where the order of operations matters.
Sequential circuits are broadly classified into two types:
Synchronous sequential circuits: These circuits use a clock signal to control when their states change. Registers and synchronous counters are common examples.
Asynchronous sequential circuits: These circuits do not depend on a common clock signal. Their outputs change in response to changes in inputs and internal states.
Flip-flops are basic memory elements used in sequential circuits. They can store one bit of binary information.
Common types of flip-flops include:
SR Flip-Flop
JK Flip-Flop
D Flip-Flop
T Flip-Flop
These memory elements are used in registers, counters and digital storage systems.
For NIMCET preparation, understand the basic difference between memory-based sequential circuits and combinational circuits that do not store previous information.
Combinational and sequential circuits differ mainly in their use of memory, feedback and clock signals. This comparison is important for understanding digital logic and answering direct theory questions.
|
Basis |
Combinational Circuits |
Sequential Circuits |
|
Output dependency |
Present inputs only |
Present inputs and previous states |
|
Memory |
No memory |
Uses memory elements |
|
Feedback |
No feedback |
May use feedback |
|
Clock signal |
Not required |
May be used |
|
Examples |
Adders, subtractors, MUX, DEMUX, encoders and decoders |
Counters, registers and memory-based circuits |
In simple terms, a combinational circuit produces an output based on current inputs, whereas a sequential circuit also considers its stored state.
The official NIMCET 2027 syllabus and examination pattern should be checked when released. Aspirants can also refer to the NIMCET syllabus and practise using NIMCET previous year question papers.
Computer Awareness carried 20 questions for 120 marks in the NIMCET 2026 examination pattern. The examination also included negative marking, making accuracy important while solving logic-circuit questions. Aspirants should refer to the official notification for the applicable examination pattern.
Students preparing for NIMCET 2027 should focus on the following topics:
Learn the truth tables of basic logic gates.
Practise half adder and full adder truth tables.
Understand half subtractor and full subtractor operations.
Solve binary addition and subtraction questions involving borrow.
Learn encoder and decoder input-output relationships.
Revise seven-segment display combinations.
Practise Boolean expression simplification.
Understand XNOR realisation using NOR gates.
Draw logic diagrams from Boolean expressions.
Understand the role of memory elements in sequential circuits.
Combinational and sequential circuits become easier to understand when students practise binary operations, logic gates and truth tables. Regular revision of adders, subtractors, multiplexers, encoders and decoders can strengthen preparation for NIMCET Computer Awareness.
For proper preparation of data representation, Boolean algebra and other Computer Awareness topics, students can explore PW's NIMCET preparation resources and online coaching batches for classes, notes and practice material.
