Bazat e kompjuterit

Logic gates (AND, OR, NOT)

Në shqip: Portat logjike

ShpjegimiSQ

Portat logjike janë qarqet më të vogla elektronike të kompjuterit: AND jep 1 vetëm kur të dyja hyrjet janë 1, OR kur të paktën njëra është 1, NOT e kthen mbrapsht. Me miliarda të tilla ndërtohet një procesor.

EnglishEN

Logic gates are a computer's smallest electronic circuits: AND gives 1 only when both inputs are 1, OR when at least one is 1, NOT flips it. A processor is built from billions of them.

Si ta mendosh

AND është si dera me dy kyçe — hapet vetëm nëse i ke të dy çelësat. OR është si dy dyer — mjafton njëra.

Lexoje në anglisht

AND is like a door with two locks — it opens only if you have both keys. OR is like two doors — either one will do.

Terma të lidhur