UnderstandingProgramingAlAM

Log on to MyON to read the book Understanding Programming and Logic


 * 1) Read the book and take the quiz at the end to score at least 4 out of 5.
 * 2) After reading the book, go back to answer the questions below.
 * 3) Create a wiki page called UnderstandingProgrammingYourWikiName.
 * 4) Copy the questions below, paste them on your wiki page, then define the terms and answer the questions.

**Introduction: What are computer programs?**
Computer programs help people in their lives
 * 1) Definition of **Computer programs**:

Chapter 1: Logical Reasoning
Make a name for your link, highlight it, click "link", then click "add link"
 * 1) Definition of **Logical reasoning**: process something done by breaking it down into smaller simple stems
 * 2) Definition of **Algorithm**: any set of instructions
 * 3) Provide a brief list of a series of steps you follow to complete a task such as making a cup of hot chocolate. Get milk, next pour chocolate syrup, then mix, and heat in microwave.
 * 4) Definition of **Sequence**: The order of events
 * 5) **Application**: Write a sequence of steps to create a link to a new page on your wiki.

Chapter 2: What is Computer Programming?

 * 1) Definition of **Commands** - Orders for a computer using coding
 * 2) **Application**: Think of Scratch commands. Write a sequence of instructions that would make the Scratch Kitty move a distance, turn right at 90 degrees, then move forward at a distance again. Move 10, then turn right at 90 degrees, then move 10
 * 3) Definition of **Repeat Sequence**: making a repeat command
 * 4) **Application**: If you wanted a sprite in Scratch to do a series of commands for 10 times, what Scratch control command would you use? Repeat
 * 5) Definition of **Procedure**: Frequently used sequence of commands than can be saved

**Chapter 3: What can I do with Computer Programming?**

 * 1) Who is recognized as the first computer programmer? What did this person do? Ada Lovelace, made algorithm for 1st computer machine,
 * 2) What was the first programmable machine? Jacquard Loom
 * 3) Definition of **Computer simulations**: Pretend versions of things
 * 4) **Application**: Provide an example of how a computer program controls something.

Chapter 4: How do I Use Computer Programming Languages?

 * 1) Definition of **Program Languages**: Basis of computer programs
 * 2) **Application**: Name a programming language you have studied. Scratch
 * 3) Definition of **Input and Output**: Input sends signals to the processor, outputs receive signals
 * 4) **Application**: Name an example of a sensor. Light sensor
 * 5) Definition of **Flow Chart**: A graph that shows the sequence of events
 * 6) Definition of **Subroutines**: Procedure

Chapter 5: What do I do When My Program Doesn't work?

 * 1) **Application**: What is a reason that apps on your phones or iPads or computers sometimes need to be updated? Programmers have spotted a bug
 * 2) **Golden Rules of Programming** are Logic reasoning, Sequence, Procedure.

View the sequence of Scratch commands in the diagram below. Using the numbered list, explain from first to last the correct sequence of actions or events that will happen in the Scratch program. 1. Green flag 2. Go to 0,0 3. 4.  5.  6.  7.  8.  9.  10.
 * Summary: **

View the program below. What is the bug in the program? Explain how to fix the bug.

It says hello while its hiding