Difference between revisions of "IB Computer Science 1"

From WLCS
Line 1: Line 1:
 +
== Thursday (10/22/15) ==
 +
'''Agenda:'''
 +
* [https://docs.google.com/document/d/1hsnzDu0GQ3aAsZcDzVD_rpl5CiukI9yJdSxADtHO9X0/edit?usp=sharing Lab 12: Collect Them All]
 +
* [https://docs.google.com/document/d/10o5Xjo5R2NfqPXw1Qfn3oy1k7inFaJqxzcNPchFtzR8/edit?usp=sharing Lab 13: Harvest the Field]
 +
 
== Tuesday (10/20/15) ==
 
== Tuesday (10/20/15) ==
 +
'''Agenda:'''
 
* [https://docs.google.com/document/d/1R_Qd7nCcXNGyEtQfwUE1gCEmGhd7M_aaPCO3wuou4h4/edit?usp=sharing Lab 11: Maze Solver]
 
* [https://docs.google.com/document/d/1R_Qd7nCcXNGyEtQfwUE1gCEmGhd7M_aaPCO3wuou4h4/edit?usp=sharing Lab 11: Maze Solver]
 
* While Loop concepts
 
* While Loop concepts

Revision as of 09:24, 22 October 2015

Thursday (10/22/15)

Agenda:

Tuesday (10/20/15)

Agenda:

  • Lab 11: Maze Solver
  • While Loop concepts
    • counter variables
    • update operators (+=, -=, *=, /=, %=)
  • While Loop practice
    1. Write a loop that prints 0 to 10
    2. Write a loop that prints 10 to 0
    3. Write a loop that prints from 19 to 77
    4. Write a loop that prints the first 50 even numbers
    5. Prompt a user for a number N. Write a loop that then prints out the first N even numbers (Hint: Use multiple variables)
  • Lab 12: Collect Them All

Wednesday - Friday (10/14/15 - 10/16/15)

Agenda:

  • APS PRIME Internship Program - see Ms. Burgos for more information
  • VA Governor's School - Summer Residential Programs - see Ms. Burgos for more information
  • Volunteer & job opportunities for juniors or seniors (if interested, come see Mr. Bui):
    • Ms. Carlson (PTA member)
      • Requirement: HTML skills, general I.T. skills
      • Paid work on various projects for non-profit clients: voter registration, e-mail broadcasting, fundraising website maintenance, Facebook page maintenance
    • Mr. Goldstein (school board candidate)
      • Requirement: general I.T. skills
      • Volunteer work on various I.T. projects: e-mail broadcasting, data entry
  • Introducing the Debugger
    1. Load your Lab3.py code
    2. Set a debug breakpoint at the line where the world is created (clicking on the left gray gutter will leave a red dot)
    3. Hit the debug button (ladybug)
    4. What happens? The code should execute, but stop at the debug breakpoint
    5. You may now use the debug stepping buttons:
      1. Step-into (arrow into box) - executes current line and steps into any function calls
      2. Step-over (arrow over box) - executes current line and goes to next one (does *not* enter function calls)
      3. Step-out of (arrow out of box) - steps out of the current function call
  • Lab 10: Lab 2 Redo
  • Lab 11: Maze Solver

Friday (10/9/15)

Warmup:

  • Think about the following questions (you may discuss with a partner):
    1. What is the purpose of a password for a login (authentication) system?
    2. Why do password systems require a minimum password length (e.g. 8 characters or more)?
    3. Why do password systems require the use of both upper and lowercase characters as well as special characters (e.g. !@#$%^&*)?
    4. Do all password systems have identical password requirements?
    5. What happens when people have too many different passwords?

Agenda:

Wednesday (10/7/15)

Agenda:

Monday (10/5/15)

Warmup:

  1. Create a new file named warmup_10_5_15.py
  2. Prompt the user for a username and store it in a variable named username
  3. Prompt the user for a password and store it in a variable named password
  4. Write an if-else-statement that checks if the username matches "wlcs" and the password matches "awesome"
  5. Print out "Login successful" if the username and password are correct, and "Login rejected" otherwise

Agenda:

Thursday (10/1/15)

Warmup:

  • Go to Google Classroom and check if you have turned in every lab assignment

Agenda:

  • Back to School Night Debrief
  • Period 1 - Complete Labs 5 & 6
  • Introduction to Conditionals
  • Letter Grade Calculator
    1. Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
    2. Use if-statements, comparison operators, and logical operators (and, or, not)
    3. Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
  • Menu System
    1. Find a fast food menu that lists different items and their caloric counts
    2. Print out a menu of 5 of those items
    3. Prompt the user to make a choice of one of the menu items
    4. Using if statements, determine what choice the user made, and print out the calories in the order

Archives