Combinational Circuits Solved Questions
Question 1
Design a combinational logic circuit with three inputs, and the output is at logic 1 when more than one input is at logic 1.
Solution.
To design this combinational logic circuit, we can rely directly on the truth table, extract the Boolean expression, and use algebraic simplification instead.
This circuit is known as a majority gate or majority function circuit, because the output matches whichever logic state represents the majority of the three inputs.
1. The Truth Table
Let the three inputs be A, B, and C, and the output be Y.
The problem states that Y = 1 when more than one input is at logic 1. This means the output is high when any 2 inputs are 1, or when all 3 inputs are 1.
| Input A | Input B | Input C | Number of 1s | Output Y |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 2 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 2 | 1 |
| 1 | 1 | 0 | 2 | 1 |
| 1 | 1 | 1 | 3 | 1 |
2. Algebraic Extraction & Simplification
From the truth table, we can write down the Sum of Products (SOP) expression by looking at the rows where the output Y = 1:
We can simplify this algebraically using the laws of Boolean algebra. The key trick here is the Idempotent Law (A + A = A). Since adding identical terms doesn’t change the logic value, we can duplicate the term ABC to pair it up with each of the other three terms:
Now, rearrange the terms to group them logically:
Factor out the common variables from each group:
Using the Complement Law (X + X’ = 1), we know that (A’ + A) = 1, (B’ + B) = 1, and (C’ + C) = 1:
Final Simplified Expression:
3. Circuit Implementation
The simplified Boolean equation indicates that the circuit requires:
Three 2-input AND gates to evaluate the product pairs (AB, BC, and AC).
One 3-input OR gate to combine the outputs of the AND gates.
Logic Gate Configuration:
AND Gate 1: Inputs A and B =AB
AND Gate 2: Inputs B and C = BC
AND Gate 3: Inputs A and C =AC
OR Gate: Combines all three intermediate terms to deliver the final output: Y = AB + BC + AC.

OR
To design this combinational logic circuit, we will follow a standard digital design process: derive the truth table, simplify the output logic using a Karnaugh Map (K-Map), and then sketch the final logic circuit.
This specific circuit is commonly known as a Majority Function circuit, because the output reflects what the majority of the inputs are doing.
1. The Truth Table
Let the three inputs be A, B, and C, and the output be Y.
The condition states that Y = 1 when more than one input is at logic 1 (meaning 2 or 3 inputs must be 1).
| Input A | Input B | Input C | Number of 1s | Output Y |
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 2 | 1 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 2 | 1 |
| 1 | 1 | 0 | 2 | 1 |
| 1 | 1 | 1 | 3 | 1 |
From the truth table, the Sum of Products (SOP) minterms where the output is 1 are:
2. K-Map Simplification
To find the minimum implementation, we place these 1s into a 3-variable Karnaugh Map:
Plaintext
BC
A \ 00 01 11 10
+----+----+----+----+
0 | 0 | 0 | 1 | 0 | --> minterm m3 (011)
+----+----+----+----+
1 | 0 | 1 | 1 | 1 | --> minterms m5 (101), m7 (111), m6 (110)
+----+----+----+----+
By grouping adjacent 1s in pairs of two, we get three overlapping groups:
Group 1 (m3 and m7): A changes, B and C remain 1 =BC
Group 2 (m5 and m7): B changes, A and C remain 1 =AC
Group 3 (m6 and m7): C changes, A and B remain 1 =AB
Simplified Boolean Equation:
3. Circuit Implementation
The simplified equation tells us that we need:
Three 2-input AND gates to generate the terms AB, BC, and AC.
One 3-input OR gate (or two 2-input OR gates cascaded) to combine them.
Logic Gate Layout:
Pass inputs A and B into the first AND gate = AB
Pass inputs B and C into the second AND gate = BC
Pass inputs A and C into the third AND gate = AC
Feed the outputs of all three AND gates into a 3-input OR gate to get the final output: Y = AB + BC + AC.

