UnderstandingProgrammingICS17VeleG

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

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: Chapter 1: Chapter 2: Chapter 3: Chapter 4:
 * 1) Used to help us control other computers to allow us to do many things like turning on lights.
 * 1) The process of getting something done or solving a problem by breaking it down into simpler steps.
 * 2) Any set of instructions with logical steps
 * 3) I first get a cup. Then I get the milk. Then I get the chocolate powder or syrup. Then I mix the two together and then put it into the microwave.
 * 4) A set of smaller algorithms completed one after the other
 * 5) First, you go into edit. Second, I name the wiki page. Three, I click the button for link. Fourth, I make sure its exactly like how I want it and then press create.
 * 1) Giving computers instructions in order for them to complete a set of tasks
 * 2) You would first put move forward block, then you would put a turn 90 degree block, lastly you would put another move forward block and then put all those blocks inside a repeat block.
 * 3) It allows us to save time and cuts down the amount of time to write instructions.
 * 4) You would use the repeat block and put ten in the amount of times you want it to repeat.
 * 5) Are frequently used sequences of commands that can be saved or given a title.
 * 1) It was a British woman called Ada Lovelace and she wrote an algorithm that was used to figure out basic sums Charles Babbage's difference engine.
 * 2) The Jacquard Loom.
 * 3) They help us make good choices and can be repeated many times.
 * 4) Like the Save button when you're typing a document you can click that and it sends an algorithm for the information to be sent to the hardrive or memory of the computer.
 * 1) To give instructions to a computer in a form that they understand it.
 * 2) A link allows the computer to go to a page immediately without having to go through much trouble.