Summary
In summary, this chapter has focused heavily on algorithms and how algorithms can be used for sorting. After reading this chapter, you should now be familiar with algorithms, metrics to denote an algorithm’s efficiency, arrays, and more. As stated before, the key to this chapter is not memorizing the algorithms explored but understanding how to introduce yourself to algorithms and the necessary metrics and components to use them. In all, by now you should be able to Google an algorithm for a certain task and have the necessary experience to understand whether it will accomplish your task or not.
Now, as stated earlier in the chapter, there are algorithms for everything. Another area where algorithms are heavily used is in security. Security is a very important and often overlooked aspect of PLC programming. So, in the next chapter, we’re going to explore how we can harden PLC against cyberattacks!