Explore More IT Terms
#
- Using an integrating factor
- Equations in total differentials
- Bernoulli's equation
- Linear differential equations of the first order
- 10 Mixed C++ Challenges to Test Your Skills
- 11 Tricky Non-Technical Questions to Ask in a Recruiting Interview
- 50 Terms Every Programmer Should Know
- 52 Java Thread Interview Questions
- 7 Levels of Using the Zip Function in Python
- 7 Python Code Bugs You Need to Fix
- 70+ Free Resources for Learning Programming
A
- A Comprehensive Guide to HTML and CSS
- A Comprehensive Guide to MODX CMS
- A computer science question tests your ability to work with IP addresses and network masks
- A Guide to SQL Query Formatting for Beginners
- A/B testing
- Abstract Data Type (ADT)
- AES Encryption Algorithm: How It Works and Where It's Used
- Agile
- Algorithm
- Algorithm Analysis
- Algorithm Complexity-Key Points
- Algorithm complexity: deep parsing O(log n)
- Algorithm vs. Program
- Algorithms and Data Structures in C#
- An overview of the C # programming language
- An overview of the Python programming language
- Anaconda Python
- Analysis of graphs and adjacency matrices question
- Android
- Android App Bundle
- Android SDK
- Angular
- Ansible
- Apache
- Apache Airflow
- Apache Kafka
- Apache Tomcat
- App Store
- AppCode
- Applications of microcontrollers: From simple circuits in electronics to complex systems
- Applications of the derivative
- Arduino: How to Program It: Basics for Beginners
- Array-based stack
- ArrayList
- ASCII
- ASP.NET
- Assembly Language Lessons
B
C
- C++ Lessons
- Cache
- Calculating Memory Capacity
- Character sets and encodings
- Characteristics of a good Algorithm
- Circular singly linked list
- Coding Tests with Answers
- Combinational Circuits Solved Questions
- Compiler
- Complexity of algorithms-Tutorial
- Computer Science Fundamentals Test with Answers (47 questions)
- Computer science tests with answers (More than 100 Questions)
- Constants
- Creating a Table in HTML
- Creating Forms in HTML
- Creating Lists
- Cybernetics and informatics
- Cycles
D
- Data Analytics: applications of data analysis in companies
- Data Engineer - Who is it, what does a data engineer do, and an overview of the profession
- Data modeling: what it is, types, and process steps.
- Data preprocessing: a complete guide for beginners and professionals.
- Data structure
- Data Structures and Algorithms (DSA)
- Data types vs. Data structures
- Database Tests with Answers
- Deep Learning
- Defining Aliases
- Defining Arrays
- Deque
- Detailed articles and tutorials on PHP
- Developing a Website from Scratch
- Differential Equations
- Differentiation of functions
- Digital data: understand the importance of this asset for businesses.
- Double integrals
- Doubly linked lists
- DSA Tutorial
E
F
G
H
- Handling errors and exceptions
- Heads or Tails? How Probability Theory Is Used in IT
- History of the development of computer science
- Homogeneous equations
- Homogeneous vs. non-homogeneous structures
- How to effectively organize your workflow
- How to Learn Java: Tips for Beginner Developers
- How to Learn PHP: A Beginner's Guide
- How to Use S3 Storage in Kubernetes with CSI
- HTML
- HTML and CSS: Definition, Application, and Operating Principles
- HTML and CSS. Layout from Scratch: What to Learn, Where to Learn, and How Long Will It Take?
- HTML Frame Structure
- HTML Link Formatting
- HTML Quizzes with Answers
I
- if..else construction
- Infinite sequences and series
- Information properties
- Inheritance in Java: A Complete Guide to Principles and Implementation
- Inserting an Image
- Integration of functions
- Interactive Python Tutorial – Learn Programming from Scratch
- Interpreter
- Interview Problem: Finding a Deleted Element in O(N)
- Interview Scare: The FizzBuzz Challenge
- Introduction to C++
- Introduction to Machine Learning
- Introduction to Networking | Network Fundamentals Part 1
- Introduction to Number Systems (Binary, Octal, Hexadecimal) | Math for CS Foundations #1
- IT Specialist Resume (CV)
J
K
L
M
- Machine Learning
- Machine Learning Basic Tool: NumPy
- Machine Learning Basic Tool: Pandas
- Machine Learning Mathematics
- Mathematics for programmers: what is really needed?
- MD5 encryption algorithm: What is it and why is it needed?
- Microcontroller and Microprocessor - what's the difference?
- ML Engineer: Who They Are, What They Do, How Much They Earn, and How to Become a Neural Network Specialist
- Monte Carlo Simulation: How It Works and What It's For
O
P
- PHP lessons
- Private DNS server and its configuration
- Program code
- Programmer's Dictionary
- Programming
- Programming with pseudocode
- Python Code Formatting Guide: PEP8
- Python for data analysis: how to do it and main libraries
- Python Lessons
- Python Superstar: 5 Ways to Use the * Operator
- Python vs. Julia: Should You Replace Python with Julia?
R
S
- SFML Graphics Library Tutorials
- Sorting Algorithms in Programming: Types, Descriptions, and Comparisons
- SQL commands: see what they are, what the main ones are + examples
- SQL Interview Questions and Tasks
- SQL Lessons
- SQL Stored Procedures
- SQL Syntactic Sugar: The COALESCE Function
- Stack
- Start in analytics: Python or R
- Static vs. dynamic data structures
- Statistical analysis: importance for decision making.
- String formatting in Python
- Structure of computer science
- Swift Lessons
- switch/match construct
- Syntax
T
- Terms in programming
- Text and paragraph formatting tags
- The Complete Guide to Bootstrap
- The Complete Guide to JavaScript
- The concept of information and its transmission
- The Future of Python: Key Trends and Insights from Global Researc
- The Infrastructure of Code: A Complete Guide to Repositories for Languages, Frameworks, and Compilers
- The pip package manager in Python
- The role of informatization in the development of society
- Transfers
- Tricky Java Questions Often Asked in Interviews
- Tutorials / Articles
- TypeScript: What It Is and Why Developers Need It
W
- What are databases, and why do they need DBMS and SQL?
- What do Linux distributions consist of?
- What is .NET and what is it used for?
- What is a data structure?
- What is a GPU in a computer, in simple terms?
- What is a quantum computer: 100,500 problems in one second
- What Is an Algorithm?
- What is Arduino: How it Works and the Platform's Capabilities
- What is Big Data? Introduction, Types, Characteristics, and Examples
- What is FizzBuzz Challenge?
- What is Golang and what is it used for?
- What is Haskell and what is it used for?
- What is Kotlin and what is it used for?
- What is Linux? The History of Linux
- What is machine learning, and how does it work?
- What is Power BI: everything about the data analytics software
- What is recursion, recursive and iterative process in programming?
- What is the C++ programming language?
- What is the OSI Model: A Complete Explanation of the Seven Layers and Their Role in Networking
- What's the difference between x86 and ARM processors?
- Where to start learning the C programming language?
- Which Linux distribution should you choose? A Linux distribution overview
