2015 AP CS

Java API · Coding Conventions · Java Syntax Sheet V5 · Class Plan · Object Concepts

The 2017 AP test is in 1 month, 10 days (Tuesday, May 2nd, 2017).

This is an archive of our 2015-16 AP CS Class work.  You can find the latest class details in our Schoology pages under your course AP COMPUTER SCI A1: S1 & S2.  Feel free to reference past material here as needed, but there will updates in the new year. Website links and assignments may vary so some material may be out of date.  Check in with Mr. Bergquist if you have any questions.

DateGoal*, Work Due & ExamsClass Activities
Friday- 6/24
Last Day
Have a Great Summer! Take some time to relax, you have all worked hard in class.

Please fill out our AP CS 2015-16 Class Survey, Let me know if there are any topics you want covered in Projects in CS next year too!

MS Office 365 free for all Garfield Students
Full details from SPS here.
MS Office Site:office.seattleschools.org/ - Instructions: Students should use there username + @seattleschools.org as email, and I believe need to also enter their SPS account password.

I enjoyed trying out all your Final Projects, share them with your family & friends.
It's been a great year. Hope you all enjoyed learning about programming. Go forth and program!

Check these out, we use them in Projects in CS):
- Android Studio, the new free professional development environment using Java.
- GitHub & Git to store your code online for collaboration. (You can create an account for free.)

Want to try othet languages out, try Code.org, codecademy.com & KhanAcademy.org (programming)

Keep me posted by email if you have any programming related projects or internships this summer! I'll be checking email periodically.

Graduating Seniors: Here's Our Garfield HS Computer Science Linked In Group to join you must have graduated and be over 18 years old.
Tuesday & Thursday
6/21 & 23
Presentation on your Final Projects

- Please fill out our AP CS 2015-16 Class Survey,

Stay connected with Garfield CS with LinkedIn: please consider filling out this form. (I will try to follow up with you when you meet district requirements, thanks)

What shall we do to celebrate on Thursday??
Final Project Demo's!
1) Functionality that is working and what is not quite working
2) What did you learn from creating this project this? Anything new things about programming or Java libraries?
3) What was the most challenging part of the project?
4) How well did you abide by our coding conventions? Did you all add comments??
5) For teams, how did you divide up the work and integrate it?

- Turn in your textbooks please!
(Deja Vu)
Thursday & Friday
6/16 & 17
Combine and develop Java skills in your Final Project

- Please fill out our AP CS 2014-15 Class Survey,especially seniors.

Final Project code is due Friday, June 17th, and presentations are Tuesday, June 21st. Instructions at right!

Done? Informal Bug Bash!
Take turns showing off your project and test drive other's projects to help them find bugs. Please try out at least two other projects and find two people to try your own. More is better and more fun.

Still time to sign up to get Tech Prep Credit for this class: Register here for Tech Prep - check with Mr. Bergquist if you think you already have an account.

Check out Bachelor of Application Development degree from North Seattle College, new alternative CS degree.
Thursday:
Academic & Professional Career Words of Advice

Friday: Senior Check Out Day! See you at Graduation and Best of Luck!!!

Juniors & Sophomores: Final Project code turned in Thrusday/Friday - each team must:
1) Create your Project Folder in our Shared Class Folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
2) Place a copy of all java code (or similar) and necessary data files in this folder
3) Compile the code in that folder (using JGrasp please) and make sure that it runs fine - you will be executing from here for the demo's on Tuesday, June 21st.
4) Let Mr. Bergquist know that you have everything in place ready for grading & demo's
Keep in mind I will be reviewing running & reviewing that code for grading.

Done? Informal Bug Bash!
Take turns showing off your project and test drive other's projects to help them find bugs. Please try out at least two other projects and find two people to try your own. More is better and more fun.
Tuesday & Wednesday
6/14 Block
& 6/15
Final demo's
Combine and develop Java skills in your Final Project

Senior Demo Day!
Try out other (seniors') team's code - give them feedback.

We have some great projects here.

Reminder: Code is due Thursday 6/16 for Juniors & Sophomores If you think you are done:
1) Make sure you have internally good code i.e. comments, indentation, naming conventions.
2) Consider adding a features like replay, input verification, and/or pretty up display
3) Help other teams that may need a fresh perspective

+ Please bring in your Text book
+ UW in HS Survey for those who did that program.

Wednesday Lunch (about noon) stop by 115a for our CS Class Laptop Raffle, you need not be present to win.
Seniors - time to demonstrate your AP CS Final Project to other students
Questions to cover in your presentation:
1) Functionality that is working and what is not quite working
2) What did you learn from creating this project this? Anything new things about programming or Java libraries?
3) What was the most challenging part of the project?
4) How well did you abide by our coding conventions? Did you all add comments??
5) For teams, how did you divide up the work and integrate it?

- Return textbooks if you have them please!

Details to Attend the MS ImagineCup Finals & Robot Hackathon* - Fri, July 29th (for Garfield Students, includes 2016 seniors):
- Permission Form (PDF)
- MS Imagine Cup Flyer (PDF)
Turn into Mr. Bergquist or Mr. Fell as soon as possible, space is limited. Make sure you can attend Friday July, 29th. Note: you all can compete in next year's MS ImagineCup!
* Not an SPS nor Garfield HS event so check with your parents/guardians before participating.
Thursday 6/9
Block
& Friday 6/10
Purple & White Day
25 minute classes
Combine and develop Java skills in your Final Project

Seniors: Complete your: Final Project and save code (see left) THURSDAY, 6/9, demos on Tuesday, June 14th.
Others you have till next Thursday to turn in code, June 16th - demo's on Tuesday, June 21st.

MORE Raffle Tickets today!! If you tell me you read this ;-)

And free Community College Credit for AP CS: Register for Tech Prep
(check with Mr. Bergquist if you think you already have an account, I have login pairs)
Seniors: Final Project code turned in THURSDAY, 6/9 - each team must:
1) Create your Project Folder in our Shared Class Folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
2) Place a copy of all java code (or similar) and necessary data files in this folder
3) Compile the code in that folder (using JGrasp please) and make sure that it runs fine - you will be executing from here for the demo's on Tuesday, 6/14.
4) Let Mr. Bergquist know that you have everything in place ready for grading & demo's
Keep in mind I will be reviewing running & reviewing that code for grading.

+ Please bring in your Text book

NOTE: Mr. Bergquist will be out on Friday, Purple & White. Work on your your Final Project!
Mon, Tues
6/6 & 7
Combine and develop Java skills in your Final Project

Continue work on your: AP CS Final Project - I will check in on teams concerned about getting done on time.
- You are being graded on your diligent work on your projects daily till presentations! Stay focused!
AP CS Final Project - seniors' code is due on Thursday (6/9) for Demo's next Tuesday (6/14)!

Announcements:
- Bring in your AP CS Text Book ASAP
- Free Seattle College Credit for AP CS
by Registering for Tech Prep. Instructions found
here (check with Mr. Bergquist if you think you already have an account, I have your account name) Click here for more info on Tech Prep.
Thursday 4/2
[Block]
Combine and develop Java skills in your Final Project

Each Team, complete your AP Project Status Report TODAY

Final schedule for this year's: AP CS Final Project
Work on them today!!

Register for Tech Prep (check with Mr. Bergquist if you think you already have an account)

Sophomores & Juniors: More details on our SPS Skills Centers (Prezi). Check it out especially the video.

Summer Class: “Seeing the Big Picture: An Introduction to Investigation Through Data class* at The Data Analysis Academy - cost is $1500 with scholarship resources available.
*not SPS nor Garfield HS events and you need to talk to your parents/guardians before registering or participating in them
Each Team, fill out the AP Project Status Report TODAY

Seniors: for Thursday, 6/9 Final Project get your code turned - each team must:
1) Create your Project Folder in our Shared Class Folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
2) Place a copy of all java code (or similar) and necessary data files in this folder
3) Compile the code in that folder (using JGrasp please) and make sure that it runs fine - you will be executing from here for the demo's.
4) Let Mr. Bergquist know that you have everything in place ready for grading & demo's. Keep in mind I will be reviewing running & reviewing that code for grading.

UW in HS Scores - See the Source and Mr. Bergquist
Garfield Guidelines / UW Grading Scale
Monday 5/23 -
Tues 6/1
Have a great Memorial Weekend!
Combine and develop Java skills in your Final Project

Monday: We will review your Project Proposals
Please make sure your team has answered all parts. Please copy in class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
Then start work on them!

Here's our schedule for this year's: AP CS Final Project Work on them today!!

Deadline for Snake Project is Thursday, 5/26. LMK if you need help (SnakeGameTest.java)

If you missed last Thurday's CS Socratic Seminar:
- Please read this Apple vs FBI Article
- Ask Mr. Bergquist for your ID number...
- And then complete your this Reflection - see me for your ID number.
Get to work on your AP CS Final Project (schedule here).

Monday: We will review your Project Proposals
Please make sure your team has answered all parts. Please copy in class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
Then start work on them!

For you reference: Slick2D Resource Page
Let me know if you find any good resources on learning to use this library besides Dylan's material on the page linked above.
If all fails try searching for "slick2d tutorial" or similar. Get used to it, that is what programmers do all the time ;-)
Friday 5/20Combine and develop Java skills in your Final Project

Complete your Project Proposal (Due Today, Friday 20th May) - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 > DUE TODAY.

Signoffs:
Snake Project (SnakeGameTest.java)
- Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
We will review your Project Proposals to MAKE SURE YOU ANSWER ALL PARTS. Please copy in class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
Then start work on them!

If you missed last Thurday's CS Socratic Seminar:
- Please read this Apple vs FBI Article
- Ask Mr. Bergquist for your ID number...
- And then complete your this Reflection - see me for your ID number.
Thursday
5/19 Block

CS Socratic Seminar discussion. Online Privacy & Combine and develop Java skills in your Final Project

CS Socratic Seminar: Online Privacy
- PreSurvey, please see Mr. Bergquist for your ID Number
- CS Socratic Seminar discussion.
- Afterwards, Please complete the OnLine Seminar Reflection (deja vu), use the same ID number please. Thanks

Review your Project Proposals Make sure your final version is turned in by Friday. Thanks.

Just in case, here's some ideas for games:

- See bottom of our AP CS Final Project page.
-
Bagels
- FloodIt
- Conway's Game of Life
And you can find good public data sets to explore at:
www.data.gov/

New Video Featuring Garfield's TidePool Team


CS Socratic Seminar: Online Privacy


- PreSurvey, please see Mr. Bergquist for your ID Number
- CS Socratic Seminar discussion.
- Afterwards, Please complete the OnLine Seminar Reflection (deja vu), use the same ID number please. Thanks

We will review your Project Proposals to MAKE SURE YOU ANSWER ALL PARTS. Please copy in class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
Then start work on them!

Few more GridWorls Sign offs....
And just in case, for SnakeBug testing, compile and run this code:
Python File SnakeGameTest.java
Monday 5/16
& Tuesday 5/17
Combine and develop Java skills in your Final Project

Complete your Project Proposal (Due this Friday 20th May) - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 > DUE TODAY.

15 Week Grades go out Friday Make sure these are signed off by Thurs 19th May, all should be done:
- Jumper
- Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)

Ready?: Snake Project (SnakeGameTest.java)
I have scores for the UW in HS Exams but not class final grade - further details on the final and UW in HS Scoring can be found here.

Dates updated for our AP CS Final Project! Need more project Ideas? Talk to Mr. Bergquist
Due Friday (5/20) your team's Project Proposal - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >

Let's talk about the Snake Project Due sooooon.

For non-seniors: Free Tech Summer Skills Center Classes in a Variety of Areas including CyberCamp (digital art, animation, and gaming), Medical Careers, Engineering, Intro to Computer Networking Systems, Aerospace, MultiMedia Broadcasting, Computer Applications, and more. More Details linked here
Make sure to get your Application for the Summer Program (link on bottom of this page with details) in as soon as possible - Please let me know if you are attending!
Thursday 5/12
Block
2D Graphics use in your Final Project

Slick2D (and LWJGL) Workshop Today with Dylan Swiggett of UW CSE.
- Slick2D
- LWJGL

Sign offs from below...
Slick2D (and LWJGL) Workshop Today with Dylan Swiggett of UW CSE.
Slick2D Resource Page
- Slick2D
- LWJGL

You may want to use this in your Final Project Proposal?
Monday 5/9 - Friday 5/13 (Prom)Documenting a Project Proposal & accomplish a Final Project

Finish these up, you can work in pairs and get signed off on:
- Due Monday, May 9th - Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Snake Project is due next class after Tue, May 19th. But you will earn a Raffle ticket by having by Friday the 13th (Drawing next Monday before lab due to Prom).
- Project Proposal Due next next week. but wanted to see the presentation on a 2D Graphics library on Thursday first.
Final Project:
- AP CS Final Project Details
- Project Proposal Due next next week. but wanted to see the presentation on a 2D Graphics library on Thursday first.!

+ 2D Graphics Library Workshop, Thursday, May 12th with Dylan Swiggett from UW CSE.

Our AP CS Jokes & Puns!
Java File SnakeGameTest.java
Friday 5/6Finishing up Exercises & get started on your Final Project

Finish up on Classwork in lab Due Dates:
- Monday, May 9th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Start work on: Snake Project. Let's make it fun.

FRQ Solutions and details from A+ CS
Details of: Snake Project.

Mock AP Grading Revealed - stick around for details.

CodeDay* is Saturday noon to Sunday Noon, May 21 & 21 & Tickets are Available - good chance to meet others who are interested in coding projects.

+ Wanna learn iOS (iPhone) App development? Check out Make School Summer Program*.
Thursday 5/5
AP Exam Day!

Finish up on Classwork in lab Due Dates:
- Thursday, May 5th  last day for full points on Jumper classwork.
- Monday, May 9th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- TODAY Please Review: Snake Project. We will discuss on Friday, it will be fun!
A few students will be taking the UW in HS test today. So after attendance move into the lab.

- Please Review: Snake Project. We will discuss on Friday.

Preview (we will go over on Friday in more details):
AP CS Final Project

Tuesday 5/3
AP Exam in the Morning
AP Exam Day!
Work on GridWorld Classwork (details & schedule below)
Last day* for full points on Jumper. Be ready to demonstrate how it meets all the requirements.
*unless you were out. Talk to Mr. B.

