Team:OUC-China/Software



Overview


Data standardization is a basic work of data analysis. Different evaluation indicators often have different dimensions and dimensional units, which will affect the results of data analysis. In order to eliminate the dimensional influence between indicators, data standardization should be carried out to solve the comparability between data indicators. After the standardized processing of the original data, each index is in the same order of magnitude, which is suitable for comprehensive comparative evaluation.

When we analyze the data after the experiment, we found that the fluorescence amount and threshold of different logic gates were very different. After consulting the literature, we found that there was also such a difference in the representation of the previous logic gate experimental results. Considering nowadays,with the development and popularization of computer science, more and more scientific research works benefit from it. In our project, our modeling work was also done with the help of software. Therefore, we want to design a small software to uniformly characterize the fluorescence amount of logic gate. By inputting the experimental results of different logic gates, this program can calculate the coefficient of fluorescence amount of each logic gate, and give the fluorescent light threshold of the final judgment logic gate 0/1.

Design


Based on the survey and analysis, our software needs to consider the following points:

1. Use a generic programming language

2. Simple calculation

3. Easy to understand

Therefore, we chose the C language to write. C language program structure is a simple, compact, neat, concise expression, flexible use, and has high portability. Its statements can be used on a wide variety of computers and operating systems with little modification.

At the same time, we have prepared a user manual to facilitate the use of users.

Process


When the user runs the program, the first interface of the software appears.



Then, users can enter’1’ to go to the next page. In this page, people can enter the different types of logic gates, such as ‘IMPLY’, ‘XOR’ and so on. This input is case insensitive.



Next, users can enter the output fluorescence of the logic gate according to the prompt. Outputs are separated by Spaces. And when users finished typing, he can hit enter to input another logic gate.





When input all the logic gates, enter ‘0’to stop and get the results.



Users can enter ’1’ to return to the first page or can enter any character to exit. If the previous input does not satisfy the condition for obtaining the threshold, the output will be “The threshold does not exist.”

Finally, we can use these coefficients and threshold to analyze our data. Here shows the final results.



Future


Currently, this program only supports two-input logic gates (AND, OR, XOR, NAND, NIMPLY, IMPLY, NOT and XNOR), whose future is expected to develop suitable for multi-input logic gates.

It is expected that the idea of standardizing data with this software will be developed more widely, and in the future will be applicable to the standardization of experimental results not only for logic gates, but also for all experimental results.

Hopefully, our software will contribute to the development of data standardization.