[Tutor] newbie exercises

Steve Nelson sanelson at gmail.com
Mon Mar 27 14:53:26 CEST 2006


On 3/27/06, josip <josipl2000 at yahoo.com> wrote:

> Can someone give me exercises to do with loops, maybe functions to?

How about a program that produces truth tables for the basic gates? 
AND, NAND, NOT, OR, XOR?

You could write a function for each gate, and one to produce a truth  table.

S.


More information about the Tutor mailing list