Boolean logic & truth tables
Në shqip: Logjika booleane
ShpjegimiSQ
Logjika booleane punon me true/false dhe me AND, OR, NOT. Tabela e vërtetësisë tregon rezultatin për çdo kombinim. Ligji i De Morgan-it: NOT (A AND B) = (NOT A) OR (NOT B) — ndihmon të thjeshtosh kushte.
EnglishEN
Boolean logic works with true/false and AND, OR, NOT. A truth table shows the result for every combination. De Morgan's law: NOT (A AND B) = (NOT A) OR (NOT B) — it helps simplify conditions.
Si ta mendosh
Si rregullat e një dere me dy çelësa: hapet vetëm nëse i ke të dy (AND), ose njërin (OR).
Lexoje në anglisht
Like a door with two keys: it opens only if you have both (AND), or either (OR).