Preview (we will go over on Friday:
AP CS Final Project
BEST OF LUCK ON THE AP Computer Science EXAM!!

Finish up classwork



Monday 5/2
(AP Exam on Tuesday)
Review for AP CS exam

Not taking the AP? Finish up on Classwork Due Dates:
- Thursday, May 5th  last day for full points on Jumper classwork.
- Tuesday, May 3rd - AP CS Exam
- Monday, May 9th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- NEXT: Snake Project.
FRQ Quiz Returned - Let's go over the solutions & How to Approach these.

UW AP CS A Review Page Let's take a look at a this.

Final AP CS Exam Review:
- Multiple Choice Questions?
- Free Response Questions?
Resources for the AP & UW in HS Exams (at the bottom) & our Schedule

Reminder: The UW in HS Final Exam will be Thursday (4th) or talk to Mr. Bergquist. Thanks.

Friday 4/29Final Review for AP CS exam
Review the MC Exam Quiz:
Also Try some Previous FRQ problems & their Grading Criteria, most with solutions!
- Go over the Multiple Choice Practice test with the answers and try to identify subtle ways those problems try to get at fine details (or trick you)
i.e. "if (1 < x < 10)" is not valid
it should be "if (1 < x && x < 10)"

Classwork Target Dates (priority goes to AP Prep):
- Thursday, May 5th Jumper classwork.
- Thur, May 7th - AP CS Exam
- Monday, May 9th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Next: Snake Project.
AP CS Exam Review:
- Multiple Choice Questions - Solutions to review - Do Not remove from class, all must be returned at end of class Let's go over some, like a recursion one.
Great New Video on Recursive Tracing may help! (Old One)
- FRQ Answers - on Monday, but LMK if you have any questions or requests.

Any requests from our List of AP & UW in HS Exams Resources at the bottom of this page?
Good Review: AP CS Exam Review pages - Super PowerPoint

APCS & UW in HS Review Day and Ice Cream Social, this Saturday, April 30th at UW! remember to register.
Thur
4/28
Summative AP CS Multiple Choice exam OR UW in HS Final

Identify any specific problems you want guidance on for Friday & Monday!

When done, continue classwork, see previous days...
AP CS Final (Mock AP) Multiple Choice exam with only the 2014 AP CS Java Quick Reference!.
OR
UW in HS Final Exam with only our Java Syntax & Object Concepts sheets,

Identify any specific problems you want guidance on for Friday & Monday!
Tuesday 4/26 (50 min periods)Assessment of Creating Programs in Java

Today (Tuesday) Free Response Question (FRQ) portion of our AP CS Final Exam (Mock AP)

More Studying: List of AP & UW in HS Exams Resources at the bottom of this page

Work on Gridworld problems signed off including:
Gridworld, part 4
Do Part 4's Excercises: Do a few: 1, 2, 3 & KingCrab
Ref: Critter notes / Gridworld API
Start on Snake Project
Done? Think of a project to work on or try Ant Farm
Free Response Question (FRQ) portion of our AP CS Final Exam (Mock AP)

Need help reviewing? Tell me today if you want help from past students or me after school this week - I can make arrangements. (except Wednesday)

And then continue finishing the GridWorld class problems & start Snake Project

In Class Review on Friday & Monday:
- Multiple Choice Questions?
- Free Response Questions?
- Specific areas or topics?
Mon 4/25 complete the AP GridWorld Mock AP Exam Problem and other activities

Sign Offs:
- Last Day for Jumper sign off (unless we don't get to the lab today) Complete with a partner be ready to swiftly demonstrate all traits
Study & Review for our final:
- AP Practice, try some Recursion Mysteries
- Inheritance Mystery (you can click on that page's "polymorphism" link for more practice!
- Take a closer look at the List of AP & UW in HS Exams Resources at the bottom of this page
- Focus on some FRQ's and their solutions, especially 2D arrays!!

- Then Continue on to Part 4's Exercises: 1, 2, & 3 OR KingCrab
Here's a helpful reference: Gridworld API

New Videos:
- Recursive Tracing (Old One)

**AP CS Review Day & Ice Cream Social, Saturday, April 30th 1-4pm at UW Paul G. Allen Center for Computer Science & Engineering - register to attend.

Any questions on the List of AP & UW in HS Exams Resources at the bottom of this page?
+ Requests on Sample MC's and FRQ's
+ Great AP Cram Sheet (at least review it.)

Review Topic: 2D Arrays
+ List of Multi-Dimensional Array Practice It problems (may be better to try the AP FRQ's for 2D Arrays)
Here's a quick example of a 2D Array Column Switch:
BJP3 Self-Check 7.34: copyColumn
Java File TwoDimArray.java
Any other questions or Requests??

This week:
- Tuesday (4/28): 2 AP FRQ problems (50 min)
- Thursday (4/30): Last part of Final either (1 hr 50 min):
. - Multiple Choice portion of our AP CS Final Exam, Mock AP OR
. - UW in HS Final Exam
(Syntax and Concepts sheets only)! Likely Topics:
- Expressions
- Array Mystery
- Input Mystery
- Inheritance/Polymorphism Mystery
- Line-based and/or Token-based File Processing (Scanners)
- Array Programming
- ArrayList Programming
- Classes (creating a method within a class)
[UW in HS students, alternative date is next Thursday (May 5th) for the test - talk to me, thanks]
Friday 4/22Review Material for AP CS exam

Raffle Tickets to those who HAD Jumper signed off Thursday!

Study & Review for our final:
- AP Practice, try some Recursion Mysteries
- Inheritance Mystery (you can click on that page's "polymorphism" link for more practice!
- Take a closer look at the List of AP & UW in HS Exams Resources at the bottom of this page
- Focus on some FRQ's and their solutions, especially 2D arrays!!

Regular sign off details from Thursday below, but once you are done with Jumper, your priority should be reviewing and studying... Feel free to ask questions too.
Any requests on MC or FRQ problems to go over?
Let's:
- Create some Random Ranges using Math.random()
. - 1 to 10
. - 0 to 8
- Review of PreConditions & For-Each Loops (requested)
- Shall we try a Recursion Mystery OR Another Inheritance Mystery??

Take a closer look at the List of AP & UW in HS Exams Resources at the bottom of this page
Suggestion: Focus on some FRQ's and their solutions, including 2D arrays!!

Did I mention: WeHack 2-Day Hack-a-thon for female students on May 14th & 15th?
There is also CodeDay! (for everyone) a 24 hour Hack-a-thon is May 21 & 22nd, check it out and sign up now! (See Mr. Bergquist for discount codes or if you need admission)
Thursday 4/21Recursion and Sort & Complexity

END of Quarter Grades finalized TODAY - please check the source and let me know if you have any questions!
+ Raffle Ticket Deadline is Today, 4/21 for Jumper (from GridWorld, part 3).
- Gridworld, part 4: Do Part 4's Exercises: 1, 2 and 3 (1 && 2 && 3) OR KingCrab - you choose.
Critter notes / Gridworld API due Thur, May 5th.
- Done, start on Snake Project.

AP Practice, try some Recursion Mysteries

Review our: AP CS Exam Review pages

NEXT week:
- Tuesday (4/26): 2 AP FRQ problems (50 min)
- Thursday (4/28): Last part of Final either (1 hr 50 min):
. - Multiple Choice portion of our AP CS Final Exam, Mock AP OR
. - UW in HS Final Exam
(Syntax and Concepts sheets only)! Likely Topics:
- Expressions
- Array Mystery
- Input Mystery
- Inheritance/Polymorphism Mystery
- Line-based and/or Token-based File Processing (Scanners)
- Array Programming
- ArrayList Programming
- Classes (creating a method within a class)
Dates through the AP & UW in HS Exams plus List of Resources
END of Quarter Grades finalized TODAY - please check the source and let me know if you have any questions!

Summary of Recursion
Java File RecursiveExamples.java
More Recursion Mystery Details & Practice
Readings in BJP
- 12.1 Thinking Recursively  718 - 726 (Must Read)
- 12.2 A Better Example of Recursion 726 - 736 (Optional but interesting)

Search & Sorting Algorithms -O-Complexity Summary 
- Excellent Sort visualizations
- Not as effecitve BinarySearch Visualization  
UW Videos:
- binary search
Complexity 
(very thorough, but a bit overwhelming "CheatSheet" PDF)
Readings in BJP
- 13.1 Searching and Sorting 774 - 785 (uses the Comparable Interface!)
- 13.2 Program Complexity 785 - 794 (Optional but interesting)  

This Saturday:
- Spring Programming Contest at Roosevelt HS
- UW Engineering Discovery Days at UW
- TEALS is hosting a Mock AP Exam at Bishop Blanchet HS

NEW! WeHack 2-Day Hack-a-thon for female students on May 14th & 15th. Check it out.
Tuesday 4/19Polymorphism & their Mystery Problems

+ Raffle Ticket Deadline Thursday 4/27 (updated) for: Jumper (from GridWorld, part 3).
- Gridworld, part 4: Do Part 4's Exercises: 1, 2, & 3 OR KingCrab Critter notes / Gridworld API due Thur, May 5th.
- More Recursion Mystery Details & Practice
- Start on Snake Project.

Class Objects & ArrayLists Quiz Make Up (about 1.5 hours): During Class Thursday - if you cannot make this dates, you need to make arrangements with Mr. Bergquist today. (We will go over exam on Friday in class)

NOTE: UW Engineering Discovery Days this Friday & Saturday at UW!
Dates through the AP & UW in HS Exams plus List of Resources
Polymorphism (& its Mysteries)(finish up)
PDF File Handout: Polymorphism & its Mysteries - let's do some.

Polymorphism Mysteries: (find more under polymorphism or inheritance)
- Polymorphism Mystery: FooBarBazMumble
- Another Inheritance Mystery

Raffle ticket Bonuses::
- Today: At least 10 MC Practice problems correct - group grading on Tuesday. (1 ticket)
- Due Thursday, 4/21Jumper AND all Bugs signed off. (1 ticket)

Quick Summary of Recursion Today? Or Thursday...
Java File RecursiveExamples.java

A great AP Review: UW 142 Class Summary with Videos, Lectures & Labs
Monday 4/18Abstract & Casting in Polymorphism

+ Raffle Ticket Deadline is Thursday 4/21 for Jumper (from GridWorld, part 3).
- Gridworld, part 4: Do Part 4's Exercises: 1, 2 and 3 (1 && 2 && 3) OR KingCrab - you choose.
Critter notes / Gridworld API due Thur, May 5th.
- Start on Snake Project.

AP Practice, try some Recursion Mysteries

Review our: AP CS Exam Review pages

Readings in BJP
Polymorphism
- 9.3 Polymorphism 578 - 588
- 9.6... Abstract Classes 610 - 615
Recursion
- 12.1 Thinking Recursively  718 - 726 (Must Read)
- 12.2 A Better Example of Recursion 726 - 736 (Optional but interesting)
REVIEW THIS: Our Day by Day Schedule and Resources for the AP & UW in HS Exams (at the bottom)

Super & Polymorphism Summary! (first 7 slides: Abstract Class & its Methods)
Polymorphism (& its Mysteries) (full details)
PDF File Handout: Polymorphism & its Mysteries
Additional Resources - Videos:
- Polymorphism & Casting
- Using super (from earlier super lecture)

Tuesday: Solutions for Practice MC quiz - 10 correct needed for an extra Raffle Ticket.

AP Review Highlights:
- AP Cram Sheet (from Ms. Hess of Tahoma HS)
- An online Summary of Binary, Hex, & Octal
Friday 4/8
Have a Great Spring Break!!
Creatin' Critters in GridWorld
- SpiralBug, ZBug and DancingBug from the GridWorld, part 2 should be signed off, last Quarter assignment.
- Complete Jumper be ready with your test to swiftly demonstrate all traits with your partner.
For those who need some help, Jumper Guidance:
Java File JumpStart.java
Java File SingleJumpStart.java (sign off due Monday 4/18)
- Start Part 4's Exercises: 1, 2, AND 3 OR KingCrab
Here's the Appendixes of GridWorld code to reference.

Preview Snake - Due after the AP Exam.

TEALS is hosting a Mock AP Exam on Saturday the 16th and 23rd April in Redmond and Wallingford, respectively but be aware, the Programming Contest is the 23rd too, so you may want to target the 16th. More details here. Much Thanks to the TEALS team!!
Pick up a Sample MC Test, complete it for grading when we are back from Break for Prizes!
And you can find sample Free Response Questions on AP CS Exam Practice Page - requires your AP Login.

Work on Bugs & Critters, at left.

Reading Topics for after Break - 3 Topics:
Readings in BJP
Polymorphism
- 9.3 Polymorphism 578 - 588
- 9.6... Abstract Classes 610 - 615
Recursion
- 12.1 Thinking Recursively  718 - 726 (Must Read)
- 12.2 A Better Example of Recursion 726 - 736 (Optional but interesting)
Sorts and Searching
- 13.1 Searching and Sorting 774 - 785 (uses the Comparable Interface!)
- 13.2 Program Complexity 785 - 794 (Optional but interesting) 

You will find presentations, videos, and details on these at the bottom of our 2014-15 Class Plan.
Thursday 4/7
(Block)
Quiz on Classes, Binary, Arrays and ArrayLists. Then Extend a Class in GridWorld to create a Jumper.

0) You should be done with SpiralBug, ZBug and DancingBug.
1) Work on: Jumper in GridWorld, part 3 with your partner.
Then) Gridworld, part 4 We'll be doing Exercises: 1, 2 and 3 (1 && 2 && 3) OR KingCrab - you choose.

Preview: Snake Project for after break.
Quiz on Classes, Arrays and ArrayLists

Pick up a Sample MC Test, complete it for grading when we are back from Break for Prizes!
You can use the: Grid World API - AP CS Quick Reference Sheet for the Quiz, it has a couple GridWorld questions.
+ You can find sample Free Response Questions on AP CS Exam Practice Page - requires your AP Login.

Complete: Jumper Due Monday 4/18.

TEALS is hosting a Mock AP Exam on Saturday the 16th and 23rd April in Redmond and Wallingford, respectively but be aware, the Programming Contest is the 23rd too, so you may want to target the 16th. More details here. Much Thanks to the TEALS team!!
Tuesday 4/5Extend a Class in GridWorld to create a Jumper.
Summary of GridWorld work:
1) Read the GridWorld, part 1 (done)
2) Create SpiralBug, ZBug and DancingBug from the GridWorld, part 2 (hopefully signed off today)
3) Work on: Jumper in GridWorld, part 3 with your partner.
Next) Gridworld, part 4 We'll be doing Exercises: 1, 2 and 3 (1 && 2 && 3) OR KingCrab - you choose.

