Difference between revisions of "IB Computer Science 2"

From WLCS
(Thursday - Friday (10/19/17 - 10/20/17))
 
(644 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Thursday - Friday (10/19/17 - 10/20/17) ==
+
== [[IBCS2 - Archives]] ==
'''Agenda:'''
 
* Search and Sort Quiz
 
* Finish working on the Point class from last class period
 
* Define more static methods in PointMain.java:
 
** double distance(Point p1, Point p2) - returns distance between p1 and p2
 
** Point midPoint(Point p1, Point p2) - returns a new Point, which is the midpoint between p1 and p2
 
* Test your new methods in the main(). Demonstrate the tests to Mr. Bui
 
 
 
'''Homework:'''
 
* Add the distance() and midPoint() methods to your PointMain.java (see above)
 
 
 
== Monday - Wednesday (10/16/17 - 10/18/17) ==
 
'''Agenda:'''
 
* Demo the [https://docs.oracle.com/javase/tutorial/uiswing/learn/index.html CelsiusConverter GUI Tutorial]
 
* Search and sort quiz this Thursday (10/19/17). Be able to describe the step-by-step algorithms:
 
** Linear search
 
** Binary search
 
** Selection sort
 
** 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]]
 
 
 
== Thursday - Friday (9/28/17 - 9/29/17) ==
 
'''Agenda:'''
 
* Complete and demo [[JavaSearchAssignment.java]]
 
* Introduction to Sorting
 
** [[Media:Sorting.pptx]]
 
* Work on [[Media:SelectionSort.java]]
 
 
 
