Monday, 15 December 2008

Process Definition Exercises






In question 3 I was initially puzzled because 'go to work' is an action but also a condition i.e.'wear a hat' depends on 'go to work', but 'go to work' depends on other conditions. I had thought all the conditions would be independent, but it doesn't seem to be the case here. I suppose that, in terms of code, this would be dealt with by nesting.

I've now done all the exercises I needed to do. It's been very time consuming, but worthwhile. I feel that I am better prepared for the Restaurant assignment now.

1 comment:

Anonymous said...

Precisely - conditional logic is often dependent on preceding conditional logic requrements. Nesting is therefore the only way in which these dependencies can be structured.