Reading Topics for Monday & Tuesday after Break:
Readings in BJP
- 12.1 Thinking Recursively  718 - 726 (Must Read)
- 12.2 A Better Example of Recursion 726 - 736 (Optional but interesting)
- 13.1 Searching and Sorting 774 - 785 (uses the Comparable Interface!)
- 13.2 Program Complexity 785 - 794 (Optional but interesting) 
Any questions for Thursday's Quiz?on ArrayLists, classes, Binary & Arrays - Thur April 7th.
- Study Review . You may also want to reference the Supplemental Videos if you missed lectures.
- You will have a copy of both the Jave Syntax Summary V5 and our Object Concepts Sheet

Let's go over the requirements of Jumper from GridWorld, part 3 together

From Monday: Corrected Student Class with an ArrayList:
Java File StudentTroubleSolved.java

Since Mr. Bergquist is out on Friday...
AP Resources: (to use over break)
+ A Practice AP CS Multiple Choice test will be given to you on Friday - solutions & Prizes when we get back.
+ AP CS A Course Description with Sample Test
+ AP Exam Sheet (new version): Previous Quick Reference (PDF)
+ AP CS Tips
+ Previous Free Response questions requires your AP Login.
Monday 4/4Extend a Class in GridWorld to create a Jumper.

First Please fill out our AP Exam and Shopping Cart Survey TODAY - it is important, especially for Projects in CS next year. Thanks

Sign off's on SpiralBug, ZBug and DancingBug from the second part of the GridWorld case study.
You should be now working with a partner on: Jumper with a partner.

Jumper Starters (start here, especially for the JumpStart imports):
Java File JumpStart.java
Java File SingleJumpStart.java
Warm Up - find the Errors converting Student to use an ArrayList:
Java File StudentTrouble.java

First Please fill out our AP Exam and Shopping Cart Survey TODAY - it is important, especially for Projects in CS next year. Thanks

GridWorld, part 3
With a Partner, work on: Jumper - create a set of bugs & objects to demonstrate all it's characteristics clearly (before asking for sign off)
Friday 4/1
No Foolin'
Extend a Class in GridWorld to create a Jumper.

Complete SpiralBug, ZBug and DancingBug checked off from the second part of the GridWorld case study.

Start Part 3 Exercise: Jumper with a partner. JumperStart.java top part of the Jumper object to get you started.
Jumper Starters (start here, especially for the JumpStart imports):
Java File JumpStart.java
Java File SingleJumpStart.java

Feel free to discuss the requirements for Jumper with Classmates

Study Review for upcoming Quiz on ArrayLists, classes, Binary & Arrays - Thur April 7th. You may also want to reference the Supplemental Videos if you missed lectures.
Binary Warm Up!
REVISITED for ArrayLists: PreConditions & For-Each Loops

Read GridWorld, part 3
Work on Part 3 Exercise: Jumper with a partner
- create clear test plan to demonstrate it is fully working. (Note Starter Code at left)

Study Review for upcoming Quiz on ArrayLists, classes, Binary & Arrays - Thur April 7th. You may also want to reference the Supplemental Videos if you missed lectures.

AP Resources: (to use over break)
+ A Practice AP CS Multiple Choice test will be given to you on Friday - solutions & Prizes when we get back.
+ AP CS A Course Description with Sample Test
+ AP Exam Sheet (new version): Previous Quick Reference (PDF)
+ AP CS Tips
+ Previous Free Response questions requires your AP Login.

Microsoft Apprentice Program (MAP)* information session is May 20th at the Kent Library, flyer here for more details
Thursday
3/31
Create new Bug Actors in GridWorld using Inheritance.
Complete and get SpiralBug, ZBug and DancingBug checked off from the second part of the GridWorld case study.
+ Continue on to pair* with another student to Part 3 Exercise: Jumper (from GridWorld, part 3). JumperStart.java top part of the Jumper object to get you started.

* Work in teams of two, it's a bit tricky
Warm POP!

Complete SpiralBug, ZBug and DancingBug in second part of case study.

Read:GridWorld, part 3
Pair* with another student to Start the Part 3 Exercise: Jumper

Quiz next Thursday (42 points): Binary, Array Mystery, ArrayList Simulation, Reading Classes, ArrayList Program & Class Creation.
Tuesday
3/29 (Block)
Follow Inheritance and interact with SuperClasses. Set up the GridWorld Case Study, build your first bug!

Make sure you have Sign off On: Weight class lab practice. Due today.
You need to get GridWorld running in your Work Space first. (See Instructions & Introduction from Friday)

Read the first part of the GridWorld case study, and then...
Start Work on SpiralBug, ZBug and DancingBug in GW, part 2 of case study. Demonstrate them as a single runner:
Complete and get SpiralBug, ZBug and DancingBug checked off from the second part of the GridWorld case study.

What's next? GridWorld, part 3, of course. (this is a little denser to read, take your time)
Inheritance & Super (complete)
PDF File Handout: Inheritance & super (Superclass)
(POP)
GridWorld Introduction
Link Set up GridWorld in your APCS workspace & JGrasp.
- You should have read the GridWorld, part 1 of the case study
- Now Do SpiralBug, ZBug and DancingBug in GW, part 2 of case study. Use a single runner to test.

Spring Programming Contest is Saturday, April 23rd at Roosevelt HS Registration CLOSES Wednesday night! Form a team today!!

GridWorld Resources:
- GridWorld Case Study, all links
- Appendixes of GridWorld code
- you can find the actual code in the Gridworld Folder at: Gridworld/GridWorldCode/framework/info/gridworld/actor BUT do NOT alter this code!

Let's talk about quizzes!!
Friday 3/25Using Inheritance to build powerful objects.

Get Sign off On: Weight class lab practice.
Weight.java (Just update this)
WeightClient.java (Run this when Weight is done)

Review the GridWorld Introduction
Set up GridWorld in your APCS workspace & JGrasp.
Inheritance & Super (start)
PDF File Handout: Inheritance & super (Superclass)
GridWorld Introduction

Readings in BJP
- 9.1 Inheritance Basics: pp 556 - 565 (Mon)
- 9.2 Interfacing with the Superclass: pp 565 - 578 (Next Week)
- 9.3 Polymorphism 578 - 588 (Later...)
Thursday 3/24Define your Objects Sort Order in Lists using the Comparable interface and compareTo method.

Complete & Sign off on: Weight class with a Comparable Interface lab practice.
PLUS Binary Practice: (get these done today)
- Binary to Decimal
- Decimal to Binary

Done? Start to Set up GridWorld in your APCS workspace & JGrasp.
- Read the GridWorld, part 1 of the case study

Extra Practice on Interfaces: Playing Cards
Today: Weight class with a Comparable Interface lab practice.

Spring Programming Contest is Saturday, April 23rd at Roosevelt HS Registration is Open! Form a team today.

Readings in BJP
- 9.1 Inheritance Basics: pp 556 - 565 (Friday!)
- 9.2 Interfacing with the Superclass: pp 565 - 578 (Next Week)
- 9.3 Polymorphism 578 - 588 (Later...)
Tuesday & Wednesday
3/22 & 23rd
Create a common Interface for Objects.