== [https://docs.google.com/presentation/d/1PoA335gHnDCoWpGEpgHLDDaVzxjZ7fdE-oDaQaiENaQ/edit?usp=sharing Back to School Night (9/27/17)] ==
 
 
 
== Wednesday (9/27/17) ==
 
'''Agenda:'''
 
* Complete [[JavaSearchAssignment.java]]
 
 
 
== Monday - Tuesday (9/25/17 - 9/26/17) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
* Demo completed [[Java Arrays Assignment]]
 
* Searching - [[Media:Searching.pptx]]
 
** Linear Search
 
** Binary Search
 
* Complete [[JavaSearchAssignment.java]]
 
 
 
== Thursday - Friday (9/21/17 - 9/22/167) ==
 
'''Agenda:'''
 
* Demo Array-1 and Array-2 for credit
 
* Complete [[Java Arrays Assignment]]
 
 
 
== Tuesday - Wednesday (9/19/17 - 9/20/17) ==
 
'''Agenda:'''
 
* Complete the following exercises in [http://codingbat.com/java/String-1 CodingBat: String-1]
 
** makeOutWord
 
** extraEnd
 
** firstTwo
 
* Complete the following exercises in [http://codingbat.com/java/String-2 CodingBat: String-2]
 
** doubleChar
 
** countHi
 
* [https://docs.google.com/a/apsva.us/presentation/d/1Ayzvd1q-6RwZKplUtLHDCCLyO5XIR5kyeKUi8-htErY/edit?usp=sharing Arrays (Java)]
 
** Additional review material: [[Media:IntroArrays.ppt]]
 
** [http://codingbat.com/java/Warmup-2 CodingBat Array Warmup] (as a class)
 
*** arrayCount9
 
*** array123
 
*** noTriples
 
** Complete the following exercises in [http://codingbat.com/java/Array-1 CodingBat: Array-1]
 
*** no23
 
*** makeMiddle
 
*** swapEnds
 
** Complete the following exercises in [http://codingbat.com/java/Array-2 CodingBat: Array-2]
 
*** sum67
 
*** matchUp
 
 
 
== Friday - Monday (9/15/17 - 9/18/17) ==
 
* for loop review
 
** [https://docs.google.com/a/apsva.us/presentation/d/1ybEzO70d-bzZf-zrTJZq4d9AB5tTQwP7E2K6S-KucSo/edit?usp=sharing Java for loops]
 
* Java String review
 
** [https://docs.google.com/a/apsva.us/presentation/d/1VBmjWzYNJ4cTBN0BrbnX0R4vrt6NHIr1gRppRd9MJx8/edit?usp=sharing Java Strings]
 
* [http://codingbat.com/java/Warmup-2 CodingBat: Warmup-2] class practice & review
 
* Complete the following exercises in [http://codingbat.com/java/String-1 CodingBat: String-1]
 
** makeOutWord
 
** extraEnd
 
** firstTwo
 
* Complete the following exercises in [http://codingbat.com/java/String-2 CodingBat: String-2]
 
** doubleChar
 
** countHi
 
 
 
'''Homework:'''
 
* Complete the CodingBat: String-1 & String-2 exercises listed above (from class)
 
 
 
== Thursday (9/14/17) ==
 
'''Agenda:'''
 
* Demo missing Guessing Game
 
* Senior panoramic photo @ the stadium
 
* for loop review
 
** [https://docs.google.com/a/apsva.us/presentation/d/1ybEzO70d-bzZf-zrTJZq4d9AB5tTQwP7E2K6S-KucSo/edit?usp=sharing Java for loops]
 
 
 
== Wednesday (9/13/17) ==
 
'''Agenda:'''
 
* Create the [[Guessing Game Assignment]] in Java
 
** You can always refer to the [http://introcs.cs.princeton.edu/java/11cheatsheet/ Java Programming Cheatsheet]
 
** Demo your program for credit
 
* Work on your Internal Assessment programming code with your free time
 
 
 
== Monday - Tuesday (9/11/17 - 9/12/17) ==
 
'''Agenda:'''
 
* Introduction to NetBeans
 
** Customizations
 
* Java Review - [http://introcs.cs.princeton.edu/java/11cheatsheet/ Java Cheatsheet]
 
** Introduction to NetBeans IDE
 
** Simple main method
 
** Variables, types, values
 
** Keyboard input w/ Scanner
 
** Circle circumference and area calculator
 
** if statements
 
** while and for loops
 
* Recreate the [[Guessing Game Assignment]] in Java
 
** You may need to look up how to do random numbers in Java
 
** You can always refer to the [http://introcs.cs.princeton.edu/java/11cheatsheet/ Java Programming Cheatsheet]
 
 
 
== Wednesday - Friday (9/6/17 - 9/8/17) ==
 
'''Agenda:'''
 
* Misc Logistics:
 
** Mr. Bui has A Lunch (1st Lunch) on W-days
 
** Mr. Bui has 4th period planning on L-Days (so whatever lunch he feels like having that day)
 
* [[IB Computer Science II Syllabus]]
 
** Complete online syllabus agreement form by Monday (9/11/17)
 
** Homework posted on Canvas?
 
* Java Review - [http://introcs.cs.princeton.edu/java/11cheatsheet/ Java Cheatsheet]
 
** Introduction to NetBeans IDE
 
** Simple main method
 
** Variables, types, values
 
** Keyboard input w/ Scanner
 
** Circle circumference and area calculator
 
** if statements
 
** while and for loops
 
* Recreate the [[Guessing Game Assignment]] in Java
 
** You may need to look up how to do random numbers in Java
 
** You can always refer to the [http://introcs.cs.princeton.edu/java/11cheatsheet/ Java Programming Cheatsheet]
 
 
 
'''Homework:'''
 
* Check Canvas!
 
 
 
== Tuesday (9/5/17) ==
 
'''Agenda:'''
 
* Introductions
 
* [[IBCS2 Summer Assignment]]
 
** Submit via '''Canvas''' by the Monday (9/11/17)
 
* [https://apsva.instructure.com/ APS Canvas]
 
** First time for everybody!
 
** Try logging in now...
 
** What do you see?
 
 
 
'''Homework:'''
 
* [[IBCS2 Summer Assignment]]
 
** Submit via '''Canvas''' by the Monday (9/11/17)
 
* Syllabus
 
*# Go to Syllabus (on the left)
 
*# Read it
 
*# Complete the agreement form with your parent (you will need your APS Google login)
 
 
 
== Archives ==
 
* [[IBCS2 Summer Assignment]]
 
* [[IBCS2 - 1617]]
 

Latest revision as of 08:28, 13 September 2023