Designing solutions through programming - January 20 2017 Lesson Notes

From Computer Science Wiki
Jump to navigation Jump to search

Class plan.png What are we going to learn today?[edit]

  1. I am out sick today. Again. Blech.
  2. I am sorry my last examples were not so good
  3. Please look at this page to see an example of your form. Please pay attention to the form action and the labels. There is more information in their than normal (ID's) http://85.90.244.131/bm/bootstrap_form.html
  4. please look at THIS page for your output: http://85.90.244.131/bm/exercise.php

What is different with this page than what you normally do is we are MIXING php and HTML.

  1. please copy both files. Note the bootstrap template is very simple.
  2. please create an additional conditional that tests if the user entered "video games" as exercise. If so, your program should be "nicely sarcastic" that video games is not exercise!
  3. You must answer the question about what the grid row means:
<div class="col-md-8 offset-2">
  1. PLEASE read the next section about assessment!!!!!!!

Homework.png What is our homework?[edit]

None.


Target.png How am I being assessed today?[edit]

  1. You must create 2 files, bootstrap_form.html and example.php
  2. Your input and output must be MINIMALLY what Mr. MacKenty provided
  3. You MUST email Mr. MacKenty with an answer to the question about what the column grid does. (stuck? click here)
  4. Want a little more points? Please create a form that asks more questions about exercise and echoes the user input.

Ourstandards.png Standards we are covering today[edit]

Computer1.png As a computer scientist, you have:[edit]

  • Confidence in dealing with complexity
  • Persistence in working with difficult problems
  • Tolerance for ambiguity
  • The ability to deal with open-ended problems
  • The ability to communicate and work with others to achieve a common goal or solution

Credit.png Credits[edit]

Use an idea, equation, principle, theory or law in relation to a given problem or issue.