DUE Tuesday, 3/22: Project 8: Shopping Cart (PDF Version) - TURN IN Your Project here (don't forget your ShoppingTest.java test client)

Work on: Weight class with a Comparable Interface lab practice. (more details below)

+ Spring Programming Contest is Saturday, April 23rd at Roosevelt HS Registration opens next Wednesday after school

Seniors Only: Microsoft Young Technologist Seminar Intership* Earn $4,800 learning to design and build tools at Microsoft for 6 weeks.  Application Due Wed, March 23rd (short form and Resume).

Readings in BJP
- 9.1 Inheritance Basics: pp 556 - 565 (Mon)
- 9.2 Interfacing with the Superclass: pp 565 - 578 (Tue)
- 9.3 Polymorphism 578 - 588 (Later...)
Warm Up: What fields & methods do you think every Product is required to have at Amazon.com?
What was important about Interfaces??

Comparable & compareTo Method: making your Objects Sort Order!
PDF File Handout: Interface & compareTo
Try them out creating the Weight class with a Comparable Interface lab practice.
It's in the 2014 AP CS Java Quick Reference!

Any last questions on: Project 8: Shopping Cart? Make sure to privatize all your fields and comment your methods.
TURN IN Your Project here DUE Tuesday, 3/22

Sample Comparable & compareTo code to solve Weight class: (for Wednesday)
Java File StudentL.java
Java File StudentLClient.java
Monday 3/21Build a collection of Object Classes using ArrayLists to create a functioning project.

Last Signs off for the ArrayList Practice (PDF version) (Car & Student should be done by now) - late after this week.

Work on Project 8: Shopping Cart (PDF Version) Due Thur, March 26th.
[Turn code files in here] (don't forget your ShoppingTest.java test client)

Done? Try out a Random sentence generator

Readings in BJP (Monday & Tuesday)
- 9.5 Interfaces: pp 594 - 602
- 10.2 The Comprable Interface (compareTo): pp 646 - 658

+ Spring Programming Contest is Saturday, April 23rd at Roosevelt HS Registration opens next Wednesday after school
Warm Up: What fields & methods do you think every Product is required to have at Amazon.com?

Interfaces Recognize this Interface?
PDF File Handout: Interface & compareTo
(Tuesday we will continue on with Comparable & compareTo Method - making your Objects Sort Order!)
Sample Interface code:
Java File Shape.java
Java File Circle.java
Java File Rectangle.java
Java File ShapeTest.java

Any questions about using Object Oriented Design for the Shopping Cart Projector in general about the Project 8: Shopping Cart.

Friday 3/18How is data represented in a Computer & the Internet? Binary & Hex number systems.

Complete and turn in your Project 8: Shopping Cart. Due TODAY or tomorrow...
TURN IN Your Project here

Binary Practice: (do at your leisure)
- Binary to Decimal
- Decimal to Binary

Readings in BJP (Tuesday & Thursday)
- 9.5 Interfaces: pp 594 - 602
- 10.2 The Comparable Interface (compareTo): pp 646 - 658

Spring Programming Contest is Saturday, April 23rd at Roosevelt HS Registration opens next Wednesday after school
Let's talk about Encapsulation/Privatization, Commenting and Coding Conventions for Shopping Cart Classes, Let's make sure you get it perfect ...
Any questions about using Object Oriented Design for the Shopping Cart Projector in general about the Project 8: Shopping Cart. Due TODAY or tomorrow.
TURN IN Your Project here

Interfaces:
Warm Up: What fields & methods do you think every Product is required to have at Amazon.com?
Interfaces Recognize this Interface?
PDF File Handout: Interface & compareTo
Sample Interface code:
Java File Shape.java
Java File Circle.java
Java File Rectangle.java
Java File ShapeTest.java
(Tuesday we will continue on with Comparable & compareTo Method - making your Objects Sort Order!)
Thur 3/17
Block Day
And Friday 3/19.
Build a collection of Object Classes using ArrayLists to create a functioning project. Plus Binary/Hex & Interface Introductions!

Final sign off (you should be done) on the ArrayList Practice (PDF version) - do a couple and get going on the...
Work on Project 8: Shopping Cart - due Monday 3/21

+ Check the Source for your 5 week grade going out later this week.

Binary Practice: (do at your leisure)
- Binary to Decimal
- Decimal to Binary
Testing Considerations (Warm up): What's the Pattern & the Scientific/Testing Method - What quantities should you use to test your Item object?

Binary & Hex in 25 minutes!
Warm up - 1st page: Binary & Hex Worksheet get started!
More on...Binary & Hex Lesson & Worksheet
+ Classic Computer Hardware images from the Living Computer Museum (LCM) are in the local folder:
S:\embergquist\ReadOnly\2014 LCM images

Interfaces: (LATER)
Warm Up: What fields & methods do you think every Product is required to have at Amazon.com?
Interfaces Recognize this Interface?
PDF File Handout: Interface & compareTo
(Tuesday we will continue on with Comparable & compareTo Method - making your Objects Sort Order!)
Sample Interface code:
Java File Shape.java
Java File Circle.java
Java File Rectangle.java
Java File ShapeTest.java

Any questions about using Object Oriented Design for the Shopping Cart Projector in general about the Project 8: Shopping Cart. Still due Monday 3/21
Monday & Tuesday
3/14 (Pi Day!) & 15
Build a collection of Object Classes using ArrayLists to create a functioning project.

Today, get signed of on the ArrayList Practice (PDF version) and get going on your Project...

Work on Project 8: Shopping Cart - due Monday 3/21. (PDF Version)

Readings in BJP (For Thursday)
- 9.5 Interfaces: pp 594 - 602
- 10.2 The Comparable Interface (compareTo): pp 646 - 658
Review & Questions on: Project 8: Shopping Cart - due Monday 3/21. (PDF Version)
Object Oriented Design for the Shopping Cart Project

Java File ArrayListFun.java Sample Solution from last week's Class demo's. Good examples to use for the ArrayList problems.

Baby Names Project score sheets were sent out Tuesday morning, please review my feedback & notes. You can see your results online by first:
- Sign in Log In to Grade-It and sign in with your color_animal name and password
- Then assemble the URL using your animal name in this format:
https://gradeit-hs.cs.washington.edu/garfield/scoresheet/APCS/2015-16/[Period4 or Period6]/[Insert your animal color_animal name]/a6/
- Copy the link in your browser to view them (warning the image compares did not work)
Friday 3/11
Create ArrayLists and use their methods to solve problems.

- Finish and get sign off on the ArrayList Practice (PDF version) final day for sign off Monday 3/14.

- Start work on the Project 8: Shopping Cart
Introduction: Project 8: Shopping Cart
Object Oriented Design for the Shopping Cart Project

Supplemental Videos:
- Removing from an ArrayList
- Adding to an ArrayList of Integers
Thur 3/10Assessment on Arrays & Logic.

After the Quiz:
- Late Sign offs for a few Car AND Student Objects
- Complete ArrayList Practice - complete at least the ArrayList Mystery in preparation for...
Review Project 8: Shopping Cart
Friday: Object Oriented Design for the Shopping Cart Project
Arrays Quiz (Array Mysteries, Boolean logic, Assertions and Array Programs)

Review Project 8: Shopping Cart
Monday & Tuesday
3/7 & 8
Create ArrayLists and use their methods to solve problems.

Sign off DUE Last week for both Car AND Student Objects: Creating the Car & Student Object Classes Practice

Start the ArrayList Practice (PDF version)

Done? Take a look at Project 8: Shopping Cart
Introduction: Project 8: Shopping Cart
- Object Oriented Design for the Shopping Cart Project

Note: the Java Syntax Sheet above is updated to include ArrayLists.
And don't forget to reference the Class Object Concepts Sheet
ArrayLists - Demo Code, Slide 19+
Java File ArrayListFunStarter.java requires...
text file: Raven2Stanza.txt
PDF File Handout: ArrayLists

Work on the ArrayList Practice (PDF version)

Supplemental Videos:
- Removing from an ArrayList
- Adding to an ArrayList of Integers

Next: Object Oriented Design for the Shopping Cart Project

Reminder: Arrays Quiz (Array Mysteries, Boolean Zen logic and Array Programs) - Thursday!
Thursday 3/3
Block
Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Sign off DUE today for both Car AND Student Objects: Creating the Car & Student Object Classes Practice

Start the ArrayList Practice
ArrayLists
PDF File Handout: ArrayLists

Start the ArrayList Practice for our Next Project...

Quiz (Array Mysteries, Boolean Zen logic and Array Programs) Next Thursday!
Tuesday & Wednesday
3/1 & 2(SAT)
Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Complete Car and Student Objects: Creating the Car & Student Object Classes Practice - last day for sign off is Thursday for full credit, and we will be starting ArrayLists this Thursday.

Boolean Logic & Arrays: Try some Practice Its:
- Logic (general)
- Logic Assertions
- Arrays (general)
- Array Mysteries
- Array Traversals
- Multi-Dimensional Array Practice Its

Done? Start:
ArrayLists + ArrayList Practice

Readings in BJP (for Thursday)
- 10.1 ArrayLists!: pp 629 - 646
Warm Up:
Wednesday: Pick a topic?
Tuesday: Array Mystery (on next Quiz, More Practice Array Mysteries here.)

Continue work today on Car and Student Objects: Creating the Car & Student Object Classes Practice
Solution to Point with Encapsulation, toString & using ''this' keyword.
Java File Point1.java

Quiz Next Thursday on Boolean Logic & Arrays:
Arrays, Part I
Arrays as Parameters
Arrays for Tallying
Booleans & DeMorgan's Law
Assertions
2D Arrays
Monday 2/29Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Finish up Creating the Car & Student Object Classes Practice (should be done by Tuesday, tomorrow)

Last day for full credit on the Epicenter / Glitter Bomb Client using an array of Your Point Object Class. If you are not done, talk to Mr. Bergquist and go on to the other Object Class practices.
Warm Up - Let's improve the Point Class:
Java File Point.java
Resources: Object Class Review Slides

Continue Creating the Car & Student Object Classes

NOTE: Arrays Quiz (Array Mysteries, Boolean Zen logic and Array Programs, including 2D!) - Next Week.
Thursday & Friday
2/25 & 26
Block
Encapsulate fields in an Object, add a ToString method and use "this" keyword. Create Arrays of Objects & add Exceptions.

Sign off on (due today):
- The "Epicenter" solution using Your Own Point Object Class(instructions at bottom).
- 2D Array ASCII image processing - run both the Homer & Mystery files.
Then...
Start Creating the Car & Student Object Classes!

Done?
Help other students create their Objects and...
Try more Array challenges: Simple Tic-Tac-Toe AND Magic Squares
Or Object Exercises in Object Practice It or Try some Multi-Dimensional Array Practice Its.

Next Week:
Readings in BJP (for Monday)
- 10.1 ArrayLists!: pp 629 - 646
NEXT: Create the Car & Student Object Classes - you will need to create your own Test Client for Car to demonstrate it works. And will use...
Adding Exceptions (new)
Object Encapsulation, ToString method & this keyword (from Tuesday)

+ Class Object Concepts & Vocabulary Sheet (linked above as "Object Concepts", for you to use)

RESOURCES:
Supplementary Videos:
- defining a class
- constructors
- advanced instance methods
- encapsulation

Readings in BJP (Excellent)
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.2 Object State & Behavior: pp 505 - 517
- 8.3 Object Initialization - Constructors & keyword this: pp 517 - 525
- 8.4 Encapsulation: pp 525 - 538
Tuesday 2/23Create an the Point Object class and use it to solve the Epicenter problem.

Now that you have your Point Object Class:
Build the the "Epicenter" solution using your Point Object (at the bottom of the Your Own Point Object Class sheet.
(When done finish up 2D Array ASCII image processing.)

Done? Start Creating the Car & Student Object Classes
Key to the Epicenter, Slide 5 of Arrays of Objects & Null

Object Encapsulation, ToString method & this keyword
Adding Exceptions


+ Class Object Concepts & Vocabulary Sheet (linked above as "Object Concepts", for you to use)

Start Creating the Car & Student Object Classes
Monday 2/22Create an Object class with State (fields) & Behavior (methods) and add its Constructor for initialization.

Create the Point together today, you can finish up our 2D Arrays exercise later - you need the Point to do the Epicenter problem:
Create Your Own Point Object Class
Then Build the the "Epicenter" solution using your Point Object (at the bottom of the Your Own Point Object Class sheet. (Requires ArrayOver.java, that we just went over today.)

Complete our DNA project Survey today please.

Readings in BJP (for Tuesday)
- 8.3 The keyword this: pp 522 - 525
- 8.4 Encapsulation: pp 525 - 538
Arrays of Objects & Null

Summary: Object Class Review Slides (1-13)
Supplementary Videos: (Use a Date Object, a bit more complicated than Point, but a fine example)
- defining a class
- constructors

Complete & demonstrate Your Own Point Object Class (use PointTest.java to verify.)
Then Build the the "Epicenter" solution using your Point Object (at the bottom of the Your Own Point Object Class sheet.

Please complete our DNA project Survey today. Thanks

Friday 2/19Using 2D Arrays and your first Object!

FIRST: Please complete our DNA project Survey today.

+ Finish up creating Your Own Point Object Class (more on the Epicenter problem on Monday)
- Complete 2D Array ASCII image processing worksheet. Due for sign off on Monday.
Announcements:
- AP Exam Details - make sure to Garfield Register (Link here) (deadline March 7th / Payment by 8th).
- Please complete our DNA project Survey today.

+ Let's review the 2D Array ASCII image processing worksheet. Hint look at the last slide of our 2D Arrays presentation. Please finish for Monday.
+ Finish up creating Your Own Point Object Class (more on the Epicenter problem on Monday).
Wednesday & Thursday
2/17 & 18
Object
Create an Object class with State (fields) & Behavior (methods) and add its Constructor for initialization.

Thursday, we will start creating Your Own Point Object Class together in lab.

Finish up 2D Array ASCII image processing worksheet. Do as homework.

Still missing some DNA project - Turn In Project Here. - Due Last week.
Introducing the Object Class!
Object Class
Constructor

PDF File Handout: Object Class & Constructor

Readings in BJP
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.2 Object State & Behavior: pp 505 - 517
- 8.3 Object Initialization - Constructors: pp 517 - 525
We will go over most of this chapters material eventually.
Friday 2/12
Have a Great Break!
see you
Wednesday the 17th!)
Store information in 2D Arrays and create methods to display & manipulate them.

Finish up the DNA project (Turn In Project Here.) Due TODAY, Friday 12 Feb

Then Do the 2D Array ASCII image processing worksheet.

Done? Try some Mulit-Dimensional Array Practice Its

REMINDER: REQUIRED Readings in BJP (for Next Wednesday, after break)
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.1 Object State & Behavior: pp 505 - 517
- 8.1 Object Initialization - Constructors: pp 517 - 525
A Valentines Day Algorithm! - check out a great example of applying math & programming to solve a problem.

Do the 2D Array ASCII image processing worksheet.

As requested: Garfield AP Registration Link! (deadline March 7th / Payment by 8th)
Thursday 2/11
Block
Store information in 2D Arrays and create methods to display & manipulate them.

Finish on the DNA project (Turn In Project Here.) Due Date shifted to Friday 12 Feb
Then Start 2D Array ASCII image processing worksheet.

(A few DNA Structured Diagrams should be complete & ready for sign off)

REQUIRED Readings in BJP (for Next Wednesday, after break)
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.1 Object State & Behavior: pp 505 - 517
- 8.1 Object Initialization - Constructors: pp 517 - 525
1st Semester clean up:
- Final / Mock AP Exam Results: Let me know if you want to see your Exam.
- Go check your grades in the source let me know of any discrepancies.
- if you have missing sign offs, it's your job to get them to me - partial credit is available.
- let me know any discrepancies immediately.

2D Arrays
PDF File Handout: 2D Arrays
Java File ArrayOver.java

DNA project NOW due Friday, Feb 12th.

Microsoft Internships & Google Computer Science Summer Institute (CSSI), summer 2016 - Applications are due 4th & 3rd March, respectively. Recommendation Requirements forthcoming.
Tuesday 2/9Use Arrays and Structural Decomposition to solve the DNA project.
LAB WORK DAY!
- Finish up the final Sign Offs on: Structured Diagram for the DNA project (due)
- Work on the DNA project (Turn In Project Here.) Due Thur 11 Feb
- Do 2 Assertion with a partner (list from yesterday, due for sign off on Friday)
+ Please complete your Random Ranges page...

Next: 2D Arrays Thursday.
Multiple Choice Final returned for your review (in classroom ONLY)

Questions on DNA project? Make sure to have proper Class Constants, Structured Diagram is due today, project due Thursday.

Shall we talk a little about Writing to files for the DNA Project (see if you can figure this out from the API & these instructions). For more details read BJP: Section 6.4 Advanced File Processing, page 401 - 409.
Monday 2/8
Welcome to Semester 2!
Use Assertions to better understand how your code will execute.
Complete & get Sign Off:
- Structured Diagram for the DNA project (due today)
Work on the DNA project (Turn In Project Here.) Due Thur 11 Feb

Readings in BJP Homework
- 7.5 Multi-Dimensional Arrays: pp 473 - 479 - later this week, Thursday; make sure you have done the reading.
Semester 1 Final Details Scores are in the Source.

Questions on DNA project? Make sure to have proper Class Constants!
And its Structured Diagram is due today, project due Thursday.

Complete your DNA project -
Then start: 2D Array ASCII image processing

Thursday 2/4
Block

Happy End of 1st Semester!

Final Assessment of Semester material, through Arrays.

After the Final Mock AP MC Test,
Take a break, you deserve it.

Then work toward getting sign Off on Structured Diagram for the DNA project - Due by Monday 8th Feb - you should be done soon.
Then Work on the DNA project - Due Thur 11 Feb

Done? Take a look at: Coding Bat
Best of luck on the Semester Final Mock AP CS Multiple Choice Test (33 points).

DNA project Requirement:
Monday we will look at how to save a double with only one decimal place correctly (i.e. 36.7). Can you figure it out using multiplication, round and division:
- How do you convert the decimal value to percent?
- What happens when you use Math.round()?
- How can you adjust to have 3 decmal places do you need? Use a little math.
Wednesday 2/3Use Arrays and Structural Decomposition to solve the DNA project.

- Study for the Multiple Choice Semester Mock AP Final (33 questions, curved accordingly) - Review Practice MC: links at right and more details below in "AP EXAM DETAILS" entry
- Complete the Structured Diagram for the DNA project (Due Monday)
- Work on the DNA project Due Thursday Feb 11th (before Break).

NOTE: Monday's Lecture: 7.5 Multi-Dimensional Arrays: (reading details below)
Any questions regarding the Final Mock AP MC Test on Thursday? Have you tried any of the practice problems? MC questions in the Details & Course Description (p23+ - ignore those with objects, recursion, sorts and Array Lists) and Sample Multiple Choices.

Why do Structured Diagrams?
Questions on the DNA project?
Java File RandomRangeTester.java to test ranges

Tuesday 2/2
Use Arrays and Structural Decomposition to solve the DNA project.

Finish up Partner Exercise: Do 2 and show to me: Assertion 1, Assertion 2, & Assertion 3

Study for the Multiple Choice Semester Mock AP Final (33 questions, curved accordingly) - Review details Below in "AP EXAM DETAILS" entry

Then get back to the DNA project. Start by Creatint your Structured Diagram for the DNA project

Work on the DNA project Due Thursday, Feb 11th (before Break).

NEXT Monday - Start the Semester right!
Readings in BJP - Homework
- 7.5 Multi-Dimensional Arrays: pp 473 - 479 - next Monday
Let's look at Sample MC questions in the Details & Course Description - Exam details page 21 followed by sample MC questions.

+ Warm Up Review: Random Ranges

+ Any Questions on the MC Quiz??

+ Study for the Multiple Choice Semester Mock AP Final (33 questions, curved accordingly) - Review details Below in "AP EXAM DETAILS" entry

+ Couple new Event Announcements** on our Class Home Page.

Some Computer Science Poems by you all


Monday 2/1
Use the Java API to find coding methods & syntax (for file output).

+ Group Table Exercise, create a Structured Diagram for Project 6: Baby Names

Partner Exercise: Do 2 and show to me:
Assertion 1
Assertion 2
Assertion 3
Do these with a partner for quick sign off, then get back to the DNA project. Thanks.

Work on the DNA project Due Thursday Feb 11th (before Break).

FYI: UW STARS in Engineering great local opportunity for students qualifying for Husky Promise, Pell Grant, or Washington State Need Grant. Click here for more details
Please review the DNA project TODAY (Due Thursday, Feb 11th)
Check out: Applying CS to help Scientists Seeing DNA aided by Computer Animation.

Learn by Reading - File output: Check out the Java API to figure out how to accomplish the Writing to files for the DNA Project (see if you can figure this out from the API & instructions above). For more details read BJP: Section 6.4 Advanced File Processing, page 401 - 409.

Assertions
Partner Exercise: Do 2 and show to me:
Assertion 1
Assertion 2
Assertion 3
Do these with a partner for quick sign off, then get back to the DNA project. Thanks.

+ Group Table Exercise, create a Structured Diagram for Project 6: Baby Names
Friday 1/29Approach structuring your methods for a project by creating a Structure Diagram.

Review for the Final - material below...

First Create your Structured Diagram for the DNA project, Last day due by Monday 8th Feb.
Work on the DNA project Due Thursday Feb 11th (before Break).
+ Check out Printing to a file instructions, more details later.

Approaching the DNA project
- How did you accomplish previous projects?
- What determined the methods you created?
- What was key to solving the problem when work was being done by several methods?
Class demo on Project 4: Birthday
Structured Diagram Creation (for the DNA project)
Thursday
1/28 Block

Fixing FencePosts & Starting the DNA project.

Review for the Final - material below...

Read over and start the DNA project, Semester 2 (before Break):
- Friday, we will be creating your Structured Diagram for the DNA project
+ Check out Printing to a file instructions, more details later.

Final Sign Off's for: (late after today*)
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet
+ OR Alternate Arrays Lab from UW CSE 142 page with list of scored problems!

* We are now in the class time allotted to to do the Assertions, Final review and start the DNA Project!
Booleans & DeMorgan's Law

Last Quiz back: Review of problems from the last Quiz...
Quiz Corrections for ReGrade are due by Wednesday, 2/3 - 50% points gained with max of 17.5/22.

Check out: FencePosting.java
Scanners & Data Traversals to Compare and Contrast (& review for the Midterm):
Java File HowToTraverse.java
data required: TheRaven.txt
EXTRA:
AP EXAM DETAILS
Understand the AP Exam & our Semester Final format.

Mid-Term Review Material:
- Java Slide Summary
- Review Labs & Practice-It's
- Sample Multiple Choices

- Summary of Text Resources: presentations, Videos and some sample code (from Roosevelt's AP class notes)

Helpful Java Code Examples:
Java File FencePosting.java
Scanners & Data Traversals to Compare and Contrast (& review for the Midterm):
Java File HowToTraverse.java
data required: TheRaven.txt
** AP CS Test vs. our Semester Final **
The AP Exam: 40 Multiple Choice (MC) & 4 Free Response Questions (3 Hours)
- AP Computer Science Home Page
- Details & Course Description - Exam details page 21 followed by sample questions: Warning - We have not covered Objects yet, there will be non-familiar material!
- AP CS Course Overview Page with careers!
- Sample Grading Guidelines 2009 - varies each year.
- AP CS A 2014 Java Quick Reference Document (alt link) NOTE: no GridWorld anymore.
First Semester Final: 30-40 Multiple Choice (MC) & NO Free Response Questions. (1H 50Min)
- Sample MC's)
- Grading will be based on the AP Exam Grading scale with approximately a 5 - mid 4 = A, 4 - mid 3 = B, 3 - mid 2 = C, low 2 - 1 = D/E.
- using only the AP CS A 2014 Java Quick Reference Document
Tuesday 1/26AP Exam Details & Using Boolean's effectively in a program & Exercises: Manipulating the values of Arrays to solve problems

Try these Boolean Multiple Choice Problems - good review of logic and doing MC problems. Gives correct answers and reason if you fail. Our Booleans & DeMorgan's Law presentation can make later one's easier.
Let me know if you have any questions on specific areas: Review Labs & Practice-It's

Finish up Sign off on:
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!

I will be around after school for last minuter sign off's and help. (not Thursday though)
PDF File PreConditions & For-Each Loops - may help with Arrays in the future, used in the AP Exam MC

Thursday, 4th February
Mock AP MC Mid-Term/Semester Final:

30-40 Multiple Choice (MC) Questions (1H 50Min) with ONLY the official AP CS A 2014 Java Quick Reference Document (alt link)
Monday 1/25Time to Review for the Semester Final, through Arrays
Sign off on (Due today for full points):
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!

Done?
Or start the all the DNA project, will be due second week of February.
Lab Day for final sign offs!

Let me know if you have any questions on specific areas, we can review using the Review Labs & Practice-It's

Friday
1/22
Use Arrays to transform data & solve problems
Sign off on (Due Monday for full points):
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!

NEXT Week: Readings in BJP - Homework
- 5.3 Boolean type, Zen & DeMorgan's Law: pp 319 - 334
- 5.5 Assertions & Program Logic: pp 339 - 346
(in between is 5.4 User Errors, worth reading too)
Grade your Peers:
Grab a Red pen and grade another team's Arrays Group Warm Up:
- Just the first "Price is Right" problem
- Determine if their code works properly
- Write clear supportive comments and corrections
- Exchange papers and discuss results.
Thur 1/21
Use Arrays to transform data & solve problems
- Finish up & Sign off on Array Practice Sheet (first)
- Continue on: Arrays as Parameters Worksheet
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!
Both of these sheets are formally due by Friday, 24th January.

Done? Take a look at: DNA project Due in February (next semester) we still need to go over file output and will be doing Structured Diagram for this project (more details later).
Class Warm Up: HistogramStart.java (Data: midterm.txt)

PDF File Arrays Group Warm Up

- The Washington State Opportunity Scholarship (WSOS) supports low- and middle-income students pursuing eligible high-demand majors in science, technology, engineering, math (STEM) or health care. Can earn up to $22,500! Applications due Monday, February 29 (5pm PST).
Tuesday 1/19
Use Arrays to transform data & solve problems
- Finish up & Sign off on Array Practice Sheet (first) Sign off due Thursday, 21st
- Continue on: Arrays as Parameters Worksheet Due by Friday, 22nd
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!

DUE TODAY: Baby Names (Check the Checklist for the Baby Names Project...
Then Turn your code here
Arrays for Tallying
HistogramStart.java (Data: midterm.txt)

Anyone going to the PLU Programming Contest - Sat, Feb 6th? Please tell Mr. Bergquist.

NEXT: Readings in BJP - Homework
- 5.3 Boolean type, Zen & DeMorgan's Law: pp 319 - 334
- 5.5 Assertions & Program Logic: pp 339 - 346
(in between is 5.4 User Errors, worth reading too)
Thursday
1/14 Block
Manipulating the values of Arrays to solve problems accessing them "by Reference"

Complete: Baby Names (use the Checklist for the Baby Names Project...
Then Turn your code here
- Finish upArray Practice Sheet (first)
- Work on: Arrays as Parameters Worksheet
+ Alternative: CSE 142 Arrays Lab - tell me if you are doing this one.

Done? Check this out: Search the IMDB Top Films (using File Scan):
Java File IMDB.java
Text File imbd.txt (old data - find an update)
Arrays as Parameters
Java File ArrayParamStarter.java

Start on: Arrays as Parameters Worksheet

Questions on? Baby Names
Turn your code here

Supplemental Video:
- Array Mystery
- Array Traversal
Tuesday & Wednesday
1/12 & 13
Manipulating the values of Arrays to solve problems accessing them "by Reference"

Baby Names go over the Checklist for the Baby Names Project!
Work on Array Practice Sheet (first)
Next: Arrays as Parameters Worksheet
Alternative: CSE 142 Arrays Lab


Warm Up / Clarify for Worksheets: Java FileOopsArrays.java
Arrays, Part I (finish)
PDF File Handout: Arrays

12th Graders: GHS Road Map to College Financial Aid Event Thursday Jan 21st
Monday 1/11Creating and passing Arrays

- Before you finish up Baby Names go over the Checklist for the Baby Names Project!
- Start Array Practice Sheet (first) - review Arrays as Parameters before starting.
Alternative: CSE 142 Arrays Lab - let's discuss.

+ Please complete the Strings, Fenceposts & Project 5 Exit Survey - Thanks (Deja vu)

Arrays, Part I
PDF File Handout: Arrays (Tuesday)
Java File Sample ArrayExamples.java

Work on: Array Practice Sheet (first)
Alternative?: CSE 142 Arrays Lab - let's discuss.

BONUS: Checklist for the Baby Names Project - please review it carefully.
Thursday & Friday
1/7 (Block) & 8
Assessing Projects and Baby Names project details

Peer Grading for:
Project 5: Creative Name Generator
. Instructions at right, complete this first.

- Please complete our Strings, Fenceposts & Project 5 Exit Survey today - Thanks
+ Last day (TODAY) for full credit on Reading Data From A File Practice Problems

- Work on Project 6: Baby Names
Checklist for the Baby Names Project - please review it carefully. You are welcome ;-)

- NEXT (after tomorrow's lecture) Array Practice Sheet (first few, rest later)

Readings in BJP - Homework
- 7.1 Array Basics: pp 426-447
- 7.2 Array Traversal Algorithms: pp 448 - 460
- 7.3 Reference Semantics: pp 460 - 464
What UW does: CSE 142 Arrays Lab
Details on Project 6: Baby Names
+ Checklist for the Baby Names Project - please review it carefully. You are welcome ;-)

Peer Grading for: (Thursday)
Project 5: Creative Name Generator

- You will be assigned to a team of 3
- Bring up your program in jGrasp to test & review the code
- You will fill out the Rubric for both your team members (sign your name at the bottom)
- Discuss the project code: ask questions about their approach, highlight good points, and point out suggest improvements.
- Review your scoring and finalize it (I'll be assessing your scoring too.)

Tuesday's Java code to find a line starting with a name:
- Period 4: DemoFileReadPer4.java (Uses String menthods to retrieve name)
- Period 6: DemoFileReadPer6.java (Uses File Scanner to retrieve name)

Please complete our Strings, Fenceposts & Project 5 Exit Survey today - Thanks

+ Think about the PLU Programming Contest - Sat, Feb 6th at Pacific Lutheran University. Not a Garfield or SPS event, so ask your parents before signing up.
Tuesday 1/6Scanning files and single Lines of file input to solve Project 6: Baby Names

+ Sign off on Reading Data From A File Practice Problems last day for full points is Thursday.

+ Start Project 6: Baby Names (details see 1/5 right column)

Done: Try some of the PLU Programming Contest Practice Problems
Warm Up: Shall we solve finding the line based on the input name?
Java File DemoFileReadStarter.java

Thursday: Quiz for students who missed it before break.

Announcing the PLU Programming Contest - Sat, Feb 6th at Pacific Lutheran University. (Practice Problems) - not a Garfield nor SPS event, check with your parents before signing up. Thanks.
Monday 1/4
Welcome Back
Code Reviews & how your peers solved the Project 5: Creative Name Generator

- Sign off on Reading Data From A File Practice Problems Thursday is last day for full points.
- Start Work on Project 6: Baby Names due Thursday 1/14. (Full Details at right)

Arrays (Homework for Thursday)
Slides Arrays, Part I
Slides Arrays as Parameters

PDF File Handout: Arrays
Readings in BJP
- 7.1 Array Basics: pp 426-447
- 7.2 Array Traversal Algorithms: pp 448 - 460
- 7.3 Reference Semantics: pp 460 - 464
What do you remember?? Resources:
- File input with Scanner
- Line-based file input
- Handout: File Input with Scanners

We are going to Peer Grading of Project 5: Creative Name Generator later this week, please make sure you have it turned it in by Tuesday here. (was due 12/18). I'll explain.

Introducing Project 6: Baby Names Due Thursday 14th Jan
Text File names.txt
Text File names2.txt
Text File meanings.txt
Java File DrawingPanel.java
+ Most Popular Girl's name by State

NOTE: Thur: Quiz for students who missed it just before break. Let me know if you cannot make it.
Friday 12/18
Early & Star Wars Release Day!
Have an Intergalactic Winter Break!
Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator.

DUE TODAY: Your Project 5: Creative Name Generator is due TODAY, Turn it in here. - we will peer grading after break so make sure it is turned in. Must be in for Peer grading after break, see me if you are not going to be complete.

Complete: Reading Data From A File Practice Problems
Finish up your Project Day!
Finish up your Project 5: Creative Name Generator is due TODAY, Turn it in here.


Complete: Reading Data From A File Practice Problems
Thursday 12/17
(Block)
Assess knowledge of String Methods, while loops & logic. & Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator, (DUE Friday).

After Quiz:
- Complete Project 5: Creative Name Generator, Turn it in here. Due Friday 18th Dec - we will peer grading after break so make sure it is turned in.
+ Work on Reading Data From A File Practice Problems - teams of 2 or 3. Due by Tuesday Jan 5th - could be homework over break for full points.

- Preview for after break: Project 6: Baby Names - more lectures are needed for this.
Take 10 minutes to review our our Java Syntax Sheet V3., gather notes, and ask each other questions. Then...
Quiz on material through Strings - Open notes & book.

Then go to lab and complete:
- Complete Project 5: Creative Name Generator, Turn it in here. Due Friday.
+ Work on Reading Data From A File Practice Problems - teams of 2 or 3. Due by Tuesday Jan 5th - could be homework over break for full points.

T’was the night before Star Wars, when all through the den
Not a creature was stirring, not even Kilo Ren.
Han Solo was encased at Jabba's in carbonite
And hoped that his friends would soon wage a fight...

If you can't wait: here's a A Star Wars Spoiler
Tuesday 12/15Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator & Reading from File problems.

Finish up: Project 5: Creative Name Generator, Turn it in here. Due Friday 18th Dec - we will peer grading after break so make sure it is turned in.
+ Work on Reading Data From A File Practice Problems - teams of 2 or 3. Due by Tuesday Jan 5th - could be homework over break for full points.

Also get signed off on: Strings Lab Practice & Fence Post & While Loop Practice problems.
Questions on:
- Quiz, Thursday Dec 17th:
Quiz Practice It problems are highly encouraged. Converted one written program to a "String Mystery".
- Project 5: Creative Name Generator (due Friday 5th Dec) Turn it in here
-

Warm Up: Removing Vowels Solutions:
Java File NoNeedForVowels.java
Java File NoNeedForVowelsCap.java - Keeps First Capital letters (subtle)
Monday 12/14Formatting printed numbers - printf. Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator.
- Get signed off on: Fence Post & While Loop Practice to make sure you can get the Sentinel while loop in place.
- Work on Project 5: Creative Name Generator (due Friday 18th Dec). Turn it in up tomorrow...
- Next: in groups of 2 or 3 to solve the Reading Data From A File Practice Problems (Programming Contest Problems)

Readings in BJP from last week
- 6.1 File Reading Basics: pp 374 - 382
- 6.2 Details of Token-Based Processing: pp 382 - 395
- 6.3 Line Based Processing (next week): pp 395 - 401 (next week)
PDF File File input with Scanner
PDF File Line-based file input
Warm Up: Removing Vowels from a file of text!
Java File NoNeedForVowelsStarter.java
input files: file1.txt / file2.txt
(Solutions posted tomorrow)

Questions on Project 5: Creative Name Generator? Due Friday 18th Dec.

Details & Questions: Quiz on Thursday Dec 17th:
Quiz Practice It problems are highly encouraged.

Congratulations to everyone who went to the Programming contest. I'll let you know when the scores are in. Hope you all had a good time. Mind if I post some pictures?

NOTE: Mr. Bergquist will be out all day Thursday and has an all Staff School meeting Wednesday after school. If you have questions about the project or quiz, see him Monday or Tuesday after school or during the day. Thanks.
Friday 12/11Using Strings, while loops, and pseudo-random numbers to create a Creative Name Generator

- Complete the Fence Post & While Loop Practice
- Work onProject 5: Creative Name Generator (due Friday 18th Dec). 
- Next: in groups of 2 or 3 to solve the Reading Data From A File Practice Problems (Programming Contest Problems)

Note: Alternative Project from a couple years ago: Guessing Game: Project 5
Questions on Project 5: Creative Name Generator (due Friday 18th Dec). 

* Quiz on Thursday Dec 17th: this Quiz Practice is highly encouraged.

+ Please fill out this online Exit Ticket on Strings and previous topics, if you have not already.

Programming Contest Briefing

Rest of period: Lab Day!
Thursday 12/10Fencepost conditions & solutions, using while loops, and creating pseudo-random numbers. Plus Prepare for the Programming Contest and solve some File Input Problems

+ Please fill out this online Exit Ticket on Strings and previous topics, if you have not already.
- Strings Lab Practice - sign off.
- Complete the Fence Post & While Loop Practice
- Start Project 5: Creative Name Generator (due Next Week 

Contest Practice Classwork!! in groups of 3
OR work in groups to solve the Reading Data From A File Practice Problems Note: this is your next classwork, due Monday when we are back from break!

PLUS: Review for quiz (12/17) on your own.
Java FileNextLineIssue.java (next() & nextLine() issue)

Line-based file input
PDF File Handout: File Input with Scanners

Supplemental Video:
Token-Based Processing line based data

Questions on Project 5: Creative Name Generator?

* Quiz on Thursday Dec 17th: this Quiz Practice is highly encouraged.

Plus: for the Programming Contest:
Java printf quick reference (It is also under "Class PrintStream" in the Java API and in Chapter 4.3 of Building Java Programs)

Tuesday 12/8Using String methods & the char type to solve text problems
- Sign off's: Strings Lab Practice (last day for full points)
- Start Fence Post & While Loop Practice (2 Practice It's)
+ Please fill out this online Exit Ticket
on Strings and previous topics at end of period.

Done? Start on Project 5: Creative Name Generator (due Next Week) 

For Programming Competition:
- Last year's #1 Question:
+ How do we get only 2 decimal places to display for currency? Can we do it with Math.round()?
Formatting text with printf
starter code: FormatingPrintf.java

+ Install the Java 7 API on your laptop:
1) Download jdk-7u79-docs-all.zip on Java 7 Documentation download page (58Mb Zip file)
2) Copy this on your PC and extract the zip there - it expands to 250Mb+.
3) The Java 7 API is found at docs/api/index.html, just open it in a browser - it does not require internet connection.
Warm Up... Try converting these For loops to While loops: Self-Check 5.2: forToWhile

PDF File File input with Scanner
PDF File Handout: File Input with Scanners
Example: first problem of the April 2009 contest:
- the data file: pr21.dat
- Console Version: Pr2D1withConsole.java - let's make it read from a file.
- File Input Solution: Pr2D1.java (simple version)

Reading Data From A File Practice (new, more details details later)

+ Please fill out this online Exit Ticket on Strings and previous topics at end of period.

More Code Sample from the While loops presentation:
Java File StringsFencePostExamples.java
Java File more: SentinelExample.java
Java File RandomRanger.java

Supplementary Video:
Sentinal Loops
Monday 12/7Using String methods & the char type to solve text problems. Using Fencepost solutions & while loops.

Sign off today on: Strings Lab Practice

Work on Fence Post & While Loop Practice - 2 Practice It!'s and a third optional warm up problem.

NEXT (used in Programming Contest): for Tuesday & Thursday
Readings in BJP HOMEWORK
- 6.1 File Reading Basics: pp 374 - 382
- 6.2 Details of Token-Based Processing: pp 382 - 395
- 6.3 Line Based Processing (next week): pp 395 - 401
PDF File File input with Scanner
PDF File Line-based file input
Introducing Project 5: Creative Name Generator (due 12/18) Let me know if you are unclear on any of the instructions here.

Answers from Friday: fenceWhileSolution.java
Start: Fence Post & While Loop Practice
Supplementary Material - Code Sample Counting Words: WordCounting.java

+ Permission slips for Programming Contest DUE
EXTRA Arrays Preview for Programming Contest
Slides Arrays, Part I
Slides Arrays as Parameters

PDF File Handout: Arrays
Readings in BJP
- 7.1 Array Basics: pp 426-447
- 7.2 Array Traversal Algorithms: pp 448 - 460
- 7.3 Reference Semantics: pp 460 - 464
Supplemental Video: - Array Mystery  - Array Traversal
Friday 12/4Using String methods & the char type to solve text problems
Finish up: Strings Lab Practice

Start Fence Post & While Loop Practice - 2 Practice It!'s and a third optional warm up problem

Preview Project 5: Creative Name Generator due Friday Dec 18th (before break) - Peer Grading, after break.
Know your While Loops? Let's Answer this...
Java File fenceWhiles.java

Fenceposts, While loops & Math.random() (finish Random)

Solution to Yesterday's Strings Warm up:
Java File WarmUpStrings06.java

+ Permission slips for Programming Contest DUE
Thursday 12/3
Block
Using String methods & the char type to solve text problems
Finish up: Strings Lab Practice
Start Fence Post & While Loop Practice - 2 Practice It!'s and a third optional warm up problem

Final sign off on: Returns & if/else Conditionals Lab Worksheet

Please Click here to help clean our Screens

Loops Review Solutions:
Java File LoopDemos.java - solution examples
Java File LoopDeconstruction.java - visual demo

Readings in BJP (Today's material)
- 5.1 While Loops: pp 301 - 313 (include Random Method, p 306)
- 5.2 Fencepost Algorithms & Sentinel Loops: pp 313 - 319
String Warm Ups: Java File WarmUpStrings01.java &
Java File WarmUpStrings2.java

Fenceposts, While loops & Math.random() (start)
PDF File Handout: Fenceposts, While loops, & Random()
Java File WhileStarter01.java (for lecture)
Work on: Strings Lab Practice & Start Fence Post & While Loop Practice

Supplementary Video:
Strings

+ Permission slips for Programming Contest
+ Reminder CS Ed Week Events
Tuesday 12/1Using String methods & the char type

Strings Lab Practice

Thursday is last day for full credit on:
- Returns & if/else Conditionals Lab Worksheet (they should have been done with Birthday Project)

Last call on the Programing Competition registration (deadline was extended till Tuesday night.)
Warm Up:
- What order does a series of String methods execute?
Java File StringOrder.java
- What would this code do?
Java File BabyNamer.java
- What's the Method Declarations?

Loops Review
Demo Loop Problems to solve
Java File LoopDemosStarter.java
Java File LoopDeconstruction.java
Monday 11/30Using String methods & the char type

Start Strings Lab Practice

Plus Sign Off's for Q2:
- Returns & if/else Conditionals Lab Worksheet

+ If you did not turn in - Project 4: Birthday
Turn in Project 4 here and talk to Mr. Bergquist

Readings in BJP for Thursday & Friday
- 5.1 While Loops: pp 301 - 313 (include Random Method, p 306)
- 5.2 Fencepost Algorithms & Sentinel Loops: pp 313 - 319
Slides Fenceposts, While loops & Math.random()
PDF File Handout: Fenceposts, While loops, & Random()
Strings! Presentation
PDF File Handout: Strings
Java FileGangstaNameStart.java .
Start Strings Lab Practice

+ What are you interested in for Computer Science Week (Dec 7-12)? What kind of speaker would you like?? Any professionals you know of?

+ UW Computer Science Open House*, 1 - 5pm on Saturday, Dec 5th, at UW's Paul Allen Computing Center.  RSVP to attend!
CODE: Debugging the Gender Gap screening party at Google!* Wed, Dec 9th Click here for more details.
* These events are not SPS nor Garfield HS events and you need to talk to your parents/guardians before registering or participating.
Tuesday & Wednesday
11/24 & 25 (shorter)
Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday and introducing Strings!
1) Please make sure you have filled out our Exit Ticket on Parameters & Graphics Thanks.
2) Signing off on Returns & if/else Conditionals Lab Worksheet
3) Due Monday (no time in class): Project 4: Birthday - Turn in Project 4 here
4) Done? Start Strings Lab Practice (Lecture at left)

Strings Readings in BJP - Monday's Lecture... Homework reading.
- 3.3 Using the String Objects: pp 156 - 162 (162- 167 was for Scanners)
- 4.3 Text Processing: char pp 253 - 256 (for SmallestLargest problem)
Garfield Dawgbots ranks 2nd in League Competition!

Due Monday (no time in class Monday): Project 4: Birthday - Turn in Project 4 here
PUBLIC SERVICE ANNOUNCEMENT: I often find errors in Project 4: Birthday's output - there are several (3-4) different message combination. So Double check punctuation, new lines, and the introduction carefully; better yet use Quick Diff to compare with the examples!
ALSO: Make sure you follow this Project Correctness Checklist

For next Monday:
Strings! Presentation (start)
PDF File Handout: Strings (printed version available)
Java FileGangstaNameStart.java . (likely for Monday).
Monday
11/23
Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday
Finish up: Returns & if/else Conditionals Lab Worksheet
Then work on: Project 4: Birthday Due Wed Nov 25th.
Make sure to apply our Good Style Guidelines:
- Reading the main method clearly shows what the program does - use methods to do the actual work.
- Break down methods well so each does one thing and is less than 20 lines (Structural Decomposition)
- Functions should be in their own methods, so they could be used elsewhere & by other programs
- Follow our Coding Conventions including naming variables well and adding comments for read-ability.
Turn in Project 4 here

+ Please fill out this online Exit Ticket on Advanced If Returns & Cumulative Sum at end of period.
Warm Up / Example:
Java File DemoCumulSumAvg2.java

+ Please fill out this online Exit Ticket on Advanced If Returns & Cumulative Sum at end of period.

+ Quarter Grades are in the Source - going out tonight.

LAST DAY TO REGISTER: Programming Contest at UW, Saturday Dec 12th, registration closes today at 11:59pm Form a team of 3 with Classmates. Cost: $30, scholarships available.
Friday 11/20Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday
Math & Scanners Lab Worksheet should be signed off. (Last 1st Quarter item)
Complete: Returns & if/else Conditionals Lab Worksheet
Then work on: Project 4: Birthday Due Wednesday Nov 25th.

Readings in BJP next Week
- 3.3 Using the String Objects: pp 156 - 162
- 4.3 Text Processing: char pp 253 - 256
Slides Strings! Presentation
PDF File Handout: Strings
Java File Warm Up: If Returns & Max/Min values
Review Style Guidelines for: Project 4: Birthday Due Wednesday Nov 25th.
PDF Version of Project 4: Birthday details below to print out (links don't work)

Reminder: Programming Contest at UW, Saturday Dec 12th, registration closes on Monday, 11/23 Form a team of 3 with Classmates. Cost: $30, scholarships available.

Supplementary Material:
- Cummulative Sum Video
- Factoring if/else Video
Java File CondReturnsSums.java Sample Code
Thurs 11/19
(Block)
Using Cumulative Algorithms to solve problems

- Math & Scanners Lab Worksheet should be ready for sign off. (Last 1st Quarter Assignment)

- Complete: Returns & if/else Conditionals Lab Worksheet (Worth 25 Classwork Points)

- Then Start: Project 4: Birthday Due Wednesday Nov 25th.?

Register for the Programming Contest Saturday Dec 12th at Microsoft*, registration is open till Monday, 11/23 Form a team of 3 with Classmates. Cost: $30, scholarships available.
Advanced If Returns & Cumulative Sum.
Slide 5 Quadrant exercise:
Java File QuadrantGridStart.java
Then let's try creating a method that calculates #days in a month...
Java File DaysInMonthDemo.java
Starter code Java File DemoCumulSumAvg.java

Before you go to the Lab, Solve Logical Expressions on...
PDF File Handout: for Advanced If & Cumulative Sum

Q&A: Project 4: Birthday Due Wednesday Nov 25th.?
Tuesday 11/17
Adding AND & OR logic to our and Cumulative Algorithms to solve problems

Bring up the Math & Scanners Lab for sign off please.
And work on: Returns & if/else Conditionals Lab Worksheet

Preview: Project 4: Birthday Due Wednesday, Nov 25th?

Quarter ended Monday, 11/16.
Warm Up from Yesterday.


PDF File Handout: for Advanced If & Cumulative Sum (Copy available Thursday)

ANNOUNCING: Programming Contest Saturday Dec 12th at Microsoft*, registration is open till Monday, 11/23 - be ready!! Register Here Form a team of 3 with Classmates.
Monday 11/16Use conditionals to return results
End of the Quarter is Today. Check the Source & make sure all your Lab worksheets are complete through all the Graphics and the Math & Scanners Lab Worksheet, which I will be signing off today (Graphics after today are late).
Start work on: Returns & if/else Conditionals Lab Worksheet (Worth 25 Classwork Points, there are several)

Readings in BJP for Tues & Thur
- 4.1 if/else Statements: pp 239 - 241 (latter part on Factoring & Multiple Conditions - AND & OR)
- 4.2 Cumulative Algorithms pp 242 - 253 (for SmallestLargest problem)
Advanced If Returns & Cumulative Sum - this will help with the Returns & if/else Conditionals Lab Worksheet
Warm Up (5 class points)
Returns & Conditionals (if/else)
PDF File Handout: for Returns & Conditionals
Java File BMI.java

Supplemental Video: Nested if/else

* For those who missed the Quiz last Thursday, it will be given second hour of this Thursday or make arrangements with me.
Thur 11/12
Assess your use of Parameters, Graphics & Math methods.
Have a successful quiz!

Make sure to finish up all past worksheets including the Math & Scanners Lab.

Done? Read through on Returns & Conditionals material and start in on: Returns & if/else Conditionals Lab Worksheet
Make sure you have done the Readings (below) in BJP for Monday. Thanks!
Quiz through DrawingPanel and Math (no Scanner)
Then go to lab... (see left)

Mark your Calendar: December Programming Contest is Saturday Dec 12th at Microsoft, and registration will be opening on Monday the 16th! Check out the details and Talk to friends to form a team of 3!

Tuesday 11/10Using Math Methods to make calculations and Scanners for gathering input.
Complete: Math & Scanners Lab Worksheet For sign offs on Thursday (make sure you are caught up on all others too.)

Readings in BJP for Monday - make sure you have read it. Homework
- 3.2 Methods that Return Values (adding to Methods): pp 151 - 155
- 4.1 if/else Statements: pp 227 - 241
Next: Returns & Conditionals - if/else
Lab Worksheet
Grade your solutions for: Quiz Practice Homework Assignment
...
Upcoming Quiz (Thur) Q&A - through Math, Parameters & Graphics (no Scanners) - open book & notes, along with a copy of our Java Syntax Sheet V2.

Thinking of studying CS? WA state schools with CS programs, info sheet gathered by a fellow teacher. (I may have an updated one later)
Monday 11/9Using Math Methods to make calculations and Scanners for gathering input.

Next Quiz Thursday (11/12) : Parameters, Graphics, Loops, & Math Returns (no Scanners). Open Book & Notes.
Complete the Quiz Practice Homework Assignment for class "grading" tomorrow.

Complete & start Sign off on:
- Math & Scanners Lab Worksheet

(warm up)
Returns: Math & Scanners (finish)
Sample Code:
Java File MathScannerTrial.java
Java File Scan10Tokens.java

December Programming Contest registration will be opening on Monday the 16th! Talk to friends to form a team of 3!

Parameter & Graphics Review: warm up.
Java File ReviewParameters.java (Solution)

Supplements:
- Video: Scanner
- Java File MathAndScanFixed.java (Sample Code)
Friday 11/6Using Math Methods to make calculations and Scanners for gathering input.

Project 3: Café Wall Due TODAY Sorry, Mr. B not available after school and the lab not be open.
Turn It In Here

+ Quiz Practice Homework Assignment - complete to be "scored" in class on Tuesday,10th November.
- Work on: Math & Scanners Lab Worksheet
Returns: Math & Scanners (finish)
Sample Code:
Java File MathScannerTrial.java
Java File Scan10Tokens.java

Next Quiz Nov 12th on: Parameters, Graphics, Loops, & Math Returns (no Scanners). Open Book & Notes.
+ Quiz Practice Homework Assignment - complete to be "scored" in class on Tuesday,10th November.
Thursday 11/5
Block
Using Math Methods to make calculations and Scanners for gathering input.

Project 3: Café Wall Due Friday NOTE: Mr. B not around after school Friday, lab likely not open.
Turn It In Here

Done? Start the: Math & Scanners Lab Worksheet

Readings in BJP - Homework
- 3.2 Methods that Return Values (Math): pp 147 - 154
- 3.3 Interactive Programs and Scanner Objects: pp 162 - 167
Electronic Devices and Hall Pass Policy Review & Clarification
Please practice these policies today in class; I will be following them precisely
+ Exit Ticket Survey Results (not much more complete)

Returns: Math & Scanners
PDF File Handout: for Math Returns & Scanners

Questions on: Project 3: Café Wall?
+ I will illustrate the drawing on the other side of the wall.

***Turn in First Quiz ReGrades ASAP, if not being regraded, turn in the original Quiz.***
Tuesday 11/3Creating scalable graphics using for loops & parameters.
Exit Ticket on Parameters & Graphics - Please complete today.

You should be completing these today, so you have time to work on Cafe Wall:
- Starting Graphics Drawings (sign off today for full credit)
- Parameter Practice Lab Worksheet - should be signed off already
- Starting Graphics Drawings
- Self-Check 3.3 Parameter Mystery (good practice, done earlier)
- Three sequential Graphics Squares: Exercise 3G.5: SquaresA, Exercise 3G.6: SquaresB, Exercise 3G.7: SquaresC
(summarized in a Worksheet)

Work on Project 3: Café Wall - Due Friday, Nov 6th.
Time to work On Project 3: Café Wall Any Questions??
Any one have an area you want me to go over again? I can do it for many students in the classroom now or tomorrow.

Project 1 - Grade-It Scores are published:
1) First Log In to: Garfield Grade-It
2) Build your link to see your results: https://gradeit-hs.cs.washington.edu/garfield/scoresheet/APCS/2015-16/Period[4 or 6]/[your user_name all lower case]/a1/
For example for blue_porcupine in Period4, the URL would be:
https://gradeit-hs.cs.washington.edu/garfield/scoresheet/APCS/2015-16/Period4/blue_porcupine/a1/
If you did not get an email with results, try this now. Let me know if there are any problems.

+ NEW! GirlCode Movie Screenings - Free at Google & Amazon.com Wednesdays, Nov. 4th & 11th, respectively. Sponsored by Women@Google & Amazon Women in Engineering.
Monday 11/2Creating scalable graphics using for loops.
Exit Ticket on Parameters & Graphics - Please complete today.
Continued lab work & sign off on worksheets & problems listed below (see Thursday).
Start work on Project 3: Café Wall - Due Friday, Nov 6th.
If done early, try additional Chapter 3 and 3G problems in Practice It! See if you can get a high score for the week!.

Readings in BJP for later this week
- 3.2 Methods that Return Values (Math): pp 147 - 154
- 3.3 Interactive Programs and Scanner Objects: pp 162 - 167
Returns: Math & Scanners
[BJP Material Superset]
Return Quizzes!!
Those needing to Redo work I suggest trying the: Lab 2: Expressions, Variables, and Loops - a self-paced lab exercise. To build your skills

Questions on Project 3: Café Wall?? Due Friday, Nov 6th

Rest is Lab Work Day!!
Students' Solutions to Scaling & Row of Cars Methods from Class yesterday:
Java File ScaleTheCar6.java

+ NCWIT Aspirations in Technology competition extended to Wednesday, Nov 4th 2015 - all women in CS should consider applying.
+ EasyCTF a High School Hacking Competition started Saturday Oct 31st! are you on a team? (not associated with SPS or Garfield HS, include your parents in the details)

Our T-Shirt Design & Code:
Our Garfield CS T-Shirt Design
Java File GarfieldCSRocks.java
Thursday 10/27Creating scalable graphics using for loops.

Get Signed off on (should finishing up these two):
- Parameter Practice Lab Worksheet
- Starting Graphics Drawings
Work on:
- BJP3 Self-Check 3.6: parameterMysteryNumbers (sign off with next three...)
- Three sequential Practice It! from UW Problems (10 Classroom Points, due Monday 22 Oct): Exercise 3G.5: SquaresA, Exercise 3G.6: SquaresB, Exercise 3G.7: SquaresC
If you have difficulty with Practice It, use this Worksheet
Review: Project 3: Café Wall, Due Friday, Nov 6th.

If you have not already, Please fill out this form to pick your Size for your Free Garfield CS T-Shirt! (yes it's free, but I need your shirt size!)
Scale the Car from slide 6 of Graphics Part 2, with starter code: ScaleTheCar.java. Random Pick?

Check out: Project 3: Café Wall Due Friday, Nov 6th (note: Mr. Bergquist will not be around after school on the 6th).

Supplemental Video: Parameterized Graphics Video
Tuesday & Wednesday
10/27 & 28 (Short period)
Creating graphics using for loops.

0) Finish up sign offs on 1-3 of the Parameter Practice Lab Worksheet
1) : Starting Graphics Drawings- start signing off.
2) Get signed up with Practice It! from UW Problems and try out: BJP3 Self-Check 3.6: parameterMysteryNumbers for sign off.
3) Start these three Graphics (they are a sequence, 10 Classroom Points):
- Exercise 3G.5: SquaresA
- Exercise 3G.6: SquaresB
- Exercise 3G.7: SquaresC
If you have difficulty accessing Practice It, use this Graphics with Parameters Worksheet page (copy of the problems).
And Please fill out this form to pick your Size for your Free Garfield CS T-Shirt!
Warm Up: Your turn to solve these:
- Slide 2 of Graphics Part 2
Starter Code: GraphicsTwoForLoop.java

