Question: a) Write a DNF Boolean formula using variables x, y, and z that evaluates to 1 when number xyz is either a multiple of

a) Write a DNF Boolean formula using variables x, y, and z


a) Write a DNF Boolean formula using variables x, y, and z that evaluates to 1 when number xyz is either a multiple of 3 or a prime number but not both. Then, convert it to a Python formula. Submit a file named p3a.py. b) Write a CNF Boolean formula using variables x, y, and z that evaluates to 1 when number xyz is either a multiple of 3 or a prime number but not both. Then, convert it to a Python formula. Submit a file named p3b.py. Note 1: You need to provide a truth table and explain how you find a DNF or CNF formula in the PDF that you submit to the written portion. Note 2: Number xyz is a binary number consists of three bits. 110 which equals 6 is an ex- ample for number xyz. Activate Windows

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!