Difference between revisions of "IB Computer Science 2"

From WLCS
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Monday - Tuesday (10/30/17 - 10/31/17) ==
+
== Monday - Tuesday (11/20/17 - 11/21/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* 1st Quarter is ending -- demo any missing assignments
+
* TURN IN PERMISSION SLIPS! (caps are intentional to convey yelling)
* Work on your [[Internal Assessment]] or college applications
+
* Return Node Quiz
* If you are complete done with college applications, then work on scholarships
+
** Node Quiz retakes
 +
* Complete and demo [[Java - Dynamic Stack Assignment]]
 +
** If you have not, then complete it over Thanksgiving Break
  
== Friday (10/27/17) ==
+
== Thursday (11/16/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Mr. Bui has a slight case of pneumonia.
+
* Take the Node Quiz (~10 minutes)
* Complete any missing assignments
+
* Work on [[Java - Dynamic Stack Assignment]]
* Work on college applications (November 1st deadline is just around the corner)
 
* If you are complete done with college applications, then work on scholarships
 
  
== Wednesday (10/25/17) ==
+
== Monday - Wednesday (11/13/17 - 11/15/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Demo the following:
+
* Demo completed [[Java - Static Queue Assignment]]
** [[Person class lab assignment]]
+
** Be sure that you cover the special enqueue/add and dequeue/remove scenarios!
** [[Car class lab assignment]]
+
* Work on the Circular Queue challenge at the end of [[Java - Static Queue Assignment]]
** [[Vector class lab assignment]]
+
* Object and References Review
 +
** [[Media:Point.java]]
 +
** [[Media:ReferencesReview.java]]
 +
* Node class
 +
** [[Media:Node.java]]
 +
** [[NodeDemo.java]]
 +
** [[AnotherNodeDemo.java]]
 +
* Node Quiz on Thursday (11/16/17)
 +
** 2 questions
 +
** If given code, you can draw a memory diagram
 +
** If given a memory diagram, you can write the code to create it
  
== Monday - Tuesday (10/23/17 - 10/24/17) ==
+
== Monday - Thursday (11/6/17 - 11/9/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Demo the distance() and midPoint() methods using the points that Mr. Bui has written on the board
+
* Group 4 field trip chaperone forms?
* Work on the following labs:
+
* Read Queues - [[Media:Queues.ppt]]
** [[Person class lab assignment]]
+
* Play with the [https://www.cs.usfca.edu/~galles/visualization/QueueArray.html Queues Array Implementation]
** [[Car class lab assignment]]
+
* Work on [[Java - Static Queue Assignment]]
** [[Vector class lab assignment]]
 
  
== Thursday - Friday (10/19/17 - 10/20/17) ==
+
== Wednesday - Friday (11/1/17 - 11/3/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Search and Sort Quiz
+
* Group 4 Project Field Trip
* Finish working on the Point class from last class period
+
** November 29th, 2017
* Define more static methods in PointMain.java:
+
** Smithsonian Museum of Natural History
** double distance(Point p1, Point p2) - returns distance between p1 and p2
+
** We need chaperones -- ask your parent and return the form
** Point midPoint(Point p1, Point p2) - returns a new Point, which is the midpoint between p1 and p2
+
* Introduction to Stacks - [[Media:Stacks.ppt]]
* Test your new methods in the main(). Demonstrate the tests to Mr. Bui
+
** Be able to describe the characteristics of a stack
 
+
** Be able to explain the operations of a stack
'''Homework:'''
+
** Be able to describe different stack applications
* Add the distance() and midPoint() methods to your PointMain.java (see above)
+
** If given a list or an array, be able to explain their use as stacks
 
+
* [https://www.cs.usfca.edu/~galles/visualization/Algorithms.html Data Structure Visualizations]
== Monday - Wednesday (10/16/17 - 10/18/17) ==
+
* Static-sized Stack class walk-through
'''Agenda:'''
+
*# Read through and analyze ALL the code for [[Media:Stack.java]]
* Demo the [https://docs.oracle.com/javase/tutorial/uiswing/learn/index.html CelsiusConverter GUI Tutorial]
+
*# Create a new project and include [[Media:Stack.java]] and [[Media:StackMain.java]]
* Search and sort quiz this Thursday (10/19/17). Be able to describe the step-by-step algorithms:
+
*# Test out [[Media:Stack.java]] and [[Media:StackMain.java]]
** Linear search
+
* Read Queues - [[Media:Queues.ppt]]
** Binary search
+
* Play with the [https://www.cs.usfca.edu/~galles/visualization/QueueArray.html Queues Array Implementation]
** Selection sort
+
* Work on [[Java - Static Queue Assignment]]
** Bubble sort
 
* Java Functions/Methods Review
 
** [[Media:JavaMethods.pptx]]
 
** Method Definitions
 
** Method Return types
 
** Method Parameters
 
** Method Calls
 
* Java Objects
 
** [[Media:IntroObjects.ppt]]
 
** [[Media:ObjectUsageReview.ppt]]
 
** [[Media:ObjectUsageReview2.ppt]]
 
** [[Media:IntroClasses.ppt]]
 
** [[Media:OOP.pptx‎]]
 
* Point Class assignment
 
*# You will create two java files: '''Point.java''' and '''PointMain.java'''
 
*#* '''Point.java''' - the Point class definition will be here
 
*#* '''PointMain.java''' - only the main() method will be located here
 
*# Declare and initialize the following '''private''' attributes in the Point class
 
*#* double x = 0.0
 
*#* double y = 0.0
 
*# Define two Point() constructors:
 
*#* default constructor: Point()
 
*#* specific constructor Point(double newX, double newY)
 
*# Define the following '''public''' methods in the Point class
 
*#* double getX() - returns the x-coordinate
 
*#* double getY() - returns the y-coordinate
 
*#* void setX(double newX) - sets the x-coordinate to the new x-coordinate parameter
 
*#* void setY(double newY) - sets the y-coordinate to the new y-coordinate parameter
 
*#* String toString() - returns a String representation of the Point object (skip this for now)
 
*# Go to your PointMain.java file to test out your Point class
 
*# In the main method, create several new instances of Point objects
 
*# Print out each of your Point objects
 
*# Define a static method in PointMain.java named '''double slope(Point p1, Point p2)''' - returns the slope between p1 and p2
 
*# Test and print out your slope method when you use it with your instantiated Point objects in the main() method
 
 
 
== Thursday - Friday (10/12/17 - 10/13/17) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
* Complete the [https://docs.oracle.com/javase/tutorial/uiswing/learn/index.html CelsiusConverter GUI Tutorial]
 
** Be sure to read the page, complete the steps, and then hit '''next'''
 
* Java NetBeans GUI Review
 
 
 
== Tuesday (10/10/17) ==
 
'''Agenda:'''
 
* Mr. Bui is out today b/c his son is sick.
 
* Complete any missing assignments
 
* Complete the [https://docs.oracle.com/javase/tutorial/uiswing/learn/index.html CelsiusConverter GUI Tutorial]
 
** Be sure to read the page, complete the steps, and then hit '''next'''
 
 
 
== Friday (10/6/17) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
** Everything up through Bubble Sort
 
 
 
== Thursday (10/5/17) ==
 
'''Agenda:'''
 
* Mr. Bui is sick today
 
* Complete any missing assignments
 
* Work on your Internal Assessment code
 
** If you cannot work on your code, you should research or design aspects of your code that you know you will need to develop
 
 
 
== Wednesday (10/4/17) ==
 
'''Agenda:'''
 
* Introduction to Sorting
 
** [[Media:Sorting.pptx]]
 
* Complete and demo [[Media:SelectionSort.java]]
 
* Complete and demo [[Media:BubbleSort.java]]
 
 
 
== Monday - Tuesday (10/2/17 - 10/3/17) ==
 
'''Agenda:'''
 
* Introduction to Sorting
 
** [[Media:Sorting.pptx]]
 
* Complete and demo [[Media:SelectionSort.java]]
 
* Period 6
 
** Complete and demo [[Media:BubbleSort.java]]
 
  
 
== Archives ==
 
== Archives ==
 +
* [[IBCS2 - 1718 - October]]
 
* [[IBCS2 - 1718 - September]]
 
* [[IBCS2 - 1718 - September]]
 
* [[IBCS2 Summer Assignment]]
 
* [[IBCS2 Summer Assignment]]
 
* [[IBCS2 - 1617]]
 
* [[IBCS2 - 1617]]

Revision as of 11:38, 20 November 2017

Monday - Tuesday (11/20/17 - 11/21/17)

Agenda:

  • TURN IN PERMISSION SLIPS! (caps are intentional to convey yelling)
  • Return Node Quiz
    • Node Quiz retakes
  • Complete and demo Java - Dynamic Stack Assignment
    • If you have not, then complete it over Thanksgiving Break

Thursday (11/16/17)

Agenda:

Monday - Wednesday (11/13/17 - 11/15/17)

Agenda:

Monday - Thursday (11/6/17 - 11/9/17)

Agenda:

Wednesday - Friday (11/1/17 - 11/3/17)

Agenda:

Archives