Question: can algorithms perform logical operations?
Answer: Algorithms are usually build on logic in order to make logical decision. ... But more important algorithms perform operations on data usually. Algorithms can have various length, being more or less complex.