Programming model

416 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
416
On SlideShare
0
From Embeds
0
Number of Embeds
61
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Programming model

  1. 1. Programming Model
  2. 2. Input <ul><li>Data </li></ul><ul><ul><li>Numbers </li></ul></ul><ul><ul><li>Text </li></ul></ul><ul><ul><li>Mouse position </li></ul></ul><ul><ul><li>Measurement level </li></ul></ul><ul><li>Events </li></ul><ul><ul><li>Key action </li></ul></ul><ul><ul><li>Mouse action </li></ul></ul><ul><ul><li>On/off status </li></ul></ul><ul><ul><li>Time </li></ul></ul><ul><ul><li>Elapsed time </li></ul></ul>
  3. 3. Output <ul><li>Numbers </li></ul><ul><li>Text </li></ul><ul><li>Graphics </li></ul><ul><li>Switches </li></ul><ul><li>Actuators </li></ul>
  4. 4. Processing <ul><li>Calculations </li></ul><ul><li>Text processing </li></ul><ul><li>Decisions </li></ul><ul><li>Repetitions </li></ul>
  5. 5. Data <ul><li>Tables </li></ul><ul><li>Trees </li></ul><ul><li>Maps </li></ul>
  6. 6. Grading Program Example
  7. 7. Game examples
  8. 8. System examples
  9. 9. Programming <ul><li>Prepare and listen for the input </li></ul><ul><li>Writing the processing instructions </li></ul><ul><li>Fetch the data </li></ul><ul><li>Prepare and show the output </li></ul>
  10. 10. Programming Languages <ul><li>Facilitates the writing of the instructions </li></ul><ul><li>Gazillion different programming languages </li></ul><ul><ul><li>Specific applications </li></ul></ul><ul><ul><li>Promote good programming practices. </li></ul></ul>
  11. 11. Homework <ul><li>For the following systems: </li></ul><ul><ul><li>Programmable thermostat </li></ul></ul><ul><ul><li>Facebook </li></ul></ul><ul><ul><li>A game of your choosing </li></ul></ul><ul><li>Describe their inputs, outputs, processing, and data </li></ul>

×