You will build the NAND, NOR and XOR gates from the functions NOT, AND and OR, which are given, and check their output columns.
Your tasks.
NAND, return NOT of the AND of a and b.NOR, return NOT of the OR of a and b.XOR, return 1 when a and b are different and 0 when they are the same.nand_column to the NAND outputs for the rows in pairs, in order.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…