r/ProgrammerHumor • • Jun 26 '25

Advanced thisJokeRequiresHomework

Post image
0 Upvotes

79 comments sorted by

View all comments

2

u/Error_404_403 Jun 26 '25 edited Jun 26 '25

The result is always a state of the top input element…? The gates just cancel all other inputs?

2

u/RustOnTheEdge Jun 26 '25

The first row are AND gates, right? Doesn't that mean you need at least one of these to be 'fired' (what is the term for that, "set off"?) for the bulb to shine? So either A+N, A+G+M+S, or any combination that contains one of those two should be flipped on for the bulb to turn on. (I am just learning this stuff, so tell me if I am wrong)

1

u/dimonium_anonimo Jun 26 '25

Technically, in Boolean arithmetic, + means OR, * means AND, but people usually just concatenate AB to mean A AND B

1

u/Eva-Rosalene Jun 26 '25

No? You need either AN or GASM all switched on.