Now let's "Parameterize" starting with the x & y locations:
Java File DemoParameterizedGraphics.java Sample Code.
Got it? Good, next we will parameterize & scale that Car and then print a row.
Graphics Part 2
Java File ScaleTheCar.java (starter code)
PDF File Handout: for Loops creating Graphics

And Please fill out this form to pick your Free T-Shirt Size for your Garfield CS Shirt!

Alternative Warm Up:
Java File
GraphicsLoopWarmUp.java
Monday 10/26Using Objects: Use Methods of the Graphics Object to create cool images within the DrawingPanel.
First Quiz Scores are in the Source
1) Make sure you finish 1-3 on the Parameter Practice Lab Worksheet. Get signed off
2) Create your: Starting Graphics Drawings. Feel free to try using loops from our Graphics presentation in your drawings! - You can later use this for your "Doodle" part of the next Project!
3) In Practice It! from UW, solve BJP3 Self-Check 3.6: parameterMysteryNumbers - please show it to me with your Drawing for sign off.
4) Try more problems for practice - see if you can get a HIGH SCORE!
Graphics Review, let's take a look at:
Java File GraphicsPrimer.java
Graphics (finish - Loops for Graphics)
PDF File Handout: for Graphics
Java File DrawingPanel.java Must be copied to your Java code folder/directory!

