Use use Boolean mein convert karo: har input ko select condition ke through "gate" karo.
Y=SˉI0+SI1
WHY ye kaam karta hai: SˉI0 sirf tab I0 pass karta hai jab S=0 ho (doosra term 0 hota hai); SI1 sirf tab I1 pass karta hai jab S=1 ho. Kabhi bhi sirf ek hi term active hoti hai.
Output sirf current inputs par depend karta hai; koi memory/state/clock nahi.
Half adder Sum expression?
Sum=A⊕B
Half adder Carry expression?
Carry=A⋅B
Half-adder Sum XOR kyun hai OR kyun nahi?
OR galti se 1 output karta hai jab dono inputs 1 hon; XOR us case ko exclude karta hai (wo carry ban jata hai).
Full adder Sum expression?
A⊕B⊕Cin (teen bits ki odd parity).
Full adder Carry-out expression?
AB+ACin+BCin=AB+Cin(A⊕B) (majority function).
Full adder banane ke liye kitne half adders + gates chahiye?
Do half adders + ek OR gate.
2-to-1 MUX output equation?
Y=SˉI0+SI1
MUX ki select lines kya control karti hain?
Kaun sa data input single output tak route hoga (ye output value mein appear nahi hoti).
2-to-4 decoder input 10 ke liye kya output deta hai?
One-hot 0100 (sirf D2 high).
Decoder line Dk ka general output?
Inputs ka k-wa minterm.
Decoder + OR gates koi bhi Boolean function kaise implement karte hain?
Function ki 1-rows ke corresponding minterm outputs ko OR kar do.
Recall Feynman: ek 12-saal ke bachche ko explain karo
Socho tum do LEGO-coin piles add kar rahe ho, lekin har jagah sirf EK coin aa sakta hai. Half adder: do coins saath rakkho; agar dono hain toh do ho jaenge, toh ek ko "carry" ke roop mein agle jagah de do — ye carry-keeping AND hai, aur "yahan bacha hua" XOR hai. Full adder: same hai, lekin ab ek dost pichli jagah se tumhe ek coin aur deta hai. Multiplexer: ek TV remote jo, channel number press karne par, sirf EK channel ko through aane deta hai. Decoder: tum ek number zor se bolte ho, aur exactly ek light bulb jis par wo number likha hai jal uthti hai.