Difference between revisions of "IB Computer Science 2"

From WLCS
Line 7: Line 7:
 
** Be able to describe different stack applications
 
** Be able to describe different stack applications
 
** If given a list or an array, be able to explain their use as stacks
 
** If given a list or an array, be able to explain their use as stacks
 +
* Python Classes Review
 +
* NumStack Class walk-through
  
 
== Tuesday (10/1/13) ==
 
== Tuesday (10/1/13) ==

Revision as of 06:56, 3 October 2013

Thursday (10/3/13)

Agenda:

  • Stacks - Media:Stacks.ppt
    • Stacks quiz on Monday (10/7/13)
    • Be able to describe the characteristics of a stack
    • Be able to explain the operations of a stack
    • Be able to describe different stack applications
    • If given a list or an array, be able to explain their use as stacks
  • Python Classes Review
  • NumStack Class walk-through

Tuesday (10/1/13)

Warmup:

Agenda:

  • Searching & Sorting Quiz (~20 minutes)
  • Demo missing matrixAdd() and matrixSub()
  • Demo completed fliplr(m) and flipud(m)
  • Internal Assessment Materials
  • Henceforth...all free time...will be spent working on your IA

Friday (9/27/13)

Agenda:

  • 2-D array deep copying
import copy
m2 = copy.deepcopy(m1)
  • Write a function: fliplr(m) that returns a new matrix that is the horizontal flip (left to right) of matrix m
  • Write a function: flipud(m) that returns a new matrix that is the vertical flip (up to down) of matrix m
  • Try completing the challenges from last class

Wednesday (9/25/13)

Agenda:

  • Turn in flowcharts (Linear Search, Binary Search, Bubble Sort)
  • Searching & Sorting Quiz on Tuesday (10/1/13)
    • Be able to explain the steps of each of the linear search, binary search, selection sort, and bubble sort
  • List Review
  • 2-Dimensional Lists and Nested Loops
    1. Accessing all of the individual elements of a two-dimensional list
    2. Prompt the user to construct a two-dimensional list
      1. Prompt for the number of rows
      2. Prompt for the number of columns
      3. Prompt the user for each number in the two-dimensional list
  • 2-Dimensional List Assignment
    1. Write a function: matrixAdd(m1, m2) that returns a new matrix that is the sum of m1 and m2
      • Be sure to check if the two matrices are the same size (if not, then return an empty matrix)
    2. Write a function: matrixSub(m1, m2) that returns a new matrix that is the difference of m1 and m2
      • Return an empty matrix if their sizes are different
  • Challenge: Write a function: matrixMult(m1, m2) that returns the product of matrix m1 and m2
    • Be sure to check the rules of matrix multiplication
  • Challenge: Write the function det(m) which returns the determinant of any matrix m

Back to School Night (9/24/13)

Monday (9/23/12)

Agenda:

Thursday (9/19/13)

Agenda:

Tuesday (9/17/13)

Warmup:

  1. Create a 2 person group
  2. Take 5 playing cards
  3. Lay them out randomly in a row (out of order)
  4. Sort them in numerical order (Ace is high)
  5. As a team, discuss your sorting algorithm
  6. Write down the basic steps to your algorithm

Agenda:

Friday (9/13/13)

Agenda:

Wednesday (9/11/13)

Warmup:

  • Turn in your signed syllabus sheet if you have it (due by the end of the week)
  • Make sure you've shared your Usability Assignment w/ Mr. Bui

Agenda:

Monday (9/9/13)

Agenda:

  • IB Computer Science II Syllabus
    • Signed syllabus sheets due by the end of the week
  • Media:SystemDesignBasics.pptx
  • Usability Assignment
    1. Sign into your APS Google account
    2. Open a Google Doc and title it Usability Assignment
    3. Put your name at the top
    4. Find 2 examples of good usability
      1. Take a screenshot or find a picture of the example
      2. Paste it into the Google Doc
      3. Point out or highlight the specific usability aspect somehow (in red or bright green are best)
      4. State which usability rule the example is following, and describe how it follows it
      5. Repeat for each of the 2 examples of good usability (each example should be a different usability rule)
    5. Find 2 examples of bad usability
      1. Take a screenshot or find a picture of the example
      2. Paste it into the Google Doc
      3. Point out or highlight the specific usability aspect failure (in red or bright green are best)
      4. State which usability rule the example is breaking, and describe how it breaks it
      5. Repeat for each of the 2 examples of bad usability (each example should be a different usability rule)
    6. Share the document w/ Mr. Bui

Thursday (9/5/13)

Agenda:

Tuesday (9/3/13)

Agenda:

Summer