Difference between revisions of "AP Computer Science"
From WLCS
(30 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | == Thursday (1/17/19) == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == Thursday ( | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
'''Warmup:''' | '''Warmup:''' | ||
− | * | + | * Submit your Circle class to repl.it |
'''Agenda:''' | '''Agenda:''' | ||
− | * | + | * Object-Oriented Programming cont'd |
− | * | + | ** OOP Review - attributes, constructors, setters, getters, public vs. private, this |
− | ** | + | ** toString() method (using the Point class) |
− | ** | + | ** Submit Point class to repl.it |
+ | ** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides] | ||
+ | * Complete the Car class assignments in repl.it | ||
+ | * [https://drive.google.com/file/d/1tQc3yOyfjy7xN6oz0glIeFHqJgORmuAd/view?usp=sharing Dino Game example] | ||
+ | ** Add another cactus to the dino game | ||
'''Homework:''' | '''Homework:''' | ||
− | * Complete eIMACS: Activity | + | * Complete eIMACS: Activity 14: Address Objects |
− | |||
− | == | + | == Tuesday (1/15/19) == |
− | + | * Snow Day | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
+ | == Friday (1/11/19) == | ||
'''Agenda:''' | '''Agenda:''' | ||
− | * | + | * Object-Oriented Programming cont'd |
− | * | + | ** Person class review |
− | * | + | ** Vocab: |
− | * | + | *** class vs object |
− | * | + | *** declaration vs instantiation |
− | * | + | ** Point class example |
− | * | + | ** Point object instantiation |
− | * | + | ** Point object usage |
− | * | + | ** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides] |
− | * | + | ** Circle class example |
− | * | + | ** [https://drive.google.com/file/d/1tQc3yOyfjy7xN6oz0glIeFHqJgORmuAd/view?usp=sharing Dino Game example] |
− | ** | ||
− | ** | ||
− | ** | ||
− | |||
− | ** | ||
− | |||
− | + | '''Homework:''' | |
− | ''' | + | * Create a Circle class and test it out |
− | * | + | * Follow the [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides] |
− | * | ||
− | |||
− | |||
− | |||
+ | == Wednesday (1/9/19) == | ||
'''Agenda:''' | '''Agenda:''' | ||
− | * | + | * Cornell Engineering Diversity Programs - one-week residential programs: |
− | ** | + | ** [https://sites.coecis.cornell.edu/catalystacademy/ Catalyst Academy] - juniors and seniors from underrepresented backgrounds |
− | * | + | ** [https://sites.coecis.cornell.edu/curieacademy/ Curie Academy] - high school girls who excel in math and science |
− | ** | + | * Recursion quiz |
− | ** | + | * Submit Recursion Problems to repl.it |
− | ** | + | ** public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s |
− | ** | + | ** public static String reverse(String s) - returns the reversed String s |
− | ** | + | ** public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -> 4321) |
− | * | + | * Introduction to Object-Oriented Programming |
− | * | + | ** [https://repl.it/@paulbui/SimpleProgramWithoutOOP Simple program without OOP example] |
− | * | + | ** Simple program with OOP example |
− | * | + | ** Point class example |
− | * | + | ** Point object instantiation |
+ | ** Point object usage | ||
+ | ** [https://docs.google.com/presentation/d/1hb_8wMUlQQl7W-JF2f3gax021yDHLkLENJYy0fUMGy8/edit?usp=sharing Classes (Java) slides] | ||
+ | ** Circle class example | ||
− | + | '''Homework:''' | |
− | ''' | + | * Complete and submit recursion problems to repl.it |
− | * | + | * Review SimpleProgramWithOOP notes that we did in class |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | == | + | == Monday (1/7/19) == |
− | ' | + | * Don't forget to complete Activity 13 (due tonight) |
− | * | + | * Recursion Quiz Wednesday (1/9/19) |
− | ** | + | ** Multiple choice questions |
− | * | + | ** Free-response question(s) |
− | * | + | * Recursion Review & Practice |
− | + | * Recursion Problems (prepare to submit to repl.it) | |
− | + | ** public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s | |
− | + | ** public static String reverse(String s) - returns the reversed String s | |
− | + | ** public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -> 4321) | |
− | |||
− | |||
− | |||
− | * | ||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | * | ||
− | * | ||
− | |||
− | ** | ||
− | * | ||
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == | + | == Monday - Friday (12/31/18 - 1/4/19) == |
− | * | + | * Winter Break |
− | |||
− | |||
− | |||
− | |||
− | |||
== Archives == | == Archives == | ||
+ | * [[APCS - 1819 - December]] | ||
+ | * [[APCS - 1819 - November]] | ||
* [[APCS - 1819 - October]] | * [[APCS - 1819 - October]] | ||
* [[APCS - 1819 - September]] | * [[APCS - 1819 - September]] | ||
* [[APCS - 1718]] | * [[APCS - 1718]] | ||
* [[APCS - 1516]] | * [[APCS - 1516]] |
Revision as of 10:45, 17 January 2019
Contents
Thursday (1/17/19)
Warmup:
- Submit your Circle class to repl.it
Agenda:
- Object-Oriented Programming cont'd
- OOP Review - attributes, constructors, setters, getters, public vs. private, this
- toString() method (using the Point class)
- Submit Point class to repl.it
- Classes (Java) slides
- Complete the Car class assignments in repl.it
- Dino Game example
- Add another cactus to the dino game
Homework:
- Complete eIMACS: Activity 14: Address Objects
Tuesday (1/15/19)
- Snow Day
Friday (1/11/19)
Agenda:
- Object-Oriented Programming cont'd
- Person class review
- Vocab:
- class vs object
- declaration vs instantiation
- Point class example
- Point object instantiation
- Point object usage
- Classes (Java) slides
- Circle class example
- Dino Game example
Homework:
- Create a Circle class and test it out
- Follow the Classes (Java) slides
Wednesday (1/9/19)
Agenda:
- Cornell Engineering Diversity Programs - one-week residential programs:
- Catalyst Academy - juniors and seniors from underrepresented backgrounds
- Curie Academy - high school girls who excel in math and science
- Recursion quiz
- Submit Recursion Problems to repl.it
- public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s
- public static String reverse(String s) - returns the reversed String s
- public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -> 4321)
- Introduction to Object-Oriented Programming
- Simple program without OOP example
- Simple program with OOP example
- Point class example
- Point object instantiation
- Point object usage
- Classes (Java) slides
- Circle class example
Homework:
- Complete and submit recursion problems to repl.it
- Review SimpleProgramWithOOP notes that we did in class
Monday (1/7/19)
- Don't forget to complete Activity 13 (due tonight)
- Recursion Quiz Wednesday (1/9/19)
- Multiple choice questions
- Free-response question(s)
- Recursion Review & Practice
- Recursion Problems (prepare to submit to repl.it)
- public static int count(String s, String ch) - returns the number of occurrences of ch (single character string) within s
- public static String reverse(String s) - returns the reversed String s
- public static int reverse(int i) - returns an int that is the full digit reversal of i (e.g. 1234 -> 4321)
Monday - Friday (12/31/18 - 1/4/19)
- Winter Break