AP Computer Science
From Huben's Wiki
Line 1: | Line 1: | ||
+ | == [[Parents Page for AP Computer Science]] == | ||
+ | __TOC__ | ||
== The Basics == | == The Basics == | ||
* Assignments will be posted below. | * Assignments will be posted below. | ||
− | * [http://www.skylit.com/javamethods-old/syllabi/APComputerScienceA.pdf | + | * [[AP Computer Science Syllabus]] |
+ | * [http://www.skylit.com/javamethods-old/syllabi/APComputerScienceA.pdf The Textbook Syllabus] | ||
* [http://www.skylit.com/javamethods-old/index.html Our textbook.] and its [http://www.skylit.com/javamethods-old/ppt/index.html Powerpoint slides]. | * [http://www.skylit.com/javamethods-old/index.html Our textbook.] and its [http://www.skylit.com/javamethods-old/ppt/index.html Powerpoint slides]. | ||
* [http://www.skylit.com/javamethods-old/JM-Chapter01.pdf Chapter 1] of the book is ONLY online. | * [http://www.skylit.com/javamethods-old/JM-Chapter01.pdf Chapter 1] of the book is ONLY online. | ||
Line 8: | Line 11: | ||
* Download the Current Stable Release of the [http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.html jGRASP] (1.8.8_21 or higher) programming environment to your own computer. | * Download the Current Stable Release of the [http://spider.eng.auburn.edu/user-cgi/grasp/grasp.pl?;dl=download_jgrasp.html jGRASP] (1.8.8_21 or higher) programming environment to your own computer. | ||
− | == Classes == | + | == Classes and Homework == |
{| border="1" | {| border="1" | ||
Line 14: | Line 17: | ||
| Date | | Date | ||
| Theme | | Theme | ||
+ | | Homework | ||
+ | | Due | ||
|- | |- | ||
− | + | <!-- | |
− | + | ||
|- | |- | ||
− | | | + | | 11/ |
− | | | + | | |
+ | | | ||
+ | | 11/ | ||
+ | --> | ||
|- | |- | ||
− | | | + | | 12/3 |
− | | | + | | Codingbat arrays: next 6. |
+ | | Finish for homework. | ||
+ | | 12/4 | ||
|- | |- | ||
− | | | + | | 12/2 |
− | | | + | | Codingbat arrays: first 6. |
+ | | Finish for homework. | ||
+ | | 12/3 | ||
|- | |- | ||
− | | | + | | 11/26 |
− | | | + | | Test on Creating and Using Classes and Objects |
+ | | | ||
+ | | | ||
|- | |- | ||
− | | 11/ | + | | 11/25 |
− | | [ | + | | [[Review Of Creating and Using Classes and Objects]] |
− | + | | Study for test! | |
+ | | 11/26 | ||
|- | |- | ||
− | | 11/ | + | | 11/22 |
− | | | + | | Write FishTank class. |
+ | | Skim Ch. 9, answer ex. 1-4, 9, 10a, 11. | ||
+ | | 11/25 | ||
|- | |- | ||
− | | 11/ | + | | 11/20 |
− | | [ | + | | CodingBat loop practice. |
+ | | [http://codingbat.com/java/Warmup-2 Codingbat Java > Warmup-2]: finish the first 9. | ||
+ | | 11/21 | ||
|- | |- | ||
− | | | + | | 11/19 |
− | | | + | | Introduction to Iteration. Ch. 8 slides 1-13. |
+ | | [http://codingbat.com/java/Warmup-2 Codingbat Java > Warmup-2]: stringTimes, frontTimes, countXX.<br>Read p.194-197 in the text. | ||
+ | | 11/20 | ||
|- | |- | ||
− | | | + | | 11/18 |
− | | | + | | Recursion practice continued.. |
+ | | [http://codingbat.com/java/Recursion-1 Codingbat Java > Recursion-1]: first 18 problems should be completed. | ||
+ | | 11/19 | ||
|- | |- | ||
− | | | + | | 11/14 |
− | | | + | | [[Recursion 2]]. |
+ | | [http://codingbat.com/java/Recursion-1 Codingbat Java > Recursion-1]: triangle, sumDigits, count7, count8. | ||
+ | | 11/15 | ||
|- | |- | ||
− | | | + | | 11/13 |
− | | [[ | + | | [[Recursion 1]]. |
+ | | Read and take notes on Slides 4.15-23.<br>[http://codingbat.com/java/Recursion-1 Codingbat Java > Recursion-1]: factorial, bunnyEars, fibbonacci, bunnyEars2. | ||
+ | | 11/14 | ||
+ | |- | ||
+ | | 11/12 | ||
+ | | [[Entering Starfleet Academy]]: recursion. | ||
+ | | Read and take notes on Ch. 4.4. | ||
+ | | 11/13 | ||
+ | |- | ||
+ | | 11/4 | ||
+ | | Collect and review Javadoc comments. | ||
+ | | [[Building Triangles]] project. | ||
+ | | 11/6 | ||
+ | |- | ||
+ | | 11/1 | ||
+ | | Work in class on Javadoc comments. | ||
+ | | | ||
+ | | | ||
+ | |- | ||
+ | | 10/31 | ||
+ | | Collect and review Complex class project. | ||
+ | | Add Javadoc comments to class Complex. ([http://www.javapractices.com/topic/TopicAction.do?Id=60 See here]] or page 106 in text.) | ||
+ | | 11/4 | ||
|- | |- | ||
| 10/25 | | 10/25 | ||
− | | [[ | + | | Review of constructors and CodingBat problems, begin project. |
+ | | [[Complex class project]] | ||
+ | | 10/30 | ||
|- | |- | ||
| 10/24 | | 10/24 | ||
− | | | + | | [[Fractals!]] Complete a fractal browser. |
+ | | | ||
+ | | | ||
|- | |- | ||
+ | | 10/22-23 | ||
+ | | [[Forging The Rings!]] Introduction to constructors. | ||
+ | | Book Of The Humans, Ch. 9, Ex 1-5. | ||
| 10/23 | | 10/23 | ||
− | |||
|- | |- | ||
+ | | 10/21 | ||
+ | | Test On Objects, Public and Private and Ch. 5 | ||
+ | | Book Of The Humans, Read 9.1-9.3. | ||
| 10/22 | | 10/22 | ||
− | |||
|- | |- | ||
− | | 10/18 | + | | 10/18 |
− | | [[ | + | | [[Review Of Objects, Public and Private and Ch. 5]] |
+ | | The thrird row of [http://codingbat.com/java/Warmup-1 CodingBat>Warmup-1]: nearHundred, posNeg, notString.<br>The third row of [http://codingbat.com/java/Logic-1 CodingBat>Logic-1]: love6, in1To10, specialEleven. | ||
+ | | 10/21 | ||
|- | |- | ||
| 10/17 | | 10/17 | ||
− | | | + | | [[Simpler Is Better]]: Things we can learn in CodingBat. |
+ | | Read [http://fcmail.aisd.net/~JABEL/1DeMorgansLaw.htm De Morgan's Law].<br>Read Chapter 7.7. Ch. 7 Exercises 4-7.<br>The second row of [http://codingbat.com/java/Warmup-1 CodingBat>Warmup-1]: diff21, parrotTrouble, makes10.<br>The second row of [http://codingbat.com/java/Logic-1 CodingBat>Logic-1]: caughtSpeeding, sortaSum, alarmClock. | ||
+ | | 10/18 | ||
|- | |- | ||
| 10/16 | | 10/16 | ||
− | | [[ | + | | [[Starting in CodingBat Java]] ([http://codingbat.com/java CodingBat Java], formerly called Javabat.) |
+ | | Read/watch [http://codingbat.com/doc/java-string-introduction.html Java String Introduction]. The first row of [http://codingbat.com/java/Logic-1 CodingBat>Logic-1]: cigarParty, dateFashion and squirrelPlay. | ||
+ | | 10/17 | ||
|- | |- | ||
| 10/15 | | 10/15 | ||
− | | | + | | [[Choose Between Good And Evil]] Using if and else. |
+ | | Read: Textbook 7.1-7.5,7.8 ex. 1, 2, 4, 5. | ||
+ | | 10/16 | ||
|- | |- | ||
| 10/10 | | 10/10 | ||
− | | | + | | Understanding "Creating Uruk Hais" |
+ | | Read: Textbook 9.2, 9.4, 9.11. | ||
+ | | 10/11 | ||
|- | |- | ||
− | | 10/1-10/ | + | | 10/9 |
+ | | Read: Textbook Chapter 5 and/or Chapter 5 slides. | ||
+ | | Chapter 5, Ex. 1-8, 10, 11. | ||
+ | | 10/10 | ||
+ | |- | ||
+ | | 10/3-10/7 | ||
| [[Creating Uruk Hais]] Introduction to objects, public and private. | | [[Creating Uruk Hais]] Introduction to objects, public and private. | ||
+ | | Read: [http://drjava.sourceforge.net/docs/user/ch03.html Dr. Java manual, Chapter 3. Editing Programs]. Try out the features.<br> Read: Textbook 9.1. | ||
+ | | 10/4 | ||
|- | |- | ||
− | | | + | | 10/2 |
| Test On Variables, Arguments, and Returns | | Test On Variables, Arguments, and Returns | ||
+ | | <!-- Read: Textbook 9.2, 9.4, 9.11. (should go here!) --> | ||
+ | | | ||
|- | |- | ||
− | | | + | | 10/1 |
| [[Review Of Variables, Arguments, and Returns]] | | [[Review Of Variables, Arguments, and Returns]] | ||
+ | | Study for test. | ||
+ | | 10/2 | ||
|- | |- | ||
− | | 9/ | + | | | 9/30 |
− | | [[ | + | | [[Review Of Variables, Arguments, and Returns]] |
+ | | Have written answers to all these questions, with examples instead of "yes". Read and take notes on Book Of The Humans, Ch. 6.7. | ||
+ | | 10/1 | ||
|- | |- | ||
− | | 9/ | + | | 9/25 |
− | | [[ | + | | [[The Mind Of Sauron]] |
+ | | Hand in finished class. | ||
+ | | 9/30 <!-- takes 3 days --> | ||
|- | |- | ||
− | | 9/ | + | | 9/23-24 |
− | | [[ | + | | [[Bargains With Evil]]: Methods with arguments and returns. |
+ | | Read and take notes on Book Of The Humans, Ch. 3.3-3.4 and 6.6. Exercises Ch. 3: 3-5 and Ch. 6: 1-2. | ||
+ | | 9/25 | ||
|- | |- | ||
| 9/20 | | 9/20 | ||
+ | | [[The Knowledge Of Sauron's Minions]]: Introduction to variables and types. Math.java. | ||
+ | | Book Of The Humans, Ch. 6 exercises 1-4. | ||
+ | | 9/23 | ||
+ | |- | ||
+ | | 9/19 | ||
| Test On Demonology Beginnings | | Test On Demonology Beginnings | ||
+ | | Read Muggle textbook Ch. 6.1-6.5. Note what you understand, and what you do not understand. | ||
+ | | 9/20 | ||
|- | |- | ||
+ | | 9/18 | ||
+ | | Discussion of [[Review Of Demonology Beginnings]]. Bring questions! | ||
+ | | Study with the [[Hogwarts Test One Outline]]. | ||
| 9/19 | | 9/19 | ||
− | |||
|- | |- | ||
+ | | 9/17 | ||
+ | | [[Review Of Demonology Beginnings]] | ||
+ | | Exercise in lesson. | ||
| 9/18 | | 9/18 | ||
+ | |- | ||
+ | | 9/16 | ||
| [[The Demons Command Each Other]]: Calling static void methods without arguments, public and private, multiple classes. | | [[The Demons Command Each Other]]: Calling static void methods without arguments, public and private, multiple classes. | ||
+ | | Read and take notes on the Muggle textbook Ch. 9.5. | ||
+ | | 9/17 | ||
|- | |- | ||
− | | 9/ | + | | 9/12 |
| [[Commanding The Demons]]: Introduction to methods. | | [[Commanding The Demons]]: Introduction to methods. | ||
+ | | Exercise in lesson. | ||
+ | | 9/13 | ||
|- | |- | ||
− | | 9/ | + | | 9/11 |
| [[Fear Not Demon Curses]]: Introduction to error messages. | | [[Fear Not Demon Curses]]: Introduction to error messages. | ||
+ | | Muggle exercises Ch.2, ex. 9. | ||
+ | | 9/12 | ||
|- | |- | ||
+ | | 9/10 | ||
+ | | [[Muggle Studies, slides 2.7-2.13]] | ||
+ | | Muggle exercises Ch.2, ex. 1-5. | ||
| 9/11 | | 9/11 | ||
− | |||
|- | |- | ||
+ | | 9/9 | ||
+ | | [[Muggle Studies, slides 2.1-2.6]] | ||
+ | | Read Muggle textbook Ch. 2.1-2.2. | ||
| 9/10 | | 9/10 | ||
+ | |- | ||
+ | | 9/6 | ||
| [[Hogwarts School Of Computer Science]]: Introduction to parentheses and blocks. | | [[Hogwarts School Of Computer Science]]: Introduction to parentheses and blocks. | ||
+ | | [[Keyboard Navigation]] | ||
+ | | 9/9 | ||
+ | |- | ||
+ | | 9/4 | ||
+ | | Welcome! | ||
+ | | Sign Syllabus sheets. | ||
+ | | 9/5 | ||
|} | |} | ||
+ | <!-- | ||
== Homework Assignments And Tests == | == Homework Assignments And Tests == | ||
Line 126: | Line 242: | ||
| Tasks | | Tasks | ||
|- | |- | ||
− | | 1/30 | + | | 5/2 |
+ | | [http://apcomputersciencetutoring.com/exam-review/gridtools-free-response-practice-question/ GridTools free response practice question for GridWorld] | ||
+ | |- | ||
+ | | 5/1 | ||
+ | | [http://apcentral.collegeboard.com/apc/public/repository/ap-computer-science-course-description.pdf Long Answer problem 3 starting on page 46 of AP Computer Science A Course Description]. | ||
+ | |- | ||
+ | | 4/30 | ||
+ | | [http://apcomputersciencetutoring.com/exam-review/recursive-base-conversion-practice-problem/#more-922 Recursive base conversion free response practice question] | ||
+ | |- | ||
+ | | 4/29 | ||
+ | | Review recursion in [[Entering_Starfleet_Academy ]], your notes and AP CS Test 12/14/12.<br>[http://apcentral.collegeboard.com/apc/public/repository/ap-computer-science-course-description.pdf Long Answer problems 1 and 2 starting on page 38 of AP Computer Science A Course Description]. | ||
+ | |- | ||
+ | | 4/25 | ||
+ | |[http://apcomputersciencetutoring.com/exam-review/giraffecritter-free-response-practice-question/ GiraffeCritter free response practice question for GridWorld] | ||
+ | |- | ||
+ | | 4/24 | ||
+ | | [http://apcomputersciencetutoring.com/exam-review/aquarium-free-response-practice-question/ Aquarium free response practice question for ArrayLists] | ||
+ | |- | ||
+ | | 4/23 | ||
+ | | Homework: [http://apcomputersciencetutoring.com/exam-review/candidatepool-free-response-practice-question/ Free Response Question Example]<br>Interface List<E> is implemented in ArrayList to provide get(), set(), add() and remove(). Pg. 472 of the textbook. You don't need to know about iterators. | ||
+ | |- | ||
+ | | 3/5 | ||
+ | | Homework: Read 13.5-13.6, Ex 5, 6, 13, 14. | ||
+ | |- | ||
+ | | 3/4 | ||
+ | | Homework: Read 13.1-13.3, Ex 1-3. | ||
+ | |- | ||
+ | | 2/28 | ||
+ | | Chapter 12 Test | ||
+ | |- | ||
+ | | 2/25 | ||
+ | | Assignments during break:<br>[[Table Of Comparisons Between String, Array And ArrayList]]<br>[http://practiceit.cs.washington.edu/ Practice-It] Ch. 10: Self-Check and 10.2-10.7<br>[http://codingbat.com/home/mike@huben.us CodingBat 2 Dimensional Array Problems]<br><br>[http://hubenclasses.blogspot.com/2013/02/questions-about-computer-science-break.html Questions about the assignments here!] | ||
+ | |- | ||
+ | | 2/8 | ||
+ | | Book Of 20th Century Computer Technology, P. 354 Ex 16-17, Read 12.12. | ||
+ | |- | ||
+ | | 2/7 | ||
+ | | Book Of 20th Century Computer Technology, P. 354 Ex 6-9, 11-13, Read 12.7-12.8, 12.10. | ||
+ | |- | ||
+ | | 2/6 | ||
+ | | Book Of 20th Century Computer Technology, P. 354 Ex 1-5, Read 12.1-12.6. | ||
+ | |- | ||
+ | | 1/31 | ||
| Chapter 11 Test | | Chapter 11 Test | ||
|- | |- | ||
Line 189: | Line 347: | ||
| Muggle exercises Ch.2, ex. 1-5. | | Muggle exercises Ch.2, ex. 1-5. | ||
|- | |- | ||
− | |||
− | |||
|- | |- | ||
| 9/10 | | 9/10 | ||
| [[Keyboard Navigation]] | | [[Keyboard Navigation]] | ||
|} | |} | ||
+ | --> | ||
+ | |||
+ | <!-- | ||
+ | == TECH APPRENTICE – Technology Internships Program 2013 == | ||
+ | Hi Students, | ||
+ | |||
+ | Do you have any technology skills? Do you work very well with a Mac or a PC? Would you like to get paid for your tech skills? If you answered yes to all these questions, you are in luck! The Tech-Apprentice PAID Summer Internships are now accepting applications. If you are interested you must do the following things: | ||
+ | |||
+ | # Make sure you have completed all PIC office job Requirements. | ||
+ | # Send Ms. Delorme an email at rose.delorme@bostonpic.org telling me you would like to apply to these internships. | ||
+ | # Fill out the application at this link: Here is the Tech Apprentice link for 2013 program. | ||
+ | https://docs.google.com/spreadsheet/viewform?formkey=dG00cGIwODBMZmh6RTJ2bzZLM0R5cWc6MQ | ||
+ | --> | ||
== Currently == | == Currently == | ||
+ | * [[Elementary Computer Magic]] | ||
* [[The Big List of Problems]] encountered when starting coding with DrJava | * [[The Big List of Problems]] encountered when starting coding with DrJava | ||
+ | <!-- | ||
* [http://codingbat.com/java CodingBat Java] (formerly called Javabat.) | * [http://codingbat.com/java CodingBat Java] (formerly called Javabat.) | ||
* [[What You Should Know By Now]] | * [[What You Should Know By Now]] | ||
− | + | --> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== References == | == References == | ||
+ | * [http://leepoint.net/notes-java/index.html Java Notes: Table of Contents] Faster and Easier than Googling! | ||
* [http://drjava.sourceforge.net/docs/user/index.html DrJava User Documentation]: I especially recommend [http://drjava.sourceforge.net/docs/user/ch03.html Chapter 3. Editing Programs]. | * [http://drjava.sourceforge.net/docs/user/index.html DrJava User Documentation]: I especially recommend [http://drjava.sourceforge.net/docs/user/ch03.html Chapter 3. Editing Programs]. | ||
* [http://www.stanford.edu/class/cs108/JavaDocFast.html Java Doc Fast] | * [http://www.stanford.edu/class/cs108/JavaDocFast.html Java Doc Fast] | ||
Line 232: | Line 386: | ||
*** [http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html ArrayList] | *** [http://download.oracle.com/javase/6/docs/api/java/util/ArrayList.html ArrayList] | ||
** [http://download.oracle.com/javase/6/docs/api/java/awt/package-summary.html Package java.awt] | ** [http://download.oracle.com/javase/6/docs/api/java/awt/package-summary.html Package java.awt] | ||
+ | *** [http://docs.oracle.com/javase/6/docs/api/java/awt/Graphics.html Graphics] | ||
* [http://www.java2s.com/Tutorial/Java/CatalogJava.htm Java2s Java Tutorial] -- a very well-indexed reference. | * [http://www.java2s.com/Tutorial/Java/CatalogJava.htm Java2s Java Tutorial] -- a very well-indexed reference. | ||
* GridWorld | * GridWorld | ||
Line 246: | Line 401: | ||
* [[Wikipedia:Advanced_Placement_Computer_Science|There is a Wikipedia Advanced Placement Computer Science page.]] | * [[Wikipedia:Advanced_Placement_Computer_Science|There is a Wikipedia Advanced Placement Computer Science page.]] | ||
* [http://manatee.cc.gt.atl.ga.us/apExam/index.jsp Practice AP Exam] | * [http://manatee.cc.gt.atl.ga.us/apExam/index.jsp Practice AP Exam] | ||
+ | * [http://apcentral.collegeboard.com/apc/public/repository/ap-computer-science-course-description.pdf AP Computer Science A Course Description] -- has 22 multiple choice questions on pages 17 to 37 and 3 long response questions on pages 38 to 51. | ||
+ | * Brandon Horn's [http://apcomputersciencetutoring.com/exam-review/ AP Computer Science Exam Review]. | ||
+ | |||
+ | |||
== Miscellaneous == | == Miscellaneous == | ||
− | |||
− | |||
* [http://www.geneziegler.com/clocktower/DrSeuss.html A Grandchild's Guide to Using Grandpa's Computer] | * [http://www.geneziegler.com/clocktower/DrSeuss.html A Grandchild's Guide to Using Grandpa's Computer] | ||
* [http://connect.mybps.org/groups/bpsapteachers/ BPS AP Teachers Wiki] | * [http://connect.mybps.org/groups/bpsapteachers/ BPS AP Teachers Wiki] | ||
* [[Classroom Hints And Notes]] | * [[Classroom Hints And Notes]] | ||
− | == AP Computer Science | + | == AP Computer Science 2012-13 == |
− | This page was rebooted for | + | This page was rebooted for 2013-14. Last year's page is: [[AP Computer Science 2012-13]] |
+ | <!-- | ||
+ | * [http://www.skylit.com/javamethods/JM-Chapter17-www.pdf Textbook chapter on UI components] | ||
+ | * [http://ice.cc.gatech.edu/apexam_test/ AP Exam Website (ICE @ Georgia Tech)] | ||
+ | * [http://www.greenleecds.com/javaap.html#130 Greenlee Gridworld Exercises] | ||
+ | * [http://apcentral.collegeboard.com/apc/public/repository/GridWorld_Case_Study_Student_Manual_with_Appendixes_Aug_2007_updated.pdf GridWorld Case Study Student Manual] | ||
+ | * [http://apcentral.collegeboard.com/apc/members/repository/ap07_gridworld_installation_guide.pdf Gridworld Installation Guide] | ||
+ | * Download [http://apcentral.collegeboard.com/apc/public/repository/GridWorldCode.zip GridWorldCode.zip] | ||
+ | * [[MedianTest.java]] use the "View Source" button. | ||
+ | * [[Array Review]] | ||
+ | * [[Letter Count Solution]] | ||
+ | * [[Getting Stuck]] | ||
+ | * [[Fractions Example]] | ||
+ | * [[Fractions Questions]] | ||
+ | * [http://www.skylit.com/javamethods-old/JM-Appendix-B.html Appendix B: Common Syntax Error Messages] | ||
+ | * [[Hangman rubric]] | ||
+ | * [[example1]] | ||
+ | * [[example2]] | ||
+ | * [[example3]] | ||
+ | --> | ||
== Mr. Huben == | == Mr. Huben == |