Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction, Computers work by following a series of steps. Computers work by following a series of steps. These steps organize objects (set of variables)

Similar presentations


Presentation on theme: "Introduction, Computers work by following a series of steps. Computers work by following a series of steps. These steps organize objects (set of variables)"— Presentation transcript:

1

2 Introduction, Computers work by following a series of steps. Computers work by following a series of steps. These steps organize objects (set of variables) to reach a desired outcome. These steps organize objects (set of variables) to reach a desired outcome. In order to manipulate the objects as we would like, we must first clearly identify them. In order to manipulate the objects as we would like, we must first clearly identify them. In the real world this can be difficult because a single description may apply to many different objects. In the real world this can be difficult because a single description may apply to many different objects.

3 example, Bobby is the name of three different boys in the class. An additional descriptions would have to be added, such as Bobby the red head, Bobby the blonde and Bobby with the dark hair. An additional descriptions would have to be added, such as Bobby the red head, Bobby the blonde and Bobby with the dark hair. If hair color is a different characteristic then it is another method that can distinguish students. If hair color is a different characteristic then it is another method that can distinguish students. If their name and hair color are the same then a different description would be needed. If their name and hair color are the same then a different description would be needed.

4 Introduction continued, Once the objects have been clearly defined then you must also clearly describe what you are doing with the object (the function). Once the objects have been clearly defined then you must also clearly describe what you are doing with the object (the function). Like the description of the object, the description of the function must be described consistently. Like the description of the object, the description of the function must be described consistently.

5 Example, There are four boxes on the floor being loaded. You are asked to place objects in the boxes For the instruction to be followed consistently, you would need to be told which of the boxes to place the objects in. For the instruction to be followed consistently, you would need to be told which of the boxes to place the objects in. An additional identifier must be placed with the function, such as the color, size, location, content... An additional identifier must be placed with the function, such as the color, size, location, content...

6 In order to write good instructions, we most use some common vocabulary to describe specific situations. Common Vocabulary Common Vocabulary, Identifying Lego Pieces (objects) Identifying Pieces, ColorType Identifying Pieces, by Color & Type Colors Type HalfFull

7 Examples Examples, Full White Half a GreenFull Blue Half a Yellow Lego Pieces (objects) Lego Pieces (objects) will also be identified by when the pieces entered the instructions.

8 Over What color is Over the other Single Poles Double Poles Is it connected with a set of Single Poles or Double Poles Number The Number of connections (White) (Green) (White over Green) (3 double poles) Common Vocabulary Common Vocabulary, Identifying Connections of Lego Pieces (Functions)

9 A full white --- over --- a full green --- 2 --- double posts --- inline A full white --- over --- a full green --- 2 --- single posts --- inline Examples Examples, A half blue --- over --- a full green --- 2 --- double posts A full green --- over --- a half blue --- 2 --- double posts --- middle Notice Notice an additional statement at the end of first and last example, used to clarify how the pieces are connected.

10 Lets build this, (virtually)

11 A half yellow over a full yellow, 2 double posts in the middle. A full white over a full green, 2 double posts, other side. A full blue over a half yellow, 1 double post. A full blue (same blue as before) over a half yellow, 1 double post. A half yellow (the one just attached) over a full yellow, 2 double posts, in the middle. A half white over a full blue, 1 double post, other side. A half white over a full blue, 1 double post. One full green over two half white, 1 double post, empty middle. Lets build this, Success!

12 .. 1.A half yellow over a full yellow, 2 double posts in the middle. 2.A full Blue over a half yellow, 1 double post. 3.A full blue (same blue as before) over a half yellow, 1 double post. 4.A half yellow (the one just attached) over a full yellow, 2 double posts, in the middle. 5.A half white over a full blue, 1 double post. 6.A half white over a full blue, 1 double post, other side 7.One full green over two half white, 1 double post, empty middle. 8.A full white over a full green, 2 double posts. 9.A full white over a full green, 2 double posts, other side. List of Instructions to Make the Lego Object

