Difference between revisions of "AP Computer Science"
From WLCS
Line 6: | Line 6: | ||
** public static String reverse(String s) - returns the reversed String 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) | ** 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 | * Introduction to Object-Oriented Programming | ||
** Point class example | ** Point class example | ||
Line 16: | Line 15: | ||
'''Homework:''' | '''Homework:''' | ||
* Complete and submit recursion problems to repl.it | * Complete and submit recursion problems to repl.it | ||
− | |||
== Monday (1/7/19) == | == Monday (1/7/19) == |
Revision as of 09:16, 9 January 2019
Wednesday (1/9/19)
Agenda:
- 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
- Point class example
- Point object instantiation
- Point object usage
- Classes (Java) slides
- Circle class example
Homework:
- Complete and submit recursion problems to repl.it
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