Look into analog and digital signals, Boolean algebra with logic gates, truth tables and logic diagrams, and a step-by-step method for troubleshooting computer systems.
This chapter covers how computers process analog and digital signals through ADCs and DACs, how Boolean algebra and logic gates form the basis of digital circuits, and how to read truth tables and simplify Boolean expressions. It also teaches a systematic seven-step process for troubleshooting hardware and software problems.
Chapter Introduction
What this chapter is about, and why it matters
This chapter has two halves that look unrelated but are not. The first half is about how a computer turns messy real-world signals into clean 0s and 1s, and how those 0s and 1s are combined using logic gates. The second half is about fixing computers when they break. The link between them is the same skill: reasoning from an output back to a cause.
Boolean algebra is the part students find intimidating, mostly because of the notation. It helps to remember that a logic gate is not doing anything mysterious — an AND gate is the electrical version of "both conditions must be true", which you already use every day ("I will go out if it stops raining AND my homework is done").
The troubleshooting section is easy to under-prepare because it feels like common sense. It is not: examiners want the *ordered process*, and marks are given for following it in sequence rather than for guessing the right fix.
What You Will Learn
The skills this chapter is assessed on
1Distinguish analog from digital signals and explain the role of an ADC and a DAC.
2Recognise the AND, OR, NOT, NAND, NOR and XOR gates and write the truth table for each.
3Build a truth table for a Boolean expression with two or three inputs.
4Simplify a Boolean expression using the basic laws of Boolean algebra.
5Apply a systematic troubleshooting process to diagnose a hardware or software fault.
Key Concepts Explained
10 core ideas — each with its definition and a separate worked example
1.Analog signal
Definition
An analog signal is a continuous signal whose value can change smoothly through an unlimited number of intermediate levels over time.
Example
Your voice is analog. As you speak, the air pressure rises and falls smoothly — there is no moment where it jumps from one fixed level to the next. A dimmer switch sliding a lamp from off to full brightness is the same idea.
2.Digital signal
Definition
A digital signal is a discrete signal that takes only a limited set of fixed values, normally two — represented as 0 and 1.
Example
A normal light switch is digital: the lamp is either on or off, with nothing in between. A song stored as an MP3 is digital too — it is a long list of numbers, not a smooth wave.
Detailed Explanation
Digital signals win because they survive noise. A slightly distorted analog signal is permanently slightly wrong; a slightly distorted digital signal still reads clearly as 0 or 1, so the original value is recovered exactly. This is why a photocopy of a photocopy degrades but a copied file does not.
3.ADC and DAC
Definition
An Analog-to-Digital Converter (ADC) samples a continuous analog signal and turns it into discrete binary values. A Digital-to-Analog Converter (DAC) does the reverse, rebuilding a continuous signal from binary values.
Example
Recording a voice note uses an ADC: the microphone picks up smooth sound waves and the ADC turns them into numbers the phone can store. Playing that voice note back uses a DAC: the numbers are converted back into a smooth electrical wave that moves the speaker.
Detailed Explanation
Remember the direction from the name — the first letter is what goes IN. ADC takes Analog in. DAC takes Digital in. Students who memorise this never mix the two up again.
4.Logic gate
Definition
A logic gate is an electronic circuit that takes one or more binary inputs and produces a single binary output according to a fixed logical rule.
Example
A microwave uses AND logic: the magnetron runs only if the timer is running AND the door is closed. If either input is 0, the output is 0 — which is exactly why the microwave stops the instant you open the door.
5.Truth table
Definition
A truth table is a table that lists every possible combination of input values for a logic circuit alongside the output produced for each combination.
Example
The truth table for a two-input AND gate has four rows, because two inputs give 2² = 4 combinations:
A B | A AND B
0 0 | 0
0 1 | 0
1 0 | 0
1 1 | 1
Detailed Explanation
The number of rows is always 2 raised to the number of inputs: 2 inputs give 4 rows, 3 inputs give 8 rows. Write the input columns in counting order (00, 01, 10, 11) and you will never miss a combination.
6.The NOT gate (inverter)
Definition
A NOT gate has a single input and produces the opposite value as its output: 0 becomes 1, and 1 becomes 0.
Example
A fridge alarm uses NOT logic. The door sensor outputs 1 when the door is closed; the alarm needs to sound when the door is open, so the sensor output is inverted and fed to the buzzer.
7.NAND and NOR gates
Definition
A NAND gate produces the inverse of an AND gate's output, and a NOR gate produces the inverse of an OR gate's output. Both are called universal gates because any other gate can be built from them alone.
Example
A two-input NAND outputs 1 in every case except when both inputs are 1. So NAND(1,1) = 0, while NAND(1,0), NAND(0,1) and NAND(0,0) all = 1 — the exact mirror image of AND.
Detailed Explanation
Being "universal" matters commercially: a factory can manufacture one gate type in enormous quantity and build every circuit from it, which is cheaper than producing six different gates.
8.XOR gate
Definition
An XOR (exclusive OR) gate outputs 1 when its inputs are different, and 0 when its inputs are the same.
Example
A stairway light controlled by two switches is XOR logic: flipping either switch changes the light. The light is on when the switches disagree and off when they agree.
9.Boolean algebra
Definition
Boolean algebra is a branch of algebra in which variables have only two possible values, true (1) and false (0), and are combined using the operations AND, OR and NOT.
Example
The expression A + A·B looks like it needs three gates, but the absorption law simplifies it to just A. Fewer gates means a cheaper, faster, cooler-running circuit — which is the entire point of simplifying.
Detailed Explanation
In Boolean notation, "+" means OR and "·" means AND. They are not addition and multiplication, which is why 1 + 1 = 1 here rather than 2 — a fact that looks like a typo until you read "+" as OR.
10.Systematic troubleshooting
Definition
Troubleshooting is a structured method of diagnosing a fault: identify the problem, gather information, establish a probable cause, test that theory, plan and apply a fix, verify that the system works, and document what was done.
Example
A computer will not display anything. Instead of replacing the monitor immediately, you identify (no display, but the fan runs), gather information (it worked yesterday, nothing was moved), theorise (loose display cable), test (reseat the cable), verify (image returns), and document the fix. Total cost: nothing.
Detailed Explanation
The reason the process starts with information gathering rather than fixing is that the most expensive repairs are the unnecessary ones. Changing two things at once is the classic error — if the fault clears, you no longer know which change fixed it.
Step-by-Step Worked Examples
How to lay the answer out so method marks are earned
Building a truth table for A AND (NOT B)
Question: Construct the truth table for the Boolean expression A · B̄ (A AND NOT B).
1Two inputs means 2² = 4 rows. List A and B in counting order: 00, 01, 10, 11.
2Add a working column for NOT B — invert every value in column B: 1, 0, 1, 0.
3Row A=0, B=0: NOT B = 1, so 0 AND 1 = 0.
4Row A=0, B=1: NOT B = 0, so 0 AND 0 = 0.
5Row A=1, B=0: NOT B = 1, so 1 AND 1 = 1.
6Row A=1, B=1: NOT B = 0, so 1 AND 0 = 0.
Answer
The output is 1 only in the row where A = 1 and B = 0. Adding the intermediate NOT B column is what earns method marks — do not do it in your head.
Simplifying A + A·B
Question: Simplify the Boolean expression A + A·B and state the law used.
1Factor out A from both terms: A + A·B = A·(1 + B).
2Apply the identity 1 + B = 1, because OR-ing anything with true is always true.
3Substitute back: A·1.
4Apply the identity A·1 = A.
Answer
A + A·B simplifies to A. This is the absorption law. In hardware terms, two gates have been removed with no change in behaviour.
Where This Is Used in Real Life
The same ideas, outside the syllabus
Why streamed music sounds different from a live performance
Streaming compresses an already-sampled digital signal. The ADC stage decides how many times per second the wave is measured, and everything between two measurements is discarded forever. Higher sampling rates capture more of the original wave, which is the whole argument behind "high-resolution" audio.
Logic gates inside a calculator
Binary addition is built almost entirely from XOR and AND gates: XOR produces the sum digit and AND produces the carry. Chain a few of these together and you have a circuit that adds numbers — a direct line from this chapter to how a processor actually computes.
Troubleshooting as a professional skill
The identify → theorise → test → verify → document loop is the same process used by IT support desks, car mechanics and doctors. Documenting the fix is the step beginners skip and professionals never do, because next month the same fault will appear on a different machine.
Common Mistakes to Avoid
Errors that cost marks in this chapter, and the correction for each
Mistake
Mixing up ADC and DAC.
Correct Approach
Read the first letter as the input. ADC = Analog goes in, digital comes out (microphone). DAC = Digital goes in, analog comes out (speaker).
Mistake
Writing 1 + 1 = 2 in a Boolean expression.
Correct Approach
In Boolean algebra "+" is OR, not addition, so 1 + 1 = 1. There is no value 2 in a system that only has 0 and 1.
Mistake
Producing a truth table with the wrong number of rows.
Correct Approach
Rows = 2^(number of inputs), always. Three inputs need eight rows — writing four is an automatic loss of marks even if every row you did write is correct.
Mistake
Confusing OR with XOR.
Correct Approach
OR outputs 1 when at least one input is 1, including when both are. XOR outputs 0 when both are 1. The difference lives entirely in that final row.
Mistake
Jumping straight to a solution in a troubleshooting question.
Correct Approach
Marks are awarded for the ordered process, not the fix. Even if you know the answer instantly, write the steps in sequence and state what you would test.
Mistake
Changing several things at once while diagnosing a fault.
Correct Approach
Change one variable, then retest. If you swap the cable and the RAM together and the machine works, you have learned nothing about what was broken.
Exam Preparation Tips
Technique specific to this chapter
Draw truth tables with an intermediate column for each sub-expression. Examiners award method marks for those columns even when the final column has an error.
Memorise the six gate symbols by shape. A question that asks you to label a logic diagram is free marks if you know them, and impossible if you do not.
When simplifying Boolean expressions, name the law you used at each step — "absorption law", "identity law". Unnamed steps often score lower.
For troubleshooting questions, number your steps. It makes the sequence visible to the marker at a glance.
If asked to compare analog and digital, use a table with a clear basis of comparison in the left column — nature of signal, noise resistance, storage, example.
Quick Revision Summary
The whole chapter in one screen — read this the night before
Analog = continuous and smooth. Digital = discrete, 0 or 1.
Digital resists noise because a slightly distorted 1 still reads as 1.
ADC: analog in, digital out (microphone). DAC: digital in, analog out (speaker).
AND = 1 only if all inputs are 1. OR = 1 if any input is 1.
NOT inverts. NAND = inverted AND. NOR = inverted OR.
XOR = 1 only when inputs differ.
NAND and NOR are universal — any circuit can be built from either alone.
Truth table rows = 2^(number of inputs).
In Boolean notation, + means OR and · means AND.
Troubleshooting order: identify → gather info → theorise → test → fix → verify → document.
Glossary of Terms
Words used in this chapter, defined plainly
Discrete
Taking only separate, fixed values with nothing in between.
Sampling
Measuring an analog signal at regular intervals to convert it to digital.
Universal gate
A gate (NAND or NOR) from which every other logic gate can be built.
Inverter
Another name for a NOT gate.
Logic diagram
A drawing showing gates and the connections between them.
Probable cause
The most likely explanation for a fault, formed before testing begins.
Practice Questions
Now test yourself on the concepts above. Collapse the answers to make it a real practice run.
Multiple Choice Questions with Explanations
9 MCQs — pick an option to check yourself, then read why the answer is right
1Which Boolean expression correctly represents the OR operation?
Correct answer: B — P = A + B
The OR operation is written mathematically as P = A + B, and it gives a true (1) output whenever at least one of its inputs A or B is true.
2What is the dual of the Boolean expression A · 0 = 0?
Correct answer: A — A + 1 = 1
The dual of a Boolean expression is found by swapping AND (·) with OR (+), and 0 with 1. Applying this to A · 0 = 0 gives A + 1 = 1.
3Which logic gate gives a true output only when both of its inputs are true?
Correct answer: B — AND gate
The AND gate outputs 1 (true) only when both inputs are 1; if either input is 0, the output is 0 — this is summarised in its truth table.
4What decimal number does the binary value 1101 equal?
5What is the first step in the systematic troubleshooting process?
Correct answer: C — Identify Problem
The troubleshooting process starts by identifying the problem — recognizing that something isn't working as it should, e.g., noticing that a laptop won't turn on.
6Why does effective troubleshooting matter for maintaining systems?
Correct answer: C — It ensures systems continue to operate smoothly and efficiently
Troubleshooting helps quickly spot and resolve problems, cutting downtime, protecting data, improving security, and keeping computers, software, and networks running smoothly and efficiently.
7Which step of the troubleshooting process involves forming an idea about what might be causing the problem?
Correct answer: B — Establish a Theory of Probable Cause
After identifying the problem, the next step is "Establish a Theory of Probable Cause" — considering what could possibly be causing it (e.g., a dead battery, faulty cable, or hardware fault).
8After a solution is implemented, what is the next step in the troubleshooting process?
Correct answer: C — Verify Full System Functionality
Once a solution has been put in place, the next step is "Verify Full System Functionality" — checking that the original problem is fully resolved and the system is working correctly again.
9Why does troubleshooting matter in computing systems?
Correct answer: C — It helps keep systems running smoothly, securely, and efficiently
Troubleshooting allows problems to be found and fixed quickly, which prevents downtime, protects data integrity, improves security, enhances performance, and extends the working life of equipment.
Short Questions with Answers
10 short-answer questions
A Boolean function is a function that takes one or more binary inputs and produces a single binary output. The inputs and outputs can only take two values: False (0) or True (1). Boolean functions describe the relationship between variables using logic operations such as AND, OR, and NOT.
A truth table shows the output of a Boolean function or logic gate for every possible input combination. It helps in analyzing and understanding how digital circuits behave.
A NOT gate takes a single binary input and produces its opposite as output. If the input is 1, the output is 0; if the input is 0, the output is 1.
Truth Table:
A | NOT (A)
1 | 0
0 | 1
An ADC (Analog to Digital Converter) turns analog signals into digital signals so computers and devices can process them. A DAC (Digital to Analog Converter) turns digital signals back into analog form so humans can perceive them, e.g., through speakers.
Truth Table:
A | B | A · B
0 | 0 | 0
0 | 1 | 0
1 | 0 | 0
1 | 1 | 1
The first step is to identify the problem, recognizing that something isn't working as it should.
The next step is to establish a theory of probable cause, considering what might be causing the problem.
Testing the theory helps confirm whether the suspected cause is correct, making sure the real problem is identified before corrective action is taken.
Implementing the solution means putting the plan of action into practice, such as replacing a faulty component or applying a software fix, to resolve the problem.
Verifying full system functionality confirms that the problem is completely resolved and that the system is operating properly, preventing recurring issues.
Long Questions with Detailed Answers
6 in-depth answers
Boolean operations matter a great deal in computers because they help the machine make decisions and process information. Computers work using only two values: 0 (False) and 1 (True). Boolean operations like AND, OR, and NOT combine these values to carry out different tasks. For example:
- In the CPU, Boolean operations support arithmetic tasks like addition and subtraction.
- In memory and storage, they help process and organize data efficiently.
- In control systems, they determine how different parts of the computer should work together.
By using Boolean logic, computers can solve problems, follow instructions, and control hardware. Without Boolean operations, computers wouldn't be able to function properly or carry out complex tasks.
It's like giving a computer a way to think "yes" or "no" and make decisions based on that. This is the foundation of all digital electronics and software programs we use today.
F(A, B) = A(B + B̄) Taking A as Common
Using the Complement Law:
B + B̄ = 1
So,
F(A, B) = A · 1
F(A, B) = A
Troubleshooting matters a great deal in computing systems because it helps keep our computers, software, and networks running smoothly. When something goes wrong with a computer system, it can disrupt our work, cause data loss, or even lead to security issues. By knowing how to troubleshoot computing systems, we can quickly find and fix problems, making sure everything works as it should.
- Preventing Downtime: Downtime occurs when a computer system is not operational. This can be very costly, especially for businesses that rely on their systems to operate efficiently. When a system is down, employees may not be able to work, leading to lost productivity and revenue. With troubleshooting, we identify and resolve system problems in very little time, which helps cut down the chances of system downtime.
- Ensuring Data Integrity: Data integrity means making sure that data is accurate and reliable. Problems like software bugs or hardware failures can corrupt data, leading to incorrect information being stored or processed. Troubleshooting helps pinpoint the source of data corruption and prevent it from happening again, keeping data accurate and reliable.
- Improving Security: Computer systems are often targets for cyber-attacks. Troubleshooting can help spot weaknesses and security breaches, allowing for quick action to protect the system. This matters for maintaining the confidentiality, integrity, and availability of data.
- Enhancing Performance: Sometimes, computer systems don't perform as efficiently as they should. Troubleshooting can identify the reasons for slow performance, such as insufficient memory, software conflicts, or hardware malfunctions. By resolving these issues, you can improve the overall performance of the system.
- Extending Equipment Life: Regular troubleshooting and maintenance can help extend the life of computer equipment. By spotting and fixing small issues before they become big problems, you can prevent unnecessary wear and tear on the system.
- Saving Costs: Real-World Impact: Effective troubleshooting in businesses helps avoid costly downtime and maintains productivity, showing how valuable these skills are in the real world. Effective troubleshooting can save money by reducing the need for expensive repairs or replacements. By catching and resolving issues early, you can avoid costly downtime and prolong the life of your system.
System Troubleshooting
Troubleshooting is essential for keeping systems running smoothly, whether they are computers, machines, or other types of equipment. When something goes wrong, troubleshooting helps pinpoint the problem and find a solution quickly.
Example: If your computer suddenly stops working, knowing how to troubleshoot can help you get it running again without needing to call for expensive professional help.
Systematic Process of Troubleshooting
The troubleshooting process involves several steps that help you systematically identify and fix problems. These steps make sure you don't overlook any potential issues and that you solve the problem efficiently.
A systematic approach to troubleshooting involves the following steps:
1. Identify Problem
2. Establish a Theory of Probable Cause
3. Test the Theory to Determine the Cause
4. Establish a Plan of Action to Resolve the Problem
5. Implement the Solution
6. Verify Full System Functionality
7. Document Findings, Actions, and Outcomes
1. Identify Problem: The first step in troubleshooting is identifying the problem. This means recognizing that something isn't working as it should. For example, if you press the power button and your laptop doesn't turn ON, the problem is clearly that it won't start.
2. Establish a Theory of Probable Cause: Once you've identified the problem, the next step is coming up with a theory about what might be causing it. This involves thinking through what could have gone wrong. For example, if your laptop won't turn ON, possible causes might be a dead battery, a faulty power cord, or an internal hardware issue.
3. Test the Theory to Determine the Cause: After forming a theory, you need to test it to see if it holds up. This means checking whether the suspected cause is actually behind the problem. For example, if you think the laptop's battery is dead, you can test this theory by plugging in the power cord and seeing if the laptop turns ON.
4. Establish a Plan of Action to Resolve the Problem: If your test confirms the cause of the problem, the next step is coming up with a plan to fix it. This means deciding what steps are needed to resolve the issue. For example, if the problem is a dead battery, your plan of action might be to replace the battery or keep the laptop plugged in until you can get a new one.
5. Implement the Solution: Once you have a plan, you need to put it into action. This means doing whatever is necessary to fix the problem. For example, if your plan is to replace the battery, you would buy a new battery and install it in your laptop.
6. Verify Full System Functionality: After implementing the solution, you need to check that the problem is fully resolved and the system is working properly again. For example, once you replace the battery, you should check whether the laptop turns ON and operates as expected without being plugged in.
7. Document Findings, Actions, and Outcomes: The final step is documenting everything you did during the troubleshooting process. This includes what the problem was, what you thought was causing it, what you did to fix it, and the outcome. This documentation matters for future reference and can help you or others troubleshoot similar problems more efficiently later on.
By following these steps, you can troubleshoot problems systematically and effectively, keeping systems running smoothly and efficiently.
Documenting findings, actions, and outcomes is an important part of the troubleshooting process because it creates a clear record of what was done and what results were achieved. This documentation is useful for future reference, helping solve similar problems more quickly and efficiently.
Importance in simple words
- Keeps Track of Steps Taken: Writing down what you checked and fixed makes sure you don't repeat the same steps or miss anything important.
- Helps in Future Troubleshooting: If the same problem crops up again, the documentation provides a guide to quickly fix it without starting from scratch.
- Improves Communication: In a workplace or team, documentation lets others understand what was done, making collaboration easier.
- Supports Accountability: It shows that proper procedures were followed and can help identify what worked and what didn't.
- Assists in Learning: Reviewing past troubleshooting records helps you spot patterns, common problems, and better solutions for the future.
Data backup is the process of copying and saving important information so it can be recovered if the original data is lost or damaged. Different backup methods are used depending on how often data changes, how quickly it needs to be restored, and how much storage is available.
Common data backup methods
- Full Backup: A complete copy of all data is made.
Pros: Easy to restore because all files are included.
Cons: Takes more time and storage space.
- Incremental Backup: Only backs up data changed since the last backup (full or incremental).
Pros: Faster and uses less storage than a full backup.
Cons: Restoring takes longer because all previous backups must be applied.
- Differential Backup: Backs up data changed since the last full backup.
Pros: Faster than a full backup and easier to restore than an incremental backup.
Cons: Uses more storage over time than incremental backup.
- Mirror Backup: Creates an exact copy of the source data in real time.
Pros: Easy access to the latest files.
Cons: If a file is deleted from the source, it's also deleted from the mirror.
- Cloud Backup: Data is backed up online to cloud storage services.
Pros: Accessible from anywhere, protects against local hardware failure.
Cons: Depends on internet speed and subscription costs.
- Local Backup: Data is saved to local devices like external hard drives, USBs, or network drives.
Pros: Fast backup and restore.
Cons: Vulnerable to physical damage or theft.
Important Questions for Revision
5 high-priority questions
A Boolean function takes one or more binary (0/1) inputs and produces a single binary output, built from basic operations such as AND, OR, and NOT. The AND gate outputs 1 only when both inputs are 1; the OR gate outputs 1 when at least one input is 1; and the NOT gate simply flips its single input (1 becomes 0, and 0 becomes 1).
Factor out A: F = A·(B + B̄). Since B + B̄ = 1 (Complement Law), F = A·1. Since A·1 = A (Identity Law), the expression reduces to F = A.
1) Identify Problem, 2) Establish a Theory of Probable Cause, 3) Test the Theory to Determine the Cause, 4) Establish a Plan of Action to Resolve the Problem, 5) Implement the Solution, 6) Verify Full System Functionality, 7) Document Findings, Actions, and Outcomes.
Troubleshooting helps quickly find and fix problems, which prevents costly downtime, protects data integrity, improves security against cyber-attacks, enhances system performance, extends the working life of equipment, and ultimately saves money on repairs and lost productivity.
An ADC (Analog to Digital Converter) converts continuous analog signals, such as sound captured by a microphone, into digital (binary) signals that a computer can process and store. A DAC (Digital to Analog Converter) does the reverse — converting digital signals back into analog signals, e.g., so that speakers can produce audible sound.
Frequently Asked Questions
6 quick answers to common questions about this chapter
A Boolean expression (like A + B) is the mathematical way of writing a logical rule. A logic gate is the physical or simulated hardware component that actually carries out that rule — for example, an OR gate is the physical implementation of the expression A + B. The expression describes the logic; the gate performs it.
The seven-step troubleshooting process taught here — identify, theorize, test, plan, implement, verify, document — isn't just for computers. It's a general problem-solving method useful for fixing anything from a broken appliance to a car that won't start, which is why it's considered a valuable life skill, not just an IT skill.
When you speak into a phone, an ADC converts your voice (an analog sound wave) into digital data so it can be sent over the network. At the receiving end, a DAC converts that digital data back into an analog sound wave so the other person can hear your voice through their speaker.
Yes, constantly. Every "if" statement, search filter, or login check in real software relies on Boolean logic (AND, OR, NOT) to decide whether something is true or false. Learning Boolean algebra in Class 9 builds the exact reasoning skills used in professional coding and digital circuit design.
Documentation turns a one-time fix into a reusable resource. If the same problem happens again — to you or a classmate — a clear record of what was tried and what worked saves time and avoids repeating failed attempts, which is why documentation is the final step of the troubleshooting process.
Yes. Analog vs digital signals, Boolean algebra, logic gates, truth tables, and the systematic troubleshooting process are examined topics, appearing frequently as MCQs and short/long answer questions.
Chapter Test
9 questions with the answers hidden — check what you actually remember
You have just read the explanations above. This checks whether they stuck. The answers stay hidden until you finish, so it is closer to exam conditions than scrolling through the notes again.
9 questions, one at a time — no time limit.
You can move back and change an answer before submitting.
Afterwards you get your score, every explanation, and what to re-read.
Your score is saved in this browser only. No account, nothing sent anywhere.