Tuesday, October 11, 2011

algorithms;

1. Opening a door and entering a room
twist knob > is the door locked?
> yes - put in a key
> no > open door > enter room

2. Negotiating traffic lights as you drive down a street
is there a car passing left and right?
> yes - wait until cars pass
> no > continue driving

No comments:

Post a Comment