IB computer science HL October 18 2016 Lesson Notes

From Computer Science Wiki
Revision as of 09:37, 18 October 2016 by Mr. MacKenty (talk | contribs) (Created page with " __NOTOC__ <table cellspacing="10" style="width:100%;"> <tr> <td style="width:50%; margin:0; margin-top:10px; margin-right:10px; border:1px solid #dfdfdf; padding:0 1em 1em 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  1. Today in class we will apply our understanding of php and arrays as we work on a RPG character creation system
  2. we will revisit conditionals
<!doctype html>
<html>
<!-- welcome to our simple chargen system -->
<form action="char_gen.php" method="post">
    <p><label>Pay to win:
    <input type="radio" name="paytowin" value="yes">Yes
    <input type="radio" name="paytowin" value="no">No
    </label></p>

    <p>Race:
    <br />
    <br />
    <input type="radio" name="race" value="elf">Elf<br />
    <input type="radio" name="race" value="dwarf">Dwarf<br />
    <input type="radio" name="race" value="human">Human<br />
    <input type="radio" name="race" value="khajit">Khajiit<br />
    <input type="radio" name="race" value="gnome">Gnome<br />
    <input type="radio" name="race" value="centaur">Centaur<br />
    </p>

    <p>Gender:
    <br />
    <br />
    <input type="radio" name="gender" value="male">Male<br />
    <input type="radio" name="gender" value="female">Female<br />
    <input type="radio" name="gender" value="other">Other<br />
    </p>

    <p><input type="submit" value="Onto step 2!" /></p>

</form>
</html>


Homework.png Homework[edit]

  1. Please review our page about collections and arrays


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

  1. You will be formatively assessed in class today

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]