Click on an input or a row on the truth table to change the input values.
F = x + y
=
=
The OR gate is one of the fundamental gates used in logic systems. An OR gate can have 2 or more inputs. The logic value at the output depends on the values at the inputs. When all inputs are logic-0, the output is also logic-0. In all other cases, the output is logic-1. In other words, the output of an OR gate is logic-1 if at least one of the inputs is logic-1.
The truth table for a two-input OR gate is as follows:
In this table, x and y represent the inputs and F represents the output. Each row in the table indicates the corresponding output value based on the values of inputs in that row. For example, the first row indicates that F = 0 for x = 0 and y = 0.
In logic, the OR operation is represented by the "∨" or "+" symbol. For example, the expression "A + B" means "A or B".
OR gate learning tool,
You can select the input values yourself or set them randomly.
To toggle the input values between 1 and 0, click on the inputs.
Or click on any row on the truth table to set the input values.
ALL = 0 and ALL = 1 buttons reset and set all input values, respectively.
The DIE ICON generates a random set of values for the inputs.
2, 3, and 4 input OR gates are available.
You can download the solution as an image file with .jpg extension if you click on the "Download Solution" link at the bottom of the solution panel. You can share the downloaded image file.