Difference between revisions of "IB Computer Science 2"

From WLCS
 
Line 1: Line 1:
== Tuesday (10/1/13) ==
+
== [[IBCS2 - Archives]] ==
'''Warmup:'''
 
* Did you complete the [https://docs.google.com/a/apsva.us/forms/d/18cfalNTvcfN1cntXOll2n6ENJjzAFo0Kd2RU9rg7vVw/viewform IBCS2 Project Ideas Survey]?
 
 
 
'''Agenda:'''
 
* Searching & Sorting Quiz (~20 minutes)
 
* Demo missing matrixAdd() and matrixSub()
 
* Demo completed fliplr(m) and flipud(m)
 
* [[Internal Assessment]] Materials
 
 
 
== Friday (9/27/13) ==
 
'''Agenda:'''
 
* Demo '''matrixAdd(m1, m2)''' and '''matrixSub(m1, m2)'''
 
* Searching & Sorting Quiz on '''Tuesday (10/1/13)'''
 
* Internal Assessment Guidelines - [[Media:IBCS_InternalAssessmentGuidelines.pdf]]
 
*# Read pages 1-4 of [[Media:IBCS_InternalAssessmentGuidelines.pdf]]
 
*# Spend some time today thinking about different project ideas
 
*# Complete the [https://docs.google.com/a/apsva.us/forms/d/18cfalNTvcfN1cntXOll2n6ENJjzAFo0Kd2RU9rg7vVw/viewform IBCS2 Project Ideas Survey]
 
*# Have your project idea(s) ready by '''Tuesday (10/1/13)'''
 
 
 
* 2-D array deep copying
 
<syntaxhighlight lang="Python">
 
import copy
 
m2 = copy.deepcopy(m1)
 
</syntaxhighlight>
 
* Write a function: '''fliplr(m)''' that returns a new matrix that is the horizontal flip (left to right) of matrix '''m'''
 
** [http://www.mathworks.com/help/matlab/ref/fliplr.html MATLAB fliplr() description]
 
* Write a function: '''flipud(m)''' that returns a new matrix that is the vertical flip (up to down) of matrix '''m'''
 
** [http://www.mathworks.com/help/matlab/ref/flipud.html MATLAB flipup() description]
 
* 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
 
*# Accessing all of the individual elements of a two-dimensional list
 
*# Prompt the user to construct a two-dimensional list
 
*## Prompt for the number of rows
 
*## Prompt for the number of columns
 
*## Prompt the user for each number in the two-dimensional list
 
* 2-Dimensional List Assignment
 
*# 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)
 
*# 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) ==
 
* [[Media:B2snIBCS2.ppt]]
 
 
 
== Monday (9/23/12) ==
 
'''Agenda:'''
 
* Review
 
** Searching - [[Media:Searching.pptx]]
 
** Sorting - [[Media:Sorting.pptx]]
 
* [[Media:AlgorithmEvaluation.ppt]]
 
* Algorithm Flowcharts
 
*# [[Media:Flowcharts.ppt]]
 
*# Selection sort example
 
*# Create algorithm flowcharts for
 
*#* Linear search
 
*#* Binary search
 
*#* Bubble sort
 
*# You may use Google Draw or you can draw it out by hand
 
 
 
== Thursday (9/19/13) ==
 
'''Agenda:'''
 
* Missing CodingBats (graded...if you forgot to do it...you may be failing right now)
 
* Demo missing [[PythonSearchAssignment.py]]
 
* Demo [[PythonSelectionSortAssignment.py]]
 
* Bubble Sort - [[Media:Sorting.pptx]]
 
* Complete [[PythonBubbleSortAssignment.py]]
 
* Quick Sort
 
* Challenge: Implement Quick Sort
 
 
 
== Tuesday (9/17/13) ==
 
'''Warmup:'''
 
# Create a 2 person group
 
# Take 5 playing cards
 
# Lay them out randomly in a row (out of order)
 
# Sort them in numerical order (Ace is high)
 
# As a team, discuss your sorting algorithm
 
# Write down the basic steps to your algorithm
 
 
 
'''Agenda:'''
 
* Selection Sort - [[Media:Sorting.pptx]]
 
* Complete [[PythonSelectionSortAssignment.py]] by next class
 
* Demo [[PythonSearchAssignment.py]]
 
* Be sure to have the following CodingBat sections complete (make_bricks & make_chocolate may be skipped)
 
** [http://codingbat.com/python/Logic-2 CodingBat Logic-2]
 
** [http://codingbat.com/python/String-2 String-2]
 
** [http://codingbat.com/python/List-2 List-2]
 
 
 
== Friday (9/13/13) ==
 
'''Agenda:'''
 
* Searching - [[Media:Searching.pptx]]
 
** Linear Search
 
** Binary Search
 
* Search Assignment - [[PythonSearchAssignment.py]]
 
* CodingBat Review - all completed by Tuesday (9/17/13)
 
*# If you do not already have one, create a [http://codingbat.com/ CodingBat] account
 
*# Once you're logged in, go to '''prefs->teacher share''' and use [[Image:BuiEmail.bmp]]
 
*# Complete all the [http://codingbat.com/python/Logic-2 CodingBat Logic-2 exercises]
 
*# Continue and complete [http://codingbat.com/python/String-2 String-2]
 
*# Continue and complete [http://codingbat.com/python/List-2 List-2]
 
 
 
== 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:'''
 
* Python Programming Review
 
** Functions
 
** Conditional Logic
 
** Loops
 
* Python Quick References
 
** [[Media:PythonQuickRef_Memento.pdf]]
 
** [[Media:PythonQuickRef_Interfaceware.pdf]]
 
* CodingBat Review - all completed by Tuesday (9/17/13)
 
*# If you do not already have one, create a [http://codingbat.com/ CodingBat] account
 
*# Once you're logged in, go to '''prefs->teacher share''' and use [[Image:BuiEmail.bmp]]
 
*# Complete all the [http://codingbat.com/python/Logic-2 CodingBat Logic-2 exercises]
 
*# Continue and complete [http://codingbat.com/python/String-2 String-2]
 
*# Continue and complete [http://codingbat.com/python/List-2 List-2]
 
 
 
== 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
 
*# Sign into your APS Google account
 
*# Open a Google Doc and title it '''Usability Assignment'''
 
*# Put your name at the top
 
*# Find 2 examples of good usability
 
*## Take a screenshot or find a picture of the example
 
*## Paste it into the Google Doc
 
*## Point out or highlight the specific usability aspect somehow (in red or bright green are best)
 
*## State which usability rule the example is following, and describe how it follows it
 
*## Repeat for each of the 2 examples of good usability (each example should be a different usability rule)
 
*# Find 2 examples of bad usability
 
*## Take a screenshot or find a picture of the example
 
*## Paste it into the Google Doc
 
*## Point out or highlight the specific usability aspect failure (in red or bright green are best)
 
*## State which usability rule the example is breaking, and describe how it breaks it
 
*## Repeat for each of the 2 examples of bad usability (each example should be a different usability rule)
 
*# Share the document w/ Mr. Bui
 
 
 
== Thursday (9/5/13) ==
 
'''Agenda:'''
 
* [[Media:SystemDesignBasics.pptx]]
 
 
 
== Tuesday (9/3/13) ==
 
'''Agenda:'''
 
* Turn in your summer assignment via Google Drive
 
* [[Media:SoftwareDevelopment.ppt]]
 
* Summer Assignment (Software Development) Quiz
 
 
 
== Summer ==
 
* [[IBCS2 Summer Assignment]]
 

Latest revision as of 08:28, 13 September 2023