Difference between revisions of "IB Computer Science 2"
From WLCS
(→Friday (9/13/19)) |
|||
Line 1: | Line 1: | ||
+ | == Tuesday (9/17/19) == | ||
+ | '''Agenda:''' | ||
+ | * Algorithm Identification Quiz 1 | ||
+ | * Sorting Identification Quiz 1 | ||
+ | * Repl.it class construction assignments progress check | ||
+ | |||
== Friday (9/13/19) == | == Friday (9/13/19) == | ||
'''Agenda:''' | '''Agenda:''' |
Revision as of 10:03, 17 September 2019
Contents
Tuesday (9/17/19)
Agenda:
- Algorithm Identification Quiz 1
- Sorting Identification Quiz 1
- Repl.it class construction assignments progress check
Friday (9/13/19)
Agenda:
- Search & Sorting Algorithms Quiz on Tuesday (9/17/19)
- You should be able to identify the algorithm visually
- You should be able to identify the algorithm if given code
- You should be able to fill in missing lines of code for any algorithms
- Java Objects Slides
- Point class assignment - complete in NetBeans or repl.it (*must* submit to repl.it for auto-testing)
- You will create two java files: Point.java and Main.java
- Point.java - the Point class definition will be here
- Main.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
- Go to your Main.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 Main.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
- You will create two java files: Point.java and Main.java
- Complete the other repl.it assignments:
- Car class
- Vector class
- Card class
Wednesday (9/11/19)
Agenda:
- Group sorting activity
- Introduction to Sorting
- Selection sort assignment in repl.it
- Bubble sort assignment in repl.it
- Internal Assessment meetings
Challenge:
- Implement quick sort yourself
Homework:
- Complete both Selection Sort and Bubble Sort
Monday (9/9/19)
Warmup:
- Complete the Find Min/Max repl.it
Agenda:
- Submit Guessing Game to repl.it
- Java Cheatsheet
- Java Methods
- Java Arrays
- Additional review material: Media:IntroArrays.ppt
- Searching slides
- Linear (Sequential) Search
- Binary Search
- Complete the LS and BS repl.it assignments
Homework:
- 1-2 sentence description of your Internal Assessment idea in Canvas
Thursday (9/5/19)
Warmup:
- Complete the Student Survey in Canvas
- Complete the Abstract Data Structures Pre-assessment in Canvas
- Do not guess if you do not know the answer
Agenda:
- IBCS2 Summer Assignment reminder - due Monday (9/9/19)
- Misc Logistics:
- Mr. Bui has C Lunch
- IB Computer Science II Syllabus
- Complete online syllabus agreement form by Monday (9/9/19)
- Extra credit demonstrations?
- Why did Mr. Bui give this task?
- App Catalog (AirWatch) installers
- Java installer(s)
- Java Review - Java Cheatsheet
- Recreate the Guessing Game Assignment in Java
- You can always refer to the Java Programming Cheatsheet
- This exercises should take you no more than 10-15 minutes
- Internal Assessment
- Read the Media:IBCS_InternalAssessmentGuidelines.pdf
- Begin thinking/working on Criterion A
- Repl.it classroom
- Join our class: https://repl.it/classroom/invite/d4LbLcD
Homework:
- IBCS2 Summer Assignment due Monday (9/9/19)
- IB Computer Science II Syllabus agreement form by Monday (9/9/19)
- Complete the Java guessing game assignment
Tuesday (9/3/19)
Agenda:
- IBCS2 Summer Assignment reminder - due Monday (9/9/19)
- Update your profile's last name so that it follows the following naming convention: # - Last Name (please note the spacing)
- Re-introductions & attendance
- IB Computer Science II Syllabus
- Complete syllabus agreement assignment in Canvas by Monday (9/9/19)