Presentation is loading. Please wait.

Presentation is loading. Please wait.

HOW THEY WORK AND WHAT THEY DO. Jay Jay 9S. A control program is a type of programming that allows you to control systems. Control programs are used in.

Similar presentations


Presentation on theme: "HOW THEY WORK AND WHAT THEY DO. Jay Jay 9S. A control program is a type of programming that allows you to control systems. Control programs are used in."— Presentation transcript:

1 HOW THEY WORK AND WHAT THEY DO. Jay Jay 9S

2 A control program is a type of programming that allows you to control systems. Control programs are used in large buildings to control things, such as: Large air conditioning systems A robotic factory A basic lighting system. Control programs are usually sequences of commands put together, to do things in a certain order to create the final output.

3 A engine program can be used to input commands, and spread it through the system. You can use a simple program called logo32 to demonstrate. It is a program you use to draw shapes through commands. A sequence used to draw a square could be. Repeat 4[fd 100 rt 90] Another hard one would be Repeat 1000[fd 1000 rt 90 fd 1 lt 90] Repeat 1000[fd 1000 rt 15]

4 If there were no control programs, things could go berserk. The traffic lights may be going off at the wrong time, causing car crashes. Computers at an office might turn off unexpectedly. Your tv or aircon might not work if there were no proper control programs.

5 Computers in control have many things they have to do. Computers work 24 hours a day, 365 days a year. They respond rapidly to change, and can also operate anywhere. They usually process information faster than humans. For the computers to work though, there has to be a trigger that works in certain conditions…

6 Computers respond to change, so technicians create sensors that allow computers to work in certain conditions. Light, heat, sound, magnetic, infrared, and other things can be sensors too. Light sensors work in dark, or lit places. Heat sensors work when a presence of heat is nearby. Sound sensors react to… sound. Magnetic works when metals are near it. If the conditions for sensors are not met, the system would not work.

7 A valve water regulation system. It can be done using control.

8 Logo is the name for a philosophy of education and a continually evolving family of programming languages that aid in its realization." - Harold Abelson Apple Logo, 1982 Logo, as mentioned before, is a type of control program that uses a turtle to create shapes using commands. There are many programs for doing this, but the main one we use in school is logo32. It is an easy logo program that is free, and can create shapes too

9 A variable is a piece of data that can be changed. It can be changed so that when you type in a number in place of a variable, something should happen. An example is logo32. When you use it, you have variables to type in, so that the turtle moves a certain length. BUT. You can insert a special type of code that can change the length every time you type it in. And example of me doing this is…

10 Stuff. It’s a cool square.

11 HOW TO CREATE A HOUSE! Make sure this is in your codes. To square :length Repeat 4[fd :length rt 90] End To triangle :length Lt 90 Repeat 3[rt 120 fd :length] Put this in code.

12 IT COULD LOOK LIKE THIS!

13 This was also made in logo! It’s not really hard…

14


Download ppt "HOW THEY WORK AND WHAT THEY DO. Jay Jay 9S. A control program is a type of programming that allows you to control systems. Control programs are used in."

Similar presentations


Ads by Google