Understanding+Programming+ICS17AltaA

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?**

 * 1) Definition of **Computer programs**:

Chapter 1: Logical Reasoning

 * 1) Definition of **Logical reasoning**:
 * 2) Definition of **Algorithm**:
 * 3) Provide a brief list of a series of steps you follow to complete a task such as making a cup of hot chocolate.
 * 4) Definition of **Sequence**:
 * 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** -
 * 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.
 * 3) Definition of **Repeat Sequence**:
 * 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?
 * 5) Definition of **Procedure**:

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

 * 1) Who is recognized as the first computer programmer? What did this person do?
 * 2) What was the first programmable machine?
 * 3) Definition of **Computer simulations**:
 * 4) **Application**: Provide an example of how a computer program controls things.

Chapter 4: How do I Use Computer Programming Languages?

 * 1) Definition of **Program Languages**:
 * 2) **Application**: Name a programming language you have studied.
 * 3) Definition of **Input and Output**:
 * 4) Application: Name an example of a sensor.
 * 5) Definition of **Flow Chart**:
 * 6) Definition of **Subroutines**:

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?
 * 2) **Golden Rules of Programming** are

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. 2.  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.

Answers: Introduction:
 * 1) Used to help us control other electronics to do many things.

Chapter 1:
 * 1) Complicated term for a very simple idea, it's the process of getting something done.
 * 2) Special set of instructions.
 * 3) To make a sandwich, I get bread, cheese, mayo, ham. I get the bread out, put mayo on it, then I put the cheese and ham on it.
 * 4) Set of smaller algorithm completed one after another.
 * 5) I name my wiki page, select it, then I click link to create a link. After that, I save it and then I edit it on the page.

Chapter 2:
 * 1) Giving computers instructions in order for them to complete a task or a set of tasks.
 * 2) In order to make the kitty move you need to get a command that says "move 10 steps", to make the kitty turn 90 degrees you need to get that block, to do it again, you need the repeat block.
 * 3) It saves time, cuts down the amount of instructions you have to write into the program, and allows you to do cool things.
 * 4) You can use the repeat block and put it on 10.
 * 5) Another way of shortcuts designed to save time and make your life easier.

Chapter 3:
 * 1) Ada Lovelace is the first computer programmer. She wrote an algorithm that could be used to figure out basic sums on Charles Babbage's Difference.
 * 2) Jacquard Loom.
 * 3) Computer programs where we have to make choices that affect what happens next.
 * 4) Like the save button, it saves everything you wrote on the site.