Question: Logical Function Evaluator Program A . General Information Create a C + + program and document your solution, which should consist of nested or multi
Logical Function Evaluator Program
A General Information
Create a C program and document your solution, which should consist of nested or multilevel class hierarchies and entities based on the topics provided in section B Implement the required data structure as a class template. Use dynamic memory allocation wherever possible in solving the task. Define the data members, assignment operations, and member functions necessary to solve the task. The size of the structure can be arbitrary. If necessary, implement operations that can be performed with the structure, operator overloading, etc. Use templates andor iterators where applicable during the task solution.
B Task
Construct a logical function with up to inputs and up to outputs using objects.
Implement the display of the logical function by drawing logical circuit elements. It is sufficient to implement the display on a text screen.
Implement saving and loading of the logical function to and from a file.
Implement the generation and output of the truth table for the logical function.
Specify a few simple tasks where you can utilize the created data structure. If possible, demonstrate the use of the generic structure on multiple simple data sets with the program.
C Demonstration
Create a separate test module to demonstrate the functionality of the class, showing the application of individual operations. Independently generate the data required for the test.
I think the input will be numbers: firsthow many inputs, second: how many outputs. For example when there are four inputs ABCD and three outputs EFG and we will have equation for each output. E A OR B F C AND A and b F NOT C I need to have the class implementation in a cpp file and the class structure in the header file. Firstly its enough if the program can print out AND and OR gates. Its not clear how can i ask the equations, and how can i print out the circuit. I think i need a full solution.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
