[Tutor] What every computer science major should know

Alan Gauld alan.gauld at btinternet.com
Fri Jul 19 00:49:19 CEST 2013


On 18/07/13 23:39, Jim Mooney wrote:
> Here is how every computer on earth works, even those using Java.
> It's also how DNA works. I just saved you 200 grand in ruinous student
> loans  ;')
>
> Computer Science in six lines:
>
> Read serial input device:
>      Until:
>          if serial input device says Stop, stop
>          do something or go somewhere else on serial input, as instructed
>          advance serial input one frame and read serial input device
>      repeat:
>
> The 'do something' part can involve complications.

Except not all input devices are serial and not all systems take input, 
some only generate output... But as a generalization its not bad :-)

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/


More information about the Tutor mailing list