Create your Starting Graphics Drawings. Feel free to try using loops from our Graphics presentation in your drawings! This Graphics Loops Note sheet may help.

Readings in BJP for Tues & Thur Homework
- 3G.3 Case Study: Pyramids - building graphics with loops: pp 209 - 215 (try it in jGrasp)
- Review 3G.1 & 2 Introduction & Procedural Decomposition with Graphics: pp 189 - 209
Graphics Part 2
Friday
10/23
Creating graphics with DrawingPanel.

- Sign off's on Parameter Practice Lab Worksheet 1-3 first priority (for sign off), then try the rest. Should finish up today.
- NEW Assigment: Starting Graphics Drawings - Worth 10 Classroom Points

Make sure you are signed up for Practice-It:
1) Set up an account or sign in to: Practice It! from UW
2) Make sure to select Garfield High School, so you can see and show up for our high scores.
3) Try it - Solve Self-Check 3.6: parameterMysteryNumbers to confirm it works for you - I will check this later with your Graphics Drawing.
4) Try more problems for practice - see if you can get a HIGH SCORE!
Warm up Java File ParameterBasics.java
Supplemental Video:
Parameter Mystery

Graphics (PDF)
PDF File Handout: for Graphics
Java File DrawingPanel.java Must be copied to your Java code folder/directory, DO IT TODAY!

