DIGITAL LOGIC & DISCRETE MATHEMATICS (FULL COVERAGE)

1️⃣ NUMBER SYSTEMS (VERY HIGH WEIGHTAGE)

🔸 What is a Number System?

A way to represent numbers using a base (radix).

SystemBaseDigits Used
Decimal100–9
Binary20,1
Octal80–7
Hexadecimal160–9, A–F

🔸 Binary ↔ Decimal Conversion (MOST ASKED)

Binary → Decimal

Multiply each bit with powers of 2 (right to left)

Example:
1011₂
= 1×2³ + 0×2² + 1×2¹ + 1×2⁰
= 11₁₀


Decimal → Binary

Divide by 2 repeatedly, write remainders bottom → top

Example:
25₁₀ = 11001₂


🔸 Octal & Hex Conversion (Direct MCQs)

Octal → Binary

Each digit = 3 bits

OctalBinary
0000
7111

Hex → Binary

Each digit = 4 bits

HexBinary
A1010
F1111

📌 Shortcut MCQ rule:
Hex ↔ Binary = direct replacement


🔸 Important MCQs

  • Largest digit in octal → 7

  • Base of hexadecimal → 16

  • Binary of A → 1010

2️⃣ LOGIC GATES (GUARANTEED QUESTIONS)

 

🔸 What is a Logic Gate?

An electronic circuit that performs logical operations.


🔸 Basic Gates & Rules

GateRule
ANDOutput = 1 if all inputs are 1
OROutput = 1 if any input is 1
NOTOutput is inverse

🔸 Truth Tables (MUST MEMORIZE)

AND Gate

ABY
000
010
100
111

🔸 Universal Gates ⭐⭐⭐

GateWhy Universal
NANDCan implement all gates
NORCan implement all gates

📌 MCQ:
Which gate is universal? → NAND / NOR


🔸 XOR Gate (CONFUSION MAKER)

  • Output = 1 only when inputs are different

ABXOR
000
011
101
110

3️⃣ BOOLEAN ALGEBRA (MOST SCORING)

🔸 Boolean Variables

Only two values: 0 or 1


🔸 Important Laws (EXAM FAVORITE)

LawExpression
IdentityA + 0 = A
NullA + 1 = 1
IdempotentA + A = A
ComplementA + Ā = 1
CommutativeA + B = B + A
Associative(A + B) + C
DistributiveA(B + C)

🔥 De Morgan’s Theorem (VERY VERY IMPORTANT)

1️⃣ (A + B)̄ = Ā · B̄
2️⃣ (A · B)̄ = Ā + B̄

📌 MCQ:
Which theorem converts OR to AND? → De Morgan


🔸 Simplification Example

(A + ĀB) = (A + B)

📌 MCQs often ask final simplified form


4️⃣ COMBINATIONAL vs SEQUENTIAL CIRCUITS

FeatureCombinationalSequential
Output depends onPresent inputInput + past
Memory❌ No✅ Yes
ExamplesAdder, MUXFlip-flop, Counter

📌 Golden Rule:
Memory present → Sequential


🔸 Flip-Flops (BASIC ONLY)

Flip-FlopKey Point
SRInvalid when S = R = 1
JKNo invalid state
DStores data
TToggle

📌 Most repeated MCQ:
Which flip-flop has no invalid state? → JK


5️⃣ SETS (DIRECT QUESTIONS)

🔸 Definition

A collection of well-defined objects.


🔸 Types of Sets

TypeMeaning
EmptyNo elements
FiniteLimited
InfiniteUnlimited
UniversalAll elements

🔸 Operations

  • Union (∪) → All elements

  • Intersection (∩) → Common elements

  • Difference (−)

📌 MCQ:
A ∩ B contains? → Common elements


6️⃣ RELATIONS (CONFUSION BUT EASY)

A relation is a subset of Cartesian product.


🔸 Properties of Relation

PropertyMeaning
ReflexiveaRa
SymmetricaRb ⇒ bRa
TransitiveaRb & bRc ⇒ aRc

📌 MCQ:
If aRb and bRa → Symmetric


7️⃣ FUNCTIONS (GUARANTEED THEORY MCQs)

🔸 What is a Function?

Each input has exactly one output.


🔸 Types of Functions

TypeMeaning
One-One (Injective)Unique output
Onto (Surjective)All outputs covered
Many-OneAllowed
IntoNot all outputs used

📌 MCQ:

  • Injective = One-One

  • Surjective = Onto


🎯 MOST EXPECTED EXAM MCQs (FINAL CHECK)

1️⃣ Universal gate? → NAND
2️⃣ Output differs → XOR
3️⃣ Memory circuit → Sequential
4️⃣ OR → AND law → De Morgan
5️⃣ No invalid FF → JK
6️⃣ aRb ⇒ bRa → Symmetric


🧠 ONE-PAGE MEMORY RULES (EXAM GOLD)

  • Binary → base 2

  • Universal → NAND / NOR

  • Memory → Sequential

  • Flip-flop no invalid → JK

  • OR ↔ AND → De Morgan

  • Common set → Intersection

Comments

Popular posts from this blog

SOFTWARE ENGINEERING

COMPUTER NETWORK

What does Decimal to Binary mean