i have made one myself it just says hello and changes colour.
Wednesday, October 20, 2010
Scratch programing and control structures
I have been playing with scratch and making algorisums using forever and if actions.
Tuesday, October 19, 2010
Sample Flow Charts
1. For each of the flowcharts below describe in words what you think they will do.
The first flow chart is showing the testing of the temperature of somthing. It has desision and all aspects of a good flow chart. It realy shows weather the temp is above or below freezing.
The seconed flow chart is turning on a led Light
The first flow chart is showing the testing of the temperature of somthing. It has desision and all aspects of a good flow chart. It realy shows weather the temp is above or below freezing.
The seconed flow chart is turning on a led Light
2. Convert one of the algorithms you have created in the previous task into a flowchart, e.g. opening a door, moving through a traffic light.
Mine is a simple flow chart of talking your dog for a walk and returning back home. their is a desion asking if you have walked for 30min yes/no if you desision is yes you return home if it is no you start your walk again. This sample chart is not right, catch dog, and back home are actions their should always be start and end. I also was supost to put the desion arrow pointing not to go for walk but just above. I have made a new flow chart which is perfect and is the one next to the incorrect one.
Tuesday, October 12, 2010
Computer Algaration
class discusion for a trafic light relating to computer algartion.
TRAFIC LIGHTS
if light is green then continue.
if light is red then stop.
if light is orange then slow down.
"if.....then....". Selection-choose.
Selection-order.
...............................................................................................
TEMP OF BATH WATER
Repetition-truning the hot and cold handles, testing the temp.
DEFINITIONS
Algorithms- a set of steps that describes exactly how to do something. An algorithm is a step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps.
Pseudo code- a program code unrelated to the hardware of a particular computer and requiring conversion to the code used by the computer before the program can be used.
Machine Language- a coding system built into the hardware of a computer, requiring no translation before being run.
Flowchart- a graphic representation, using symbols interconnected with lines, of the successive steps in a procedure or system.
Sequence- something that follows.
Selection- an act or instance of selecting or the state of being selected; choice.
Repetition- something made by or resulting from repeating.
TRAFIC LIGHTS
- approch lights
- cheak colour of light
if light is green then continue.
if light is red then stop.
if light is orange then slow down.
"if.....then....". Selection-choose.
Selection-order.
...............................................................................................
TEMP OF BATH WATER
Repetition-truning the hot and cold handles, testing the temp.
DEFINITIONS
Algorithms- a set of steps that describes exactly how to do something. An algorithm is a step-by-step problem-solving procedure, especially an established, recursive computational procedure for solving a problem in a finite number of steps.
Pseudo code- a program code unrelated to the hardware of a particular computer and requiring conversion to the code used by the computer before the program can be used.
Machine Language- a coding system built into the hardware of a computer, requiring no translation before being run.
Flowchart- a graphic representation, using symbols interconnected with lines, of the successive steps in a procedure or system.
Sequence- something that follows.
Selection- an act or instance of selecting or the state of being selected; choice.
Repetition- something made by or resulting from repeating.
Subscribe to:
Posts (Atom)