CODEDAY Seattle is coming Nov 7 - 8th, noon to noon. Register & Save (See Mr. B for Discount Code)

Reminders:
- UW in the HS: College credit for AP CS forms & fees due Friday, 30th October.
Any questions?
- NCWIT Aspirations in Technology competition - applications due Monday, 26th Oct.

Java File GraphicsPrimer.java
Supplement: Basic Graphics Video
Thur 10/22 (Block)Assess your knowledge of Expression, Variables, Methods & for Loops. & Basics of Parameters
Do: Parameter Practice Lab Worksheet Prioritize 1-3. First one is parameterizing RedundantStars.java (hopefully finish up after quiz today.)

Please create an account in : Practice It! from UW and do the exercises for Chapter 1-3. Try To get the HIGH SCORE.

Done? Try some Practice It! Problems and see Monday's list of suggestions.
Quiz Today covers: Println, Method calls, Expressions, basic loops and Nested Loops.

Parameter Practice Lab Worksheet Prioritize 1-3. First one is parameterizing RedundantStars.java (hopefully finish up after quiz today.)


Readings in BJP for Friday (Homework)
- 3G.1 Introduction to Graphics: pp 189 - 205
- 3G.2 Procedural Decomposition with Graphics: pp 205 - 209
Tuesday 10/20Basics of Parameters.

Start: Parameter Practice Lab Worksheet Prioritize 1-3. First one is parameterizing RedundantStars.java (hopefully finish up after quiz on Friday.)

Readings in BJP for Friday (Homework)
- 3G.1 Introduction to Graphics: pp 189 - 205
- 3G.2 Procedural Decomposition with Graphics: pp 205 - 209
Our First Quiz on Thursday (10/22).
Questions? Shall we do a warm Up to review??
Java File ScalingLoopsWarmUp.java
Scope & Scaling Warm Up with Solutions
More? Java File LoopsVariableReview.java

Parameters Presentation
PDF File Note Handout: Parameters with Parameter Mystery Worksheet (on back).
Monday 10/19Using nested loops & Class Constants to draw Complex Scalable images. Intro to Parameters.
Few more Sign offs: (please have these open & ready)
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise
Turn in Project 2: Space Needle DUE TODAY Monday 19th October.
(Turn In Here)

Review for the Quiz by:
- Creating an account in : Practice It! from UW and do the exercises for Chapter 2 & 1. Try To get the HIGH SCORE.
- Lab 2: Expressions, Variables, and Loops from Building Java Programs. A self-paced lab exercise.

Next: Parameter Practice Lab Worksheet Prioritize 1-3 (others are extra). Start by parameterizing RedundantStars.java
Readings in BJP
- 3.1 Parameters: pp 133 - 147
Project 2: Space Needle - Review Criteria for Grading & any last minute questions??
Follow our Our AP CS Coding Conventions

Let's Start the first part of:
Parameters Presentation
PDF File (for Tuesday).

Quiz Block Day Thur (22nd): What's on it Any questions?
Quiz Practice Starter Code for Tuesday...
- Java File ScalingLoopsWarmUp.java
Friday 10/16Using nested loops & Class Constants to draw scalable images.
Sign off on (due today):
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise

Then work on: Project 2: Space Needle? (due 2nd Oct) Due Monday 19th October.
(Turn In Here)

Please set up an account in: Practice It! from UW and start practicing!!
Done? See Thursday's suggestions below...
Any Questions on: Project 2: Space Needle? (due 2nd Oct) Due Monday 19th October.
(Turn In Here)

LAB DAY! Happy Friday.

Thursday 10/15
Block

Using nested loops & Class Constants to draw scalable images.
Finish off the checks for: Expressions & Loops Lab Worksheet & Complex Figure Exercise
Work on: Project 2: Space Needle? Due Monday 19th October.
(Turn In Here)

In Lab Demos?:
- Starter:Scaling Inverted Pyramid
- Pick another? from these Sample Loop

Please set up an account in: Practice It! from UW. See who can get a high score this year!!
Done? you can try Light Bot or Picobot

Readings in BJP for Monday
- 3.1 Parameters: pp 133 - 147 for Monday
Parameters Presentation
Our first Quiz MOVED TO next THURSDAY 10/22!
Questions on: Project 2: Space Needle?Due Monday 19th October.
jGrasp Demo!! (jGrasp Tutorial)

Chick Tech Event Sat & Sun, Nov 7 & 8th - let Mr. B know today if you are interested, and talk to your folks. This is not an SPS or Garfield HS event and you need to talk to your parents/guardians before registering or attending.

