User Tools

Site Tools


computer_basics:structured_programming_concepts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
computer_basics:structured_programming_concepts [2018/07/24 00:55] mithatcomputer_basics:structured_programming_concepts [2018/07/24 02:10] – [What is it?] mithat
Line 14: Line 14:
 ===== What is it? ===== ===== What is it? =====
   * A way of thinking about how to create computer programs: a **paradigm**.   * A way of thinking about how to create computer programs: a **paradigm**.
-  * Developed in the late 1950s to help create manageable computer programs.+  * Developed in the 1950s to help create manageable computer programs.
  
 ===== Why is it important? ===== ===== Why is it important? =====
Line 21: Line 21:
  
 ===== Theoretical reasons ===== ===== Theoretical reasons =====
-  * Proven that it's is all you need to write any "provable function".+  * It's is all you need to write any "provable function."
   * Dominates theoretical thinking.   * Dominates theoretical thinking.
  
Line 39: Line 39:
   * Three kinds of control structures   * Three kinds of control structures
     * **sequence**: statements are executed one after the other.     * **sequence**: statements are executed one after the other.
-    * **selection**: used to choose among alternative courses of action, "making decisions+    * **selection**: choose among alternative courses of action, "making decisions." 
-    * **repetition**: used to repeat a set of instructions, "looping".+    * **repetition**: repeat a set of instructions, "looping".
  
 ===== Scenario ===== ===== Scenario =====
Line 48: Line 48:
  
 ===== First try ===== ===== First try =====
-//Zoë gets a cup of food every day.   +//Zoë gets a cup of food every day.\\  
-Her water needs to be filled if it's running low.  +Her water needs to be filled if it's running low.\\ 
 She also needs to play fetch with her favorite toy.// She also needs to play fetch with her favorite toy.//
  
Line 104: Line 104:
 </code> </code>
  
 +<html>
 +<script> var uls = document.getElementsByTagName('ul');
 +for(var i=0,j=uls.length;i<j;++i){uls[i].setAttribute('class','incremental')}
 +</script>
 +</html>
computer_basics/structured_programming_concepts.txt · Last modified: 2018/07/24 22:13 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki