Question: Write three Scheme procedures to simulate these three gates: AND, OR, and NOT, shown in the diagram in Figure 1. Test your procedures using all

Write three Scheme procedures to simulate these three gates: AND, OR, and NOT, shown in the diagram in Figure 1. Test your procedures using all possible input combinations. Hint: Lecture slides showed the implementation of a not-gate in Scheme. 3 points OR AND NOT Figure 1. Logic gates AND, OR, and NOT The test cases and expected outputs are given in the code template file hw12.rkt. Do not remove or edit these lines. Write three Scheme procedures to simulate these three gates: AND, OR, and NOT, shown in the diagram in Figure 1. Test your procedures using all possible input combinations. Hint: Lecture slides showed the implementation of a not-gate in Scheme. 3 points OR AND NOT Figure 1. Logic gates AND, OR, and NOT The test cases and expected outputs are given in the code template file hw12.rkt. Do not remove or edit these lines
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
