Last Update: 6 October 2004
Note: or material is highlighted |
The truth value of "x nand y" is FALSE if the truth values of x and of y are both TRUE; otherwise, the truth value of "x nand y" is TRUE. (In other words, "x nand y" is logically equivalent to "not (x and y)".)
Write a TM program in flowchart notation that computes the truth table for nand. Let the input tape consist of two squares, each containing a binary representation for the truth value of one of the input propositions, with the first square being scanned. Let the output tape consist of three squares, the first two containing the input, and the third containing the truth value of the nand of the inputs, with the third square being scanned.
Hints:
DUE: AT THE START OF LECTURE: WED., OCT 13 |