13 Build the Lego piece based on the instructions Build the Lego piece based on the instructions that follow. Make sure to use the piece that is indicated and the connection described.Pyramid:Base: 1.Full green over full black, 1 double post, inline 2.Full green (from step 1) over full black (new), 1 double post, inline 3.Full yellow (new) over full black (from step 2), 1 double post, inline 4.Full yellow (from step 3) over full black (new), 1 double post, inline 5.Full blue (new) over full black (from step 4), 1 double post, inline 6.Full blue (from step 5) over full black (new), 1 double post, inline

14 Pyramid Cont.: Top: 7.Full red (new) over full green (from step 1) and full yellow (from step 3), 1 double post on each (green and yellow) - empty middle 8.Full white (new) over full yellow (from step 3) and full blues (from step 5), 1 double post on each (yellow and blue) - empty middle 9.Full black (new) over full red (from step 7) and full white (from step 8), 1 double post on each (red and white) - empty middle You should be done, let your instructor take a look at your Lego build.

15 Did yours come out something like,

16 Build the Lego piece based on the instructions Build the Lego piece based on the instructions that follow. Make sure to use the piece that is indicated and the connection described. Part 1 - Base: 1.One half yellow over 4 full black, 1 single poll, holding the corner of the full pieces together For the next set of instruction let the instructor know you are ready.

17 Build the Lego piece based on the instructions Build the Lego piece based on the instructions that follow. Make sure to use the piece that is indicated and the connection described. Part 2 - Trunk: 2.A half white (new) over a half yellow (from step 1), 2 double poles 3.A half yellow (new) over a half white (from step 2), 2 double poles 4.A half white (new) over a half yellow (from step 3), 2 double poles 5.A half yellow (new) over a half white (from step 4), 2 double poles 6.A half white (new) over a half yellow (from step 5), 2 double poles For the next set of instruction let the instructor know you are ready.

18 Build the Lego piece based on the instructions Build the Lego piece based on the instructions that follow. Make sure to use the piece that is indicated and the connection described. Part 3 - Treetop: 7.A full green (new) over a half white (from step 6), 2 double poles, in middle 8.A half green (new) over a full green (from step 7), 1 single pole 9.A half lime (new) over a full green (from step 7), 1 single pole, next to the half green in step 8 10.A half green (new) over a full green (from step 7), 1 double pole, in the middle, next to the half lime in step 9 11.A half grey (new) over a full green (from step 7), 1 double pole, at the end of the full green, inline 12.A half lime (new) over a half green (from step 10) and half grey (from step 11), 1 single pole with half green and 1 double pole with half grey For the next set of instruction let the instructor know you are ready.

19 Build the Lego piece based on the instructions Build the Lego piece based on the instructions that follow. Make sure to use the piece that is indicated and the connection described. Part 3 – Treetop Cont.: 13. A half grey (from step 11) over a half grey (new), 1 single pole 14. A grey (from step 11) over a half orange (new), 1 single pole, next to previous grey 15. A full green (from step 7) over half orange (new), 1 double pole, opposite side of last half orange You should be done, let your instructor take a look at your Lego build.

20 Did yours come out something like,

21 Write the instructions, required for you to build the Lego piece below. full or half color 1.Remember to identify Lego pieces as either full or half and then the color. over 2.State which Lego is over the other Lego. 1, 2, 3 or 4 3.The number post(s) reached, 1, 2, 3 or 4. single post double post 4.The type of connection single post or double post. 5.Clarifying comments

22 Write the instructions, required for you to build the Lego piece below. full or half color 1.Remember to identify Lego pieces as either full or half and then the color. over 2.State which Lego is over the other Lego. 1, 2, 3 or 4 3.The number post(s) reached, 1, 2, 3 or 4. single post double post 4.The type of connection single post or double post. 5.Clarifying comments

23 Questions: 1.Should your list of instructions be the same as everyone elses in the class? Yes or No 2.Explain why your answer is correct (question 1). 3.Using our format of instructions, can two people follow the instructions correctly and not have the same Lego construction (shape) in the end? Yes or No 4.Give an example of an instruction that can be followed correctly two different ways. 5.How could the format of the instructions be changed in order to fix this problem?


Download ppt "Introduction, Computers work by following a series of steps. Computers work by following a series of steps. These steps organize objects (set of variables)"

Similar presentations


Ads by Google