Difference between revisions of "IB Computer Science 1"

From WLCS
Line 8: Line 8:
 
* Python Classes
 
* Python Classes
 
** [[Media:PythonClasses.pptx]]
 
** [[Media:PythonClasses.pptx]]
 +
* Geometry Objects Walk-through
 +
* AddressBook Assignment
 +
** Your program should print out a menu with the following options
 +
** Add a new contact
 +
**# Prompt the user for the new contact's name
 +
**# Prompt the user for the new contact's phone
 +
**# Add the contact to the address book
 +
** Find a contact
 +
**# Prompt the user for the contact's name to find
 +
**# Use a loop to traverse the address book
 +
**# If found, print out the contact's full information (name and number)
 +
**# If the contact is not found, then print "Contact Not found"
 +
** Remove a contact
 +
**# Prompt the user for the name of the contact to remove
 +
**# Use a loop to traverse the address book
 +
**# If found, delete/remove the contact from the address book
 +
**# If the contact is not found, then print "Contact Not found"
 +
** Print out all contacts
 +
**# User a loop to print out all the contacts in the address book
 +
** Quit program
 +
* '''Challenges'''
 +
** Add an option to edit a particular contact in the address book
 +
** Add an option to sort the address book
  
 
== Thursday - Friday (5/1/14) ==
 
== Thursday - Friday (5/1/14) ==

Revision as of 13:30, 5 May 2014

Monday - Wednesday (5/5/14 - 5/7/14)

Agenda:

  • Turn any missing assignments/demos
  • Turn in Criterion A of Internal Assessment this week
    • Talk to people to get ideas of problems that can have computerized solutions
    • What kinds of problems, hobbies, or things are you interested in?
  • Introduction to Object-Oriented Programming
  • Python Classes
  • Geometry Objects Walk-through
  • AddressBook Assignment
    • Your program should print out a menu with the following options
    • Add a new contact
      1. Prompt the user for the new contact's name
      2. Prompt the user for the new contact's phone
      3. Add the contact to the address book
    • Find a contact
      1. Prompt the user for the contact's name to find
      2. Use a loop to traverse the address book
      3. If found, print out the contact's full information (name and number)
      4. If the contact is not found, then print "Contact Not found"
    • Remove a contact
      1. Prompt the user for the name of the contact to remove
      2. Use a loop to traverse the address book
      3. If found, delete/remove the contact from the address book
      4. If the contact is not found, then print "Contact Not found"
    • Print out all contacts
      1. User a loop to print out all the contacts in the address book
    • Quit program
  • Challenges
    • Add an option to edit a particular contact in the address book
    • Add an option to sort the address book

Thursday - Friday (5/1/14)

Agenda:

  • Missing demos
  • Play with Scratch
  • Work on Criterion A of Internal Assessment
    • Turn in Criterion A draft at the beginning of next week (Monday - Wednesday)

Monday - Wednesday (4/28/14 - 4/30/14)

Agenda:

Monday - Friday (4/21/14 - 4/25/14)

Agenda:

Friday - Monday (4/4/14 - 4/11/14)

Agenda:

Wednesday - Thursday (4/2/14 - 4/3/14)

Agenda:

Tuesday (4/1/14)

Agenda:

  • Test your 1-player Tic-Tac-Toe game (make sure you have your 2-player version backed up!)
  • Spend today improving the computer's move algorithm
    • What moves do you make that allow you to beat the computer?
    • Can you improve the computer's AI? (Hint: corners)
    • Improve your computer's AI by prioritizing corners after the center square

Archives