Mary-Jane Anders▸ Understanding Functions (Task 1)


Although I tend to gravitate to the more mathematical algorithms, I rather liked this algorithm for checking the validity of an email address. Such an algorithm has uses in a huge range of contexts; basically anywhere in which an email is requested (so many places!) What I also liked about this is the two different methods of representing the algorithm. Although is not written in a general-purpose programming language, it is in a format that students could understand or even construct as an example of abstraction. It examples decision making and looping while a condition holds (an invalid email address). Similar algorithms could be used for any form of data validation.

G+ Comments

one plus one, 0 comments

    + There are no comments

    Add yours