Need guidance on starting scaling with a constant and the Space Needle? Join us for:
Steps to create a Ziggurat figure (PDF)
PDF File Note Handout: Build a Ziggurat, Scalable Complex Figure
Java File ZigguratDemo.java
Tuesday 10/13Using nested loops & Class Constants to draw scalable images.

Sign off the: Expressions & Loops Lab Worksheet
Sign off the: Complex Figure Exercise
Star work on Project 2: Space Needle (due 19th Oct)

Please set up an account in: Practice It! from UW. See who can get a high score this year!!

Possible Lab Demos:
- Starter:Scaling Inverted Pyramid
- Pick another? from these Sample Loop

More Complex Shapes from our examples:
Java File ComplexFigures.java
Java File Mirror.java
. . .
Ziggurat Warm Up

Notes from Loops Exit Tickets Are we ready for a Quiz Thursday?
Please set up an account in: Practice It! from UW. See who can get a high score this year!!

Questions? Project 2: Space Needle Due Monday 19th October.
Need guidance on starting scaling with a constant and the Space Needle? Join us for:
Steps to create a Ziggurat figure (PDF)
PDF File Note Handout: Build a Ziggurat, Scalable Complex Figure
Java File ZigguratDemo.java

+Unique Opportunity for a few students to discuss how they decorate their physical and digital spaces (See Mr. Bergquist)
Monday 10/12Using nested loops & Class Constants to draw scalable images.
- First please fill out our Exit Ticket: Loops, Nested & Class Constant
- Get signed off on: Expressions & Loops Lab Worksheet - should be done today.
- Complete the: Complex Figure Exercise (sign off on Tuesday)
- Then Start on: Project 2: Space Needle Due Monday 19th October.
(Turn In Here)
Warm Ups:
4th: WarmUpSept222014.java
6th: Find the Errors

Introducing: Project 2: Space Needle Due Monday 19th October. Questions?
Quick Look: Complex Figure Exercise Can you reverse a loop??
* Remember: Our first Quiz MOVED TO next THURSDAY 10/22!.

+ Please fill out our Exit Ticket: Loops, Nested & Class Constant
Friday 10/9Using nested loops & Class Constants to draw scalable images.
Get checked off on: Expressions & Loops Lab Worksheet - should be done today, so you have time for the project.
Then work on: Complex Figure Exercise (key to getting started on the ...)

Introducing: Project 2: Space Needle Due Monday 19th October.
Warm Up: Java File WarmUpSept222014.java
(Remember you can use the DeBugger in jGrasp)

4th: Complex Figure & Class Constants
Java File MirrorStart.java Figure sample code

Our first Quiz will be on next week: Thursday (through simple nested loops)

Need more Nested Loop Practice?
Try exercise starting at slide 29 of this UW Loops (and other stuff) Lab, very good step by step process
Thursday 10/8Using nested loops to draw scalable images.
- If you have not already, please fill out our: Expressions & Variables Exit Ticket (there will be one later for Loops).
- Our second lecture will help you to complete the last item on: Expressions & Loops Lab Worksheet
- Start the more Complex Figure Exercise.

Announcing: NCWIT Aspirations in Technology competition - all women in CS should consider applying.
Stop by the WIT meetings Monday at Lunch in 115a for more discussion.
Complete: Nested for Loops (PDF) in JGrasp.

Work in Lab for an hour then... make sure to try some Loops!!
Complex Figure & Class Constants
Java File MirrorStart.java Figure sample code

Supplementary Material:
- Video: Complex Figure
- UW Lab 2: Expressions, Variables, and Loops A self-paced lab exercise.
Tuesday 10/6Use nested loops to draw scalable images.
Finish up: Expressions & Loops Lab Worksheet

Complete and get Sign off on: Expressions & Variables Exit Ticket

Done? Start the Complex Figure Exercise we will be doing next.
Take our Class Packet home to be reviewed by your parents and signed. Sign your part first today!
Let's review the:
- UW in HS, college credit for AP CS.
- Garfield Technology Acceptable Use Policy Form

NOTE: Curriculum night is Thursday.

Nested for Loops (PDF)

Next: Complex Figure & Class Constants (PDF)
Monday 10/5Using simple for Loops & start to nest them.
Exit Tickets - Please fill out : Expressions & Variables Exit Ticket
Complete and get Sign off on: Expressions & Loops Lab Worksheet (You can start the loop problems!) Goal to be completed by end of class Thursday, OK?

Next: Managing Complexity & Scaling start Thursday or Friday.
Readings in Building Java Programs (BJP): (Homework)
- 2.4 Managing Complexity: pp 97 - 108
- 2.5 Scaling a figure: pp 108 - 116
Complex Figure & Class Constants
How was it turning in Project 1: Song?
(if late you can, Turn it in here and check in with me. Thanks.)

for Loop (PDF)
Nested for Loops (PDF)
PDF File Note Handout: for Loops

Start 2nd page of Expressions & Loops Lab Worksheet .

Supplemental Video:
- for Loops
- Nested for Loops
Friday 10/2Solving Expressions in Java & creating Variables types.

1) Finish: Project 1: Song (20 Points) - (Due TODAY Friday, Oct 2nd) You will only be able to Turn it in here only if you already defined your password (tell me if you need this done.)
Check your Coding Conventions and Verify your output with Quick Diff before turning it in.
2) Correct the code: Receipt.java to compute correctly
3) Start: Expressions & Loops Lab Worksheet

For Next week: Loops!
Readings in Building Java Programs (BJP): (Homework)
- 2.3 For Loops: pp 87 - 94
- 2.3 Nested For Loops: pp 95 - 97
Expressions & Variables Finish up Variables
PDF File Notes Handout: Expressions & Variables

Java File Receipt.java - correct it.
Supplemental Video: Variables & Assignments

+ EasyCTD a High School Hacking Competition, DELAYED starts Oct 31st!, create a team (not associated with SPS or Garfield HS, include your parents in the details)
Thursday 10/1Solving Expressions in Java.

*** Set Your Grade-It Account Password now.***
Today During Class you MUST click the "Forgot Password" link in Grade-It or you will not be able to turn in your project - must be done during the school day.
a) To do this go to our Project 1: Song Turn In Page
b) It should ask you to sign in first, but you don't have a password yet, so click the "Forgot password?" and enter your Account UserName, which is the color_animal (you need to include the "_").
c) An email will be sent to the address you gave me with a link to change you password, establish your password there.
d) Now after signing in, you can go to "Student Home" for "APCS 2015-16" and you will find the link for "Assignment 1 (Song)". Click on it.
e) That page will auto fill in your details (ignore the forwarding email address, it's mine) and you need to:
- Browse to your Song.java file
- Check Agreement to the Academic Integrity
- Then "Turn In" the assignment to submit.
f) Note if you do this during class, you will hopefully get a confirmation email, if while not in school you may not, but can check with me the next day. Thanks!

0) Final Sign off's for full credit: Println, Static Methods & Decomposition Lab Worksheet
1) Finish: Project 1: Song (20 Points) - (Due Friday, Oct 2nd) You will only be able to Turn it in here only if you already defined your password (details above).
Check your Coding Conventions and Verify your output with Quick Diff before turning it in.
2) Start: Expressions & Loops Lab Worksheet

For Next week: Loops!
Readings in Building Java Programs (BJP): (Homework)
- 2.3 For Loops: pp 87 - 94
- 2.3 Nested For Loops: pp 95 - 97
Exit Ticket: Lesson 1: Println, Comments, & Static Methods Feedback
+ Questions on: Project 1: Song (10 Points) - You can Turn it in soon (Due Thur, Sept 18th)
**Please follow the instructions at the left to set your Grade-It Account password today in class**
Make sure to Avoid minor Errors! Test your output with Quick Diff and Check your Coding Conventions.
After you have verified it, use the Project 1: Song Turn In Page to turn it in using your UserName (color_animal) & password.

,,,And now on to our New Lesson:
Expressions & Variables
PDF File Notes Handout: Expressions & Variables
Start: Expressions & Loops Lab Worksheet
Supplemental Videos:
- Expressions
- Variables & Assignments
Tuesday 9/29Solving Expressions in Java & creating Variables types.
0) A few of you still need to enter your Grade-It Account name & email in this form - required for you to submit your project.
1) Finish up: Static Methods & Decomposition Lab Worksheet (due for sign off today!)
2) Work on Project 1: Song Due 10/2 Friday.

Done start: by reviewing Expressions & Variables, then start: Expressions & Loops Lab Worksheet (resources at Thursday's class)
+ Make sure you have taken our AP CS Class Survey.
Levels of Structure: the Stars Exercise...
Questions on Project 1: Song? Due 10/2 (Friday)

+ EasyCTD a Hight School Hacking Competition, starts Saturday, create a team (not associated with SPS or Garfield HS, include your parents in the details)
Test your output using QuickDiff.com, the grade you save may be your own.

Shall we start Expressions & Variables?
Expressions & Variables
PDF File Note Handout: Expressions & Variables
Monday 9/28Mastering Println & Decomposition using Static Methods. About our Coding Conventions & first Project.
0) Make sure you have taken our AP CS Class Survey please. - Thanks.
1) Once you receive your Color & Animal Account Code Name, please complete this form so you can submit your program. Thank you.
2) Finish up & get sign off on: Println, Static Methods & Decomposition Lab Worksheet (due Tuesday, 9/29 for full credit.)
3) If you have not already, please Fill out this online Exit Ticket: Lesson 1: Println, Comments, & Static Methods Thanks
4) Start Project 1: Song (20 Points) Due 10/2 (Friday)

This week: Expressions (Tuesday) & Variables (Thursday)
Readings in Building Java Programs (BJP): (Homework)
- 2.1 Basic Data Concepts: pp 62 - 72
- 2.2 Variables: pp 72 - 86
NEW - Seating Assignments - let me know if you need a change.
PDF File Coding Conventions & Project Logistics Slides
Link Our AP CS Coding Conventions
Link Project 1: Song (20 Points) Due Friday, Oct 2nd.

New Grade-It Program Details:
A) You will be given a Grade-It Account Code Name that is a Color and Animal to use to submit your assignments. See Mr. Bergquist for these.
B) You will need to complete Grade-It Access Form in order to be able to submit your work.
There are only 4 questions; once you receive your Color & Animal Account Code Name, please complete the form today! Thank you.

Updated: PDF File AP CS Syllabus (minor 2015 changes)
Friday 9/25
Homecoming!
Mastering Println & Decomposition using Static Methods.
Please Take our 2015 AP CS Class Survey please.
- Start sign Off on BakeMoreCookies Decomposition
- Work on (or sign off on): Println, Static Methods & Decomposition Lab Worksheet (due Tuesday, 9/29 for full credit.)

Done? Fill out this online Exit Ticket: Lesson 1: Println, Comments, & Static Methods Thanks

Next Week: Expressions & Variables
Readings in Building Java Programs (BJP): (Homework)
- 2.1 Basic Data Concepts: pp 62 - 72
- 2.2 Variables: pp 72 - 86
Please Take our 2015 AP CS Class Survey please.

Finish Println, Comments, & Static Methods
Java File Figures1.java
PDF File Println, Static Methods & Decomposition Lab Worksheet
Supplemental Video: Methods
Thursday 9/24
Block
Begin using Println, Comments & Static Methods.
1) Decompose BakeSomeCookies.java into a few static methods to produce the same output.
Java File BakeSomeCookies.java
2) Done? Start work on: Println, Static Methods & Decomposition Lab Worksheet (due Tuesday, 9/30 for full credit.)

Readings in Building Java Programs (BJP):
- 1.2 And Now Java: pp 10 - 23
- 1.4 Procedural Decomposition: pp 28 - 38
Warm Up Example:
CSE 142 Lab - Java Syntax Errors

Println, Comments, & Static Methods
PDF File Handout - Lesson 1: Println, Comments, & Static Methods

Java File StartToday20110912.java
Java File BakeSomeCookies.java

Start Println, Static Methods & Decomposition Lab Worksheet
Wednesday 9/23
35 Minutes
How to use our Textbook & Class Pre-Assessment.

Reading our CS Textbook: AP CS - How to Take Textbook Notes

Readings in Building Java Programs (BJP): (Homework)
- 1.2 And Now Java: pp 10 - 23
- 1.4 Procedural Decomposition: pp 28 - 38
Reading our CS Textbook: AP CS - How to Take Textbook Notes

Class Pre-Assessment Puzzles... do your best.
While signing out an AP CS Textbook.
Monday 9/21
Write your First Java Program!
Compile and Run your first Java program.
Get the Hello.java below running using jGrasp - after ward try adding some more text lines to print out.
Java File Hello.java
And then...
Set up an AP CS folder in your student H: Documents folder to keep your classwork over the year. Open it in the jGrasp Browser window for ease of use.
Review: Installing Java 7 & jGRASP 2.0 at home
Try out the: jGrasp Tutorial
Done? take a look at what's next from last year's class here (scroll to the bottom)

Next: Println, Comments, & Static Methods
Programming, Java
Java File Hello.java

Amazon Open House, Sat Sept 26th: (non-Garfield/SPS event)
Amazon Open House Flyer
Amazon Open House Registration (requires parent with ID)

Garfield CS Clubs:
Monday at Lunch in 115a: Women in Technology
Tuesday & Thursday after school in 115: FIRST Robotics
Coming Soon:
- Girls Who Code (go to the WIT Meeting to find out more details)
- Android Apps Club (later in October, hopefully)
Friday 9/18Understand details about the AP CS class. Get familiar with our Classroom Guidelines.
Computer Science Classroom Guidelines
?Any Updates or suggestions for the new year?
Code.org Video
HR Training on our...
slides: Corporate Classroom Standards
PDF File Computer Science Classroom Guidelines
Thursday 9/17Welcome to AP CS. Learn what this class is all about.

Ed Lazowscka’s presentation on ComputerScience, Global Challenges, andNational Policy (great images and visual insights)
"Water Cooler Conversations"
and Introductory Details...
PDF File AP CS Syllabus (pdf format) - same as last year (we may choose to make some updates.)

* Goal should be preceded by: “Student will be able to…” (AKA SWBAT).

** Starred Events are not SPS nor Garfield HS events and you need to talk to your parents/guardians before registering or participating in them

SPS Network Use Agreement must be obeyed while using the Garfield Computer Lab and other computers.  Versions of the Agreement in other languages can be found in the “Department of Technology Services” Section of this page: http://www.seattleschools.org/cms/one.aspx?objectId=14407 .