You will code the circuit X = (A AND B) OR (NOT C) and build its truth table in the syllabus order.
Your tasks.
circuit, return X for the inputs a, b and c.rows to the 8 input rows (a, b, c) in binary order.column to the output of circuit for each row, in order, and ones to the number of rows with X = 1.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…