★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
ISC Class 12 · Computer Science 868 · Section A for 2027
ISC Class 12 computer science Boolean algebra is the one part of the paper where a finished answer can be proved right before you turn the page. This page works through Section A in the order of the 2027 syllabus: propositions, laws, canonical forms, Karnaugh maps and hardware. Each result comes with the check you can do yourself in the hall.
Live online · three K-maps drawn loop by loop · 24 questions with answers, all recomputed · one to one, at your timing
Start here
Section A is one of three sections. The first course teaches all of it on the ISC track; the next two are for the Java and data structure side of the same paper.

868 / ISC track
The ISC track in Java, with Boolean algebra and K-maps taught as their own block and the data structures of Section C after that.
Open the course →
Section B
For the student whose logic is fine and whose programs are not: classes, arrays, strings and recursion from first principles.
Open the course →
Section C and beyond
A college-level course. Its early weeks on lists, stacks, queues and Big O overlap with Section C.
Open the course →Ans. The short version
ISC Class 12 computer science Boolean algebra is the first half of Section A in the 2027 syllabus (868). It covers propositional logic (wffs, implication, converse, contrapositive, tautology), the laws of Boolean algebra with De Morgan, SOP and POS in canonical and cardinal form, and Karnaugh maps of up to four variables. The other half is hardware: gates, adders, encoders, decoders, multiplexers, and NAND and NOR as universal gates. Modern Age Coders teaches it live, personalised one to one at your own timing; a priority demo lets you try a full class on your weakest topic before you enrol.
Part 1. Propositional logic
A proposition is a statement that is true or false. A well formed formula (wff) joins propositions with connectives so that its value can be worked out in every case. Test one with a truth table: 2 letters need 4 rows, 3 need 8.
| p | q | ~p | p ∧ q | p ∨ q | p ⇒ q | p ⇔ q |
|---|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 | 1 | 1 |
The column to be careful with is p ⇒ q. An implication is a promise, and it is broken in one row only: p true, q false. When p is false nothing was promised, so the value is 1. The law of implication says the same thing in symbols: p ⇒ q ≡ ~p ∨ q.
Let p be "the lab is locked" and q be "the lights are off".
| Name | Form | In words |
|---|---|---|
| Given | p ⇒ q | If the lab is locked, the lights are off. |
| Converse | q ⇒ p | If the lights are off, the lab is locked. |
| Inverse | ~p ⇒ ~q | If the lab is not locked, the lights are not off. |
| Contrapositive | ~q ⇒ ~p | If the lights are not off, the lab is not locked. |
Only the contrapositive always has the value of the given statement. The converse and the inverse agree with each other, not with it.
If p leads to q and q leads to r, then p leads to r. As one wff: ((p ⇒ q) ∧ (q ⇒ r)) ⇒ (p ⇒ r).
| p | q | r | p ⇒ q | q ⇒ r | (p ⇒ q) ∧ (q ⇒ r) | p ⇒ r | ((p ⇒ q) ∧ (q ⇒ r)) ⇒ (p ⇒ r) |
|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 |
| 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 |
| 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
All eight values in the last column are 1, so the wff is valid (a tautology). Always write that closing sentence: the table alone does not say what it shows.
| Wff | Last column | Name |
|---|---|---|
| ((p ⇒ q) ∧ p) ⇒ q | 1 1 1 1 | Valid: a tautology. This is modus ponens. |
| (p ⇒ q) ∧ (p ∧ ~q) | 0 0 0 0 | Unsatisfiable: a contradiction. |
| ((p ⇒ q) ∧ q) ⇒ p | 1 0 1 1 | A contingency: satisfiable, not valid. It fails for p = 0, q = 1. |
| Expression | Law used |
|---|---|
| ~(p ⇒ q) ∨ (p ∧ q) | Given |
| ~(~p ∨ q) ∨ (p ∧ q) | Implication |
| (p ∧ ~q) ∨ (p ∧ q) | De Morgan, then negation of a negation |
| p ∧ (~q ∨ q) | Distributivity |
| p | Excluded middle, then p ∧ true is p |
Part 2. Laws and proofs
There are few laws to learn because each has a dual: swap . with +, swap 0 with 1, and leave the variables alone. Learn the left column below and the right one comes free.
| Law | One form | Its dual |
|---|---|---|
| Identity | A + 0 = A | A . 1 = A |
| Null | A + 1 = 1 | A . 0 = 0 |
| Idempotence | A + A = A | A . A = A |
| Complement | A + A' = 1 | A . A' = 0 |
| Involution | (A')' = A | the same |
| Distributive | A . (B + C) = A . B + A . C | A + B . C = (A + B) . (A + C) |
| Absorption | A + A . B = A | A . (A + B) = A |
| Second absorption | A + A' . B = A + B | A . (A' + B) = A . B |
| De Morgan | (A + B)' = A' . B' | (A . B)' = A' + B' |
The distributive dual looks wrong to anyone trained on school algebra, so prove it to yourself once. Multiply out (A + B) . (A + C): you get A + A . C + A . B + B . C, and the first term absorbs the next two.
Take F = A + B' . C. Its dual is A . (B' + C): signs change, letters stay. Its complement is A' . (B + C'): signs change and every letter flips. Read the word in the question twice: neat working for the wrong one of the two does not answer it.
| Expression | Law used |
|---|---|
| X . Y + X . Y' . Z + X' . Z | Given |
| X . (Y + Y' . Z) + X' . Z | Distributive |
| X . (Y + Z) + X' . Z | Second absorption |
| X . Y + X . Z + X' . Z | Distributive |
| X . Y + Z . (X + X') | Distributive |
| X . Y + Z | Complement, identity |
| Expression | Law used |
|---|---|
| (P + Q') . (P + Q + R) | Given |
| P + Q' . (Q + R) | Distributive dual |
| P + Q' . Q + Q' . R | Distributive |
| P + Q' . R | Complement |
| Expression | Law used |
|---|---|
| ((A + B') . C)' + A . C | Given |
| (A + B')' + C' + A . C | De Morgan on the product |
| A' . B + C' + A . C | De Morgan on the sum |
| A' . B + C' + A | Second absorption |
| A + B + C' | Second absorption again |
The hall check. Pick any one row, put it into the first line and the last line, and compare. Two rows catch most slips. And keep to the method the question names: if it says truth table, give a truth table, and if it says laws, name the laws.
Part 3. SOP and POS
A canonical form writes every term with every variable in it. A cardinal form writes the same function as a list of row numbers: Σ for the rows that are 1, Π for the rows that are 0.
A greenhouse pump has four inputs: S (soil is dry), H (air is hot), T (tank is full) and N (it is night). The pump runs (X = 1) if
Write the story as an expression before the table: X = S . N + S . H . T + S' . H . T . N'. Then fill 16 rows in binary order, S first.
Cardinal SOP: X(S, H, T, N) = Σ(6, 9, 11, 13, 14, 15). Cardinal POS: X = Π(0, 1, 2, 3, 4, 5, 7, 8, 10, 12). Between them the two lists hold each number from 0 to 15 once, which is a check worth ten seconds.
Canonical SOP writes the six minterms out: S'HTN' + SH'T'N + SH'TN + SHT'N + SHTN' + SHTN.
| Row 6 is 0110 | Minterm m6 | Maxterm M6 |
|---|---|---|
| Rule | 0 gets a dash | 1 gets a dash |
| Term | S' . H . T . N' | S + H' + T' + N |
| Value in row 6 | 1, and 0 elsewhere | 0, and 1 elsewhere |
| S | H | T | N | S . N + S . H . T + S' . H . T . N' |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 | 1 |
To make F(A, B, C) = A . B' + C canonical, multiply each term by (variable + its complement) for every letter it lacks. A . B' needs C: that gives rows 4 and 5. C needs A and B: rows 1, 3, 5, 7. Row 5 came twice and is written once, so F = Σ(1, 3, 4, 5, 7) = Π(0, 2, 6). The zeros pair up as (0, 2) and (2, 6), so the shortest POS is (A + C) . (B' + C).
Part 4. Karnaugh maps
Put the values in Gray order (00, 01, 11, 10), make the largest loops of 8, 4 or 2 that cover every 1, and write down only the variables that do not change inside each loop. For POS, loop the zeros and write sums.
Quad (9, 11, 13, 15) = S . N. Pair (6, 14) = H . T . N'. The dashed pair (14, 15) is the middle line of the story, and both its cells are already covered, so it is redundant.
X = S . N + H . T . N'
Octet of the top and bottom rows = B'. Quad (0, 2, 4, 6) across the side edges = A' . D'. Pair (11, 15) = A . C . D.
F = B' + A' . D' + A . C . D
G = Π(0, 2, 5, 8, 9, 10, 11, 13). Corners = (X + Z). Bottom row = (W' + X). Pair (5, 13) = (X' + Y + Z').
G = (X + Z) . (W' + X) . (X' + Y + Z')
It happens. Take map 2 and loop its zeros, 5, 7, 12, 13 and 14. Cell 7 forces (5, 7) and cell 14 forces (12, 14). Cell 13 may then go with 12 or with 5, so (A + B' + D') . (A' + B' + D) is followed by (A' + B' + C) or by (B' + C + D'). Both have the same size, and either is right.
A single loop of 8 leaves one letter, a quad two, a pair three. If your loop of four still has three letters, it was read wrongly.
Draw these on paper before reading on; a map learnt by looking is forgotten by Friday. Full questions of this kind, with the diagram asked for afterwards, are in our ISC practice paper.
Part 5. Computer hardware
The hardware half of Section A uses gates to add, to code and to choose. A half adder adds two bits, a full adder three; a decoder turns a code into one line, an encoder does the opposite, and a multiplexer lets one of many inputs through.
| A | B | C | A XOR B | A XOR B XOR C | A . B + (A XOR B) . C |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 | 1 | 0 |
| 0 | 1 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 0 |
| 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 0 | 1 |
| 1 | 1 | 1 | 0 | 1 | 1 |
Here C is the carry in. Sum = Σ(1, 2, 4, 7), which is A XOR B XOR C. Carry = Σ(3, 5, 6, 7), which the K-map gives as A . B + B . C + C . A, the majority function: 1 when at least two inputs are 1. The circuit uses A . B + (A XOR B) . C, because the XOR is there already.
Two half adders and an OR gate. A half adder alone is Sum = A XOR B, Carry = A . B, and it has no place for a carry in.
Three literals need a three-input AND. Take N' straight from an input when the question says complements are available.
| Build | From NAND | From NOR |
|---|---|---|
| NOT A | (A . A)' | (A + A)' |
| A . B | ((A . B)' . (A . B)')' | ((A + A)' + (B + B)')' |
| A + B | ((A . A)' . (B . B)')' | ((A + B)' + (A + B)')' |
| A | B | A' . B' | A' . B | A . B' | A . B |
|---|---|---|---|---|---|
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 0 | 0 |
| 1 | 0 | 0 | 0 | 1 | 0 |
| 1 | 1 | 0 | 0 | 0 | 1 |
Each output is one minterm, so exactly one line is 1 at a time. Put an OR gate on the right lines and a decoder makes any function: a 3 to 8 decoder with lines 1, 2, 4, 7 into one OR and 3, 5, 6, 7 into another is a full adder.
| Output bit | Is 1 for input lines | Expression |
|---|---|---|
| Z2, worth 4 | 4, 5, 6, 7 | D4 + D5 + D6 + D7 |
| Z1, worth 2 | 2, 3, 6, 7 | D2 + D3 + D6 + D7 |
| Z0, worth 1 | 1, 3, 5, 7 | D1 + D3 + D5 + D7 |
Three OR gates. D0 joins none of them, since 0 is 000. Press D5 and you read 101.
Two select lines choose which data line reaches the output: Y = P' . Q' . D0 + P' . Q . D1 + P . Q' . D2 + P . Q . D3. Its AND gates are a 2 to 4 decoder with a data line added to each, joined by one OR.
| Circuit | Inputs | Outputs | Used for |
|---|---|---|---|
| Decoder | n | 2n | Picking a memory cell |
| Encoder | 2n | n | A key to its code |
| Multiplexer | 2n and n select | 1 | Sharing one line |
| Half adder | 2 | 2 | The last column of a sum |
| Full adder | 3 | 2 | Every other column |
The trick for any SOP: draw it with AND and OR, then replace every gate by NAND; the two bubbles on each wire cancel. A lone letter entering the last gate must be inverted first, as C is in question 15.
Never drawn a gate before? Logic gates for beginners starts lower and builds an adder in code. For what the whole of Section A lists, read the ISC 2027 syllabus page.
Part 6. Practice
Ten one-mark items, eight short answers and six long ones, all written for this page. Draw every map; the answers give the loops so that you can compare.
| p | q | p ∧ q | ~p ∧ ~q | (p ∧ q) ∨ (~p ∧ ~q) | p ⇔ q |
|---|---|---|---|---|---|
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 |
| 1 | 0 | 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 0 | 1 | 1 |
The last two columns match in every row, so the wffs are equivalent.
What the ISC 2027 syllabus names. Maps up to four variables, canonical and cardinal forms, half and full adders, the majority circuit, encoders, decoders, multiplexers, and NAND and NOR as universal gates. It does not name flip-flops, subtractors, demultiplexers or don't-care cells, so learn those only if your teacher asks.
Section B and C questions, sorted the same way, are on ISC important questions and pattern. The Java side of the year is in practical questions solved and the work file plan. Short of weeks? See the ISC crash course.
One to one, at your own timing
A finished map hides how it was made. In a personalised one to one class the teacher sees each loop as you draw it and stops you at the first one that is too small. You choose the days and the hour. Start with the priority demo, a paid full class whose fee is taken off your first month if you enrol, or with the free demo class. There is no admission fee, and the plan is monthly.
Before you enrol · Try a class
a full live class of about 45 to 60 minutes
The classes · Choose your own timing
₹4,999
per month, 4 private classes, fully flexible timingtwo private classes a week, at a time set with you
Section A can be finished as a block before the Java gets heavy, and many students prefer it that way. Others bring one topic, such as multiplexers, and leave at the end of that month.
Studying outside India?
There are ISC schools in the UAE, Singapore, Indonesia and Thailand, and the Section A chapter is the same in each. Boolean algebra needs a pen, so keep a notebook and a phone camera beside the screen.
| Where you live | Time difference | Usual class window, local time | Format |
|---|---|---|---|
| India every Indian city | Indian time | Any time you choose | Personalised 1-on-1 |
| United Arab Emirates Dubai, Sharjah | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Indonesia and Thailand West Java, Bangkok area | 1 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore Singapore | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |
For the complete year, Java included, read ISC Class 12 Computer Science tuition.
What families say
Real reviews from real families. We neither write nor commission them.
★★★★★
"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."
Ria Mukherjee
Parent
★★★★★
"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."
Samriddha Mondal
Student
★★★★★
"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."
Vansh Agarwal
Student
★★★★★
"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."
Sonam Oswal
Parent of Dhairya
★★★★★
"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."
Sonu Goyal
Parent
★★★★★
"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."
Ritu Kedia
Parent
The rest of the ISC Class 11 and 12 series
Every page in the ISC Computer Science (868) series, grouped by what you need.
CBSE Class 12 Computer Science (083): Class 12 CS viva questions Class 12 CS sample paper practice Class 12 CS project with source code Class 12 CS important questions
CBSE Class 12 Informatics Practices (065): Class 12 IP practical file Class 12 IP project with source code Class 12 IP sample paper practice Class 12 IP important questions
CBSE Class 12 Information Technology (802): IT 802 practical and project file IT 802 Java notes and programs IT 802 notes
CBSE Class 11 CS, IP and AI: Class 11 CS practical file Class 11 IP practical file CS or IP in Class 11
Program lists with output: Java programs for ISC Class 11 and 12 String and array programs in Java
Section A questions
Propositional logic with truth tables and equivalence laws, the basic theorems of Boolean algebra, De Morgan, minterms and maxterms, SOP and POS in canonical and cardinal form, and Karnaugh maps up to four variables. Computer hardware, with gates, adders, encoders, decoders and multiplexers, completes Section A in the 2027 syllabus.
The syllabus gives no marks by chapter. In the CISCE specimen we could read (2025), Part II Section A has three questions of 10 marks and you answer two, so 20 marks come from Section A, and some one-mark items in Part I also test it. Check the specimen your school gives you.
Canonical form writes each term in full with all the variables, for example A.B.C + A.B'.C. Cardinal form lists the row numbers of those terms, here Σ(5, 7). They describe the same function. Π is used for the zeros in the same way that Σ is used for the ones.
Follow the question. Σ means mark ones, loop ones and write a sum of products. Π means mark zeros, loop zeros and write a product of sums. If the question leaves it open, loop whichever value has fewer cells, because there is less to group.
Yes. When a cell can be covered by two loops of equal size, either choice gives an expression of the same length. Both describe the same function and both are right. What is not right is a loop that could have been larger, or a loop whose cells are all covered already.
They are not named in the ISC 2027 document, which asks for Karnaugh maps up to four variables with SOP and POS reduction. Your school may teach them as an extra. Spend the time on redundant loops first, since those are what an ordinary question tests.
A decoder takes n inputs and makes one of 2 to the power n outputs 1. A multiplexer takes 2 to the power n data inputs and n select lines, and passes one of the data inputs to its single output. Add a data line to each AND gate of a decoder, OR them, and it becomes a multiplexer.
Because NOT, AND and OR can each be built from NAND gates alone, and also from NOR gates alone, and every Boolean expression uses only those three. NOT is one NAND with its inputs joined; AND is two NAND gates; OR is three. The NOR versions mirror this.
A tautology, or valid wff, is true in every row of its truth table. A contingency is true in some rows and false in others, so it is satisfiable but not valid. A wff that is false in every row is a contradiction and is called unsatisfiable.
Decide in the reading time (15 minutes in the specimen we could read), not before. Prepare all three kinds: a story with a truth table and K-map, a POS map with gates, and a mixed question on hardware and propositions. Then pick the two you can finish and check.
Yes. Classes are personalised, at your own timing, and may stay inside Section A. Billing is monthly with no admission fee, so you can end at any month end. A priority demo, with a written report on your maps and proofs, shows how much teaching you need before you enrol.
Start
Solve questions 19 and 23 above on paper. If either came out longer than our answer, take a photo and keep it for the class. In the priority demo a teacher works through that page with you, sets you a new map, and afterwards sends a written skill report; what you paid is adjusted in month one if you enrol.
The free demo class is open too, and is a good way to meet the teacher first.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Every class is live video. The form requests a callback and reserves nothing.
A full live class of about 45 to 60 minutes at a slot you pick, with a written skill report and learning roadmap on WhatsApp afterwards. The fee is adjusted against your first month if you enrol.
Book a priority demo