Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Experiments › Computer Science

Logic gates

Switch the inputs of AND, OR, NOT and XOR gates and see the output light up. These gates are the building blocks of every computer chip.

Make the AND gate output 1.
A=0B=0AND0

AND(0, 0) = 0

Change the controls until it fits.

What to notice

  • AND is on only when both inputs are on.
  • OR is on when at least one input is on.
  • XOR is on when exactly one input is on.

Challenges

  1. Make the output come on.
  2. Find every input pattern that makes it off.
  3. Build the truth table in your head before switching.

Lessons that use it

  • Class 12: Semiconductors
  • Class 9: Boolean logic
  • Class 11: Boolean algebra