CMPT 100 Lecture : CMPT 100
Document Summary
These operations will be used in if statements and repeat loops . Ex. repeat loop is false until password is true. >the prob is there is no end to this loop unless that value is achieved=infinite loop. These are the basic mechanisms which we are going to use for programming. Biggest prob: writing too much too fast without thinking it through first instead of figuring out all of the different parts first and then putting all the solved parts together when finished. The key thing to solving a question is writing an algorithm. Examples of algorithms include recipes, sewing patterns, checklists, etc. >ex. of repeat loop: stir until thickened (what defines thickened ?) Think about what the various variables that we are going to have to have in order to solve the prob. You don t have to solve everything at once. Going to write without 1st worrying about how scratch receives it.