2014 AP CS

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

This is an archive of our 2014-15 AP CS Class work.  You can find the latest class by the AP CS tab at the top.  Website links and assignments may vary so some material may be out of date.  Check in with Mr. Bergquist if you have any questions.

The 2015 AP test was 2 years, 6 months, 16 days ago (Thursday, May 7th, 2015). Hope you did well!

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

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

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!

If you'd like to try more programing over the summer, check out Code.org & codecademy.com
+ Check out Android Studio, the new free professional development environment using Java.  To learn more check out Marty Stepp's CS 193A: Android App Development Class resources from this past Winter at Stanford

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

And here's Our Garfield HS Computer Science Linked In Group to join you must have graduated and be over 18 years old. Any ideas on a logo??
Monday - 6/15Double Check your grades and try other team's Final Projects

Discuss your coding plans for the summer!

World Tech Update April 24th, 2015

MS Office 365 free for all Garfield Students
Full details from SPS here.
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.

Want to try building some Apps this summer?
Check these out (especially the first one for Projects):
- Android Studio, the new free professional development environment using Java.  To learn more check out Marty Stepp's CS 193A: Android App Development Class resources from this past Winter at Stanford
- MIT App Inventor a powerful block based programming environment, that makes it easy to start building Android Apps

Check out: PACC Winner page!!
Thursday
6/11 Block
Presentation on your Final Projects

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

Stay connected with Garfield CS with LinkedIn: please consider filling out this form.
Final Project Demo's!
Then take a chance to test drive your classmates projects! They are all in our class S:Drive folder.
Tuesday & Wednesday
6/9 & 10
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 Wednesday, June 10th, and presentations are Thursday, June 11th. 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.
Tuesday: Senior Check Out Day! See you at Graduation and Best of Luck!!!

Juniors & Sophomores: Final Project code turned in Wednesday - 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 Thursday 6/11.
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.

Check out Bachelor of Application Development degree from North Seattle College, new alternative CS degree.
Monday 6/8Combine and develop Java skills in your Final Project

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

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.

Remember, all other Final Project code is due Wednesday, June 10th, and presentations are Thursday, June 11th.

X-Box One Raffle drawing TODAY during lunch
Academic & Professional Career Words of Advice

After Mr. Bergquist explains, if you want to stay connected with Garfield CS, please consider filling out this form. Thanks.
Our Garfield HS Computer Science Linked In Group (we need a logo!) to join you must have graduated and be over 18 years old.

Seniors: Please double check your Grades in the Source. And... Please fill out our AP CS 2014-15 Class Survey,especially seniors.

Remember, all other Final Project code is due Tuesday, June 9th, and presentations are Tuesday, June 10th.

Team "FrizBros" and "The Breakfast Club" won First & Third at the Paul Allen Computing Challenge this past Saturday! Congradultions Halden, Adrian, Brian, Fiona, Declan and Connor
Friday 6/5
Purple & White Day
25 minute classes
Karaoke OR work on your Final Project

See above and Sign yearbooks.

Karaoke OR work on your Final Project. Last day for classwork sign off's.

Juniors: MS Interships for next year! (website)

Monday Lunch (about noon) stop by 115a for our CS Class X-Box One Raffle, you need not be present to win. NOTE: Winners will not be able to take the prize home till we have contacted their parent.
Thursday 6/4Combine 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 Tuesday 6/9 for Juniors & Sophomores

FrizBros Apps:
- App Debug.apk
- App Debug Unaligned.apk


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??
4) For teams, how did you divide up the work and integrate it?

- Return textbooks if you have them please!

Others, 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

Wednesday 6/3
Early Release 35 minute periods
Combine and develop Java skills in your Final Project

- Last day to earn a another Raffle Ticket by Registering for Tech Prep (check with Mr. Bergquist if you think you already have an account, I have login pairs)

Breakfast Club: FitFit Android App (.apk)
** Senior Team Check on Projects at the presentation station with Mr. Begquist. **
+ UW in HS Survey for those who did that program.

+ Late Day Points are Posted in the Source, Check how I applied them!
+ Please bring in your Text book

Tuesday 6/2
Block
Combine and develop Java skills in your Final Project

Seniors: Complete your: Final Project and save code (see left) today, demos on Thursday, June 4th.
Others you have till next Tuesday to turn in code, June 9th - demo's on Thursday, June 11th.

For another Raffle Ticket 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 today - 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 Thursday, 6/4.
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.

+ Late Day Points are Posted in the Source, let me know how you want to apply them!
+ Please bring in your Text book
+ UW in HS Survey for those who did that program.
Thur & Fri 5/28 & 29
[Short 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)

One Question: Please Take This Survey to help our AP History class gain perspective. Big data in action here.

ALLSEEN Alliance Presentation from Tuesday.
Each Team, fill out the AP Project Status Report TODAY

Seniors: for Tuesday, 6/2 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

Determine how you want to use your extra Late days, check out the source and talk to Mr. Bergquist.
Tuesday 5/26
(EOC Week)
Learn about the The Internet of Things

Guest Speaker: Mr. Gix presents The Internet of Things, he is a developer at Qualcomm
Guest Speaker: Mr. Gix presents The Internet of Things, he is a developer at Qualcomm
ALLSEEN Alliance Presentation

It's Late Start/EOC Week: The CS Lab will be open for school work and help (no games or videos), Wednesday - Friday 8-11am. Stop by. Teams will be working on PACC on Wednesday morning.
Wednesday & Thursday
5/20 & 21

Have a Great Memorial Day Weekend!
Combine and develop Java skills in your Final Project

Review your Project Proposals Make sure your final version is turned in! It's a draft so you can make changes later...

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

- See bottom of our AP CS Final Project page.
-
Bagels (AKA MasterMind, Playable online Version)
Two you can do in DrawingPanel:
- FloodIt
- Conway's Game of Life
- Look at the posters around the room from last year and on the file cabinet.
We will review your Project Proposals to MAKE SURE YOU ANSWER ALL PARTS. Should actually already be in class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >
Then start work on them!

UW in HS Grades available - talk to Mr. Bergquist

Few more GridWorls Sign offs....
And just in case, for SnakeBug testing, compile and run this code:
Python File SnakeGameTest.java




Monday 5/18Combine and develop Java skills in your Final Project

Start Reviewing your Project Proposal (DUE TODAY, but get them in no later than Thur, 21st May)

I believe 15 Week Grades go out Friday Make sure these are signed off by Thurs 21st May, all should be done:
- Jumper
- Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Project Proposal - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 > DUE TODAY.

Just in case: 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.

Due TODAY your team's Project Proposal - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >

Work on your AP CS Final Project! Need more project Ideas? Talk to Mr. Bergquist

Update: turned the Application for the Summer Skill Center Program (has full details) to Me and I will pass it on to Counseling. Talk to me for help. Forms are due by May 29th, but get them in as soon as possible, classes fill up.

We will also have an update on the Lab being open during Testing today.
Friday 5/15Planning out your Final Project Proposal

Create your Project Proposal - save a copy in our class folder on the S: Student Folder Drive. We will have a paper check and drawing 10 minutes before class ends today.

Complete: GridWorld classwork, listed below...
Raffle ticket for all team members who have turned in your Project Proposal I will be checking to see if you have saved a copy in our class folder.

Let's talk about the Snake Project
Java File SnakeGameTest.java

For non-seniors: Free Tech Summer Skills Center Classes in a Variety of Areas including CyberCamp (digital art, animation, and gaming), Medical Careers, Engineering, CISCO (IT skills), Aerospace, MultiMedia Broadcasting, Computer Applications, and more. Get your Application for the Summer Program (has full details) in as soon as possible - turned in to Ms. McBride in Counseling
Thursday 5/14
Block
User Centered Design Workshop to improve your Final Project

User Centered Design Workshop Today with UW HCDE Grad Students.
User Centered Design Workshop Today with UW HCDE Grad Students.

How does this relate to your Final Project Proposal?
Monday 5/11 - Friday 5/15Documenting a Project Proposal & accomplish a Final Project

Finish these up, you can work in pairs and get signed off on:
- Jumper (should be done)
- Due Monday, May 11th - Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Project Proposal Due Monday, but if you have it in by Friday 15th, you earn one XBox One Raffle Ticket!
- Snake Project is due next class after Tue, May 19th.

Please get your PACC Permission Slips in.
Final Project:
- AP CS Final Project Details
- Project Proposal Due Monday, but if you have it in by Friday 15th, you earn one XBox One Raffle Ticket!

+ User Centered Design Workshop, Thursday, May 14th with UW HCDE Grad Students.

Sorry the GIrls Who Code CoverGirl App Challenge is only for participants of of GIrls Who Code (Full Details and FAQ)
Friday 5/8Finishing up Exercises & get started on your Final Project

Finish up on Classwork Due Dates:
- Tuesday, May 5th  last day for full points on Jumper classwork.
- Thur, May 7th - AP CS Exam
- Monday, May 11th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Snake Project is due next class after Tue, May 19th.

Please get your PACC Permission Slips in. Thanks!

FYI: Stephen Hawking on AI - an Existential Risk
User Centered Design Workshop next Thursday with Grad Students!

AP CS Final Project with schedule
- Project Proposal Due in a week, better to get them in earlier!

+ CodeDay is Saturday noon to Sunday Noon, May 23 & 24 & Tickets are Available - good chance to meet others who are interested in coding projects.
+ Girls Who Code has COVERGIRL Apps Challenge where pairs could win a Scholarship and make-up! Video - talk to Mr. Bergquist if you are interested.
Both are NOT an SPS/Garfield HS overseen activities.

Mock AP Grading Revealed - stick around for details.
Thursday 5/7
AP Exam in the Morning
AP Exam Day!

In class? Finish up on Classwork Due Dates:
- Tuesday, May 5th  last day for full points on Jumper classwork.
- Thur, May 7th - AP CS Exam
- Monday, May 11th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Snake Project is due Tue, May 19th.
A few students will be taking the UW in HS test today. So after attendance move into the lab.

Preview (we will go over on Friday in more details):
AP CS Final Project
Tuesday 5/5
(AP Exam on Thursday)
Review for AP CS exam
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
GridWorld FRQ Solution and Scoring review

Final AP CS Exam Review:
- Multiple Choice Questions?
- Free Response Questions?

BEST OF LUCK ON THE AP Computer Science EXAM!!

Monday 5/4
May the 4th be with you!
Review for AP CS exam

Not taking the AP? Finish up on Classwork Due Dates:
- Tuesday, May 5th  last day for full points on Jumper classwork.
- Thur, May 7th - AP CS Exam
- Monday, May 11th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Snake Project is due Tue, May 19th.

PACC update: Please complete and get signatures as soon as possible of the PACC permission Form. Thanks
FRQ Quiz Returned - Let's go over the solutions & Grading ( SkyView.java & TestSkyView.java )

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

Reminder: If you have not already taken it, the UW in HS Final Exam will be Thursday (7th) or talk to Mr. Bergquist. Thanks.

Friday 3/1
(Prom Tonight!)
Final Review for AP CS exam
Review the FRQ Exam Quiz:
- 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 Due Dates:
- Tuesday, May 5th  last day for full points on Jumper classwork.
- Thur, May 7th - AP CS Exam
- Monday, May 11th - Last day for full points on Critters (Gridworld, part 4: Exercises: 1, 2, & 3 OR KingCrab.)
- Snake Project is due Tue, May 19th.
AP CS Exam Review:
- Multiple Choice Questions?
- FRQ Answers (see note at left)

Our AP CS Exam Review pages - Super PowerPoint
More Resources for the AP & UW in HS Exams (at the bottom) & our Schedule!

APCS & UW in HS Review Day and Ice Cream Social, May 2nd at UW! remember to register.
Thur
4/30
Summative AP CS Multiple Choice exam OR UW in HS Final

Finish the GridWorld FRQ Take Home problem - DUE Friday, May 1st (or Thursday if you are going to be absent on Friday) . Use the Quick Reference for 2013 Exam that includes GridWorld code. Seniors can turn it in at Prom ;-)
AP CS Final (Mock AP) Multiple Choice exam with only Quick Reference for 2013 Exam includes GridWorld code.
OR
UW in HS Final Exam with only our Java Syntax & Object Concepts sheets,

AP CS Exam takers: Don't forget to solve the GridWorld FRQ Take Home problem due Friday, May 1st.
Tuesday 4/28 (50 min periods)Assessment of Creating Programs in Java

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

Complete the AP GridWorld Mock AP Exam Problem: Due Friday (or Thursday for anyone out on Friday) during class.

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)
Take a copy of the AP GridWorld Mock AP Exam Problem: Due Friday during class.
Please sit with one computer between each other when working today to insure your own work on the GridWorld AP Problem.

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

Need help reviewing? I hope to have some previous AP Student available after school, talk to me.

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

** Please make sure you fill out our Final Exam/Shopping Cart Survey today.

Sign Offs:
- SpiralBug, ZBug and DancingBug from the GridWorld, part 2 (should be complete by now)
- Complete with a partner Jumper be ready to swiftly demonstrate all traits, due Monday for Raffle Ticket, full credit Friday May 1st. To assist you:
Java File JumpStart.java
Java File SingleJumpStart.java
- ContinuerPart 4's Exercises: 1, 2, & 3 OR KingCrab
Here's the best reference: Gridworld API

Raffle ticket Bonuses TODAY (1 ticket)::
- Jumper AND all Bugs signed off by Monday, 4/27 (note you must be prepared to demonstrate how to test it).

Java File TwoDimArray.java
Warm Up
+ AP FRQ Advice

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)
+ Friday (5/1) AP GridWorld Take Home problem is due (turn in Thursday if you will be out on Friday [Prom])
Friday 4/24Abstract & Casting in Polymorphism
Sign Offs:
- SpiralBug, ZBug and DancingBug from the GridWorld, part 2 (should be complete by now)
- Complete with a partner Jumper be ready to swiftly demonstrate all traits, due Monday for Raffle Ticket, full credit Friday May 1st. To assist you:
Java File JumpStart.java
Java File SingleJumpStart.java
- Start Part 4's Exercises: 1, 2, & 3 OR KingCrab
Here's the best reference: Gridworld API

Raffle ticket Bonuses (1 ticket)::
- Jumper AND all Bugs signed off by Monday, 4/27 (note you must be prepared to demonstrate how to test it).

+ UW Engineering Discovery Days this Friday & Saturday at UW!
Super & Polymorphism Summary! (includes Object & Abstract Classes!)
Note Object it in the 2014 AP CS Java Quick Reference!

Please make sure you fill out our Final Exam/Shopping Cart Survey today.

In Class Review:
- Multiple Choice Questions?
- Specific areas or topics?

Our AP CS Exam Review pages - Super PowerPoint
More Resources for the AP & UW in HS Exams (at the bottom) & our Schedule!
- AP Cram Sheet (from Ms. Hess of Tahoma HS)

Readings in BJP
- 9.2 The Object Class 573 - 573 (more details follow on its methods)
- 9.6... Abstract Class 610 - 615 (within the Case Study)
Thursday 4/23Polymorphism & their Mystery Problems

Please fill out our Final Exam/Shopping Cart Survey today. (Required)

+ Raffle Ticket Deadline Monday 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 Mon, May 4th.
- More Recursion Mystery Details & Practice
- Start on Snake Project.

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

AP CS Review Day & Ice Cream Social, Saturday, May 2, 2015 1-4pm at UW Paul G. Allen Center for Computer Science & Engineering - register to attend.
Ticket Warm Up!
Dates through the AP & UW in HS Exams plus List of Resources
Polymorphism (& its Mysteries)
PDF File Handout: Polymorphism & its Mysteries

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 Tomorrow Jumper AND all Bugs signed off. (1 ticket)

A great AP Review: UW 142 Class Summary with Videos, Lectures & Labs

Readings in BJP
- 9.3 Polymorphism 578 - 588
- 9.6... Abstract Classes 610 - 615
Monday 4/20 & 22
Mr Bergquist is out, back Wendesday. Study Up!
Self Study: Recursion and Sort & Complexity
+ Reading Assignments and review of Material on Recursion and Sort & Complexity (links at right)

- SpiralBug, ZBug and DancingBug from the GridWorld, part 2 (should be complete by now)
- Work with a partner on Jumper be ready to swiftly demonstrate all traits, due this week. To assist you:
Java File JumpStart.java
Java File SingleJumpStart.java
- Start Part 4's Exercises: 1, 2, & 3 OR KingCrab
Here's the best reference: Gridworld API

Raffle ticket Bonuses (1 ticket each)::
- At least 10 MC Practice problems correct - group grading on Thursday. Extra copies on lab table. Prizes for top scores.
- Jumper AND all Bugs signed off gy Friday (note you must be prepared to demonstrate how to test it).
Welcome Mr. Scanlon! (Mr. Bergquist is out.)
Ask him about his experience in Technology.

Read and try Recursion & Sorting
Summary of Recursion
Readings in BJP
- 12.1 Thinking Recursively  718 - 726 (Must Read)
- 12.2 A Better Example of Recursion 726 - 736 (Optional but interesting)
Java File 

RecursiveExamples.java"

More Recursion Mystery Details & Practice

Sorting Algorithms & O-Complexity 
Readings in BJP
- 13.1 Searching and Sorting 774 - 785 (uses the Comparable Interface!)
- 13.2 Program Complexity 785 - 794 (Optional but interesting)  
- Sorts: like BinarySearch & Sort visualizations (Video:binary search)
- Video: Complexity  ("CheatSheet" PDF)

Readings in BJP Lecture Thursday.
- 9.3 Polymorphism 578 - 588
- 9.6... Abstract Classes 610 - 615
Friday 4/10
Have a Great Spring Break!!
Creatin' Critters in GridWorld
- Sign Off on SpiralBug, ZBug and DancingBug from the GridWorld, part 2 (hopefully signed off today)
- Get working on 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
- Next start Part 4's Exercises: 1, 2, & 3 OR KingCrab
Here's the best reference: Gridworld API

Preview Snake - Due after the AP Exam.
Mr. Bergquist will be out the Monday & Tuesday after break. You will have 2 topics to read about and try; see the bottom of our Class Plan for full details.

Pick up a Sample MC Test, complete it for grading when we are back from Break for Prizes! (You can find sample Free Response Questions on AP CS Exam Practice Page - requires your AP Login.)

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) 
Thur 4/9
(Block)
Quiz on Classes, Binary, Arrays and ArrayLists. Then Extend 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.
Quiz on Classes, Arrays and ArrayLists
+ Pick up a Sample MC Test if you are not going to be in class on Friday. Complete it over break to win Prizes!

Use the: Grid World API - AP CS Quick Reference Sheet & GridWorld, part 3
Complete: Jumper Due soon.

Preview: Snake Project for after break.

AP CS Review Day & Ice Cream Social, Saturday, May 2, 2015 1-4pm at UW Paul G. Allen Center for Computer Science & Engineering
- register to attend.
Tuesday 4/7Extend a Class in GridWorld to create a Jumper.

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.

For those who need some help, Jumper Guidance:
Java File JumpStart.java
Java File SingleJumpStart.java

AP CS Review Day & Ice Cream Social, Saturday, May 2, 2015 1-4pm at UW Paul G. Allen Center for Computer Science & Engineering
- register to attend.
Binary Warm Up!
Corrected Student Class with an ArrayList:
Java File StudentTroubleSolved.java

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)

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 Exam Sheet (new version): GridWorld Official Quick Reference (PDF)
+ AP CS Tips
+ Previous Free Response questions requires your AP Login.
+ For your programs, here's an even Better reference: Gridworld API
Monday 4/6Extend 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.

Feel free to discuss the requirements for Jumper with Classmates
Warm Up - find the Errors converting Student to use an ArrayList:
Java File StudentTrouble.java

Read GridWorld, part 3
Work on Part 3 Exercise: Jumper with a partner
- create clear test plan to demonstrate it is fully working.

Study Review for upcoming Quiz on ArrayLists, classes, Binary & Arrays - Thur April 9. You may also want to reference the Supplemental Videos if you missed lectures.
Friday 4/3Create 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
PDF File PreConditions & For-Each Loops
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.
Thursday
4/2 (Block)
Follow Inheritance and interact with SuperClasses. Set up the GridWorld Case Study, build your first bug!

Make sure to get GridWorld running in your Work Space TODAY.
Get Sign off On: Weight class lab practice. Due today.
Then Work on SpiralBug, ZBug and DancingBug in GW, part 2 of case study. Demonstrate them as a single runner.

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.

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!
Tuesday 3/31Define your Objects Sort Order in Lists using the Comparable interface and compareTo method.

Get Sign off On: Weight class lab practice.
New Starter Code:
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.
GridWorld Introduction

For Thursday, Read the first part of the GridWorld case study, and you can continue with GW, part 2. We will start building SpiralBug, ZBug and DancingBug on Thursday.
And our Text Chapters are below for your reference...
Monday 3/30Define 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. (Make sure you have completed ArrayLists Practice-Its )

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
Inheritance & Super (start)
PDF File Handout: Inheritance & super (Superclass)
GridWorld Introduction

Make sure to register for the Programming Contest. deadline today!

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...)
Thursday 3/26Create a common Interface for Objects.

DUE Today: Project 8: Shopping Cart (PDF Version) - [TURN code files IN HERE] (don't forget your ShoppingTest.java test client)

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

+ Paul Allen Computing Challenge (PACC) - Part I deadline extended to Sunday night March 29th.
+ Registration for the Spring Programming Contest (Sat April 25th at LCM) is open Today at 3pm! Let me know if you form a team.
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.

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

Complete your Project 8: Shopping Cart - includes 4 Objects plus your ShoppingTest.java that fully exercises your test methods. [Turn code files in here] Due Thurs 3/26.

Last day for full credit: ArrayList Practice - have it ready in Practice-It - Thanks.

Done? Try these Interview-style brainteasers
We will do Comparable lecture on Thursday, OK?
Binary Practice Warm Up: (do at your leisure)
- Binary to Decimal
- Decimal to Binary (Binary & Hex Worksheet)

Finish your ArrayList Practice and work on Project 8: Shopping Cart (Due Thursday, 3/26)

NEXT (Thurs):
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.
Monday 3/23Build 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
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.

Reminder:
- Registration for the Spring Programming Contest (Sat April 25th at LCM) is open Today at 3pm! Let me know if you form a team.
- Paul Allen Computing Challenge Part I is due by this Friday. Please et me know how your team is doing.
Friday 3/20 - Short Period.How is data represented in a Computer & the Internet? Binary & Hex number systems.

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

Readings in BJP (Monday & Tuesday)
- 9.5 Interfaces: pp 594 - 602
- 10.2 The Comparable Interface (compareTo): pp 646 - 658
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

Reminder: Registration for the Spring Programming Contest (Sat April 25th at LCM) will open Monday , plan on forming a team. Make sure to register your team next week.
Tues 3/17 & Thur
3/19
Block Day!
Build a collection of Object Classes using ArrayLists to create a functioning project.

Complete the ArrayList Practice (PDF version) - do a couple and get going on the...
Work on Project 8: Shopping Cart - due Thursday 3/26.

Readings in BJP (Monday & Tuesday)
- 9.5 Interfaces: pp 594 - 602
- 10.2 The Comparable Interface (compareTo): pp 646 - 658
Testing Considerations (Warm up): What's the Pattern & the Scientific/Testing Method - What quantities should you use to test your Item object?

Work on: Project 8: Shopping Cart (PDF Version) - due Thursday 3/26 (date moved out)
Monday 3/16Build a collection of Object Classes using ArrayLists to create a functioning project.

Complete the ArrayList Practice (PDF version) do at least a couple and get going on our Next Project...
Work on Project 8: Shopping Cart - due Thursday 3/26. (PDF Version)

Registration for the Spring Programming Contest (Sat April 25th at LCM) will open next Monday (23rd), plan on forming a team. And check in with me about the PACC, we can work on that during HSPE or after school.

Take out some paper & start our Warm Up (Slide 2)
Review & Questions on: Project 8: Shopping Cart - due Thursday 3/27. (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 ArralList problems.

It's HSPE testing week NOTE: The CS Lab will be open during morning HSPE testing Tuesday & Wed (7:50-10:30am) to work & get help on class work & projects (no games please). Mr. Bergquist will be available for help too! Can meet to work on PACC too!
Friday 3/13
Tomorrow is Pi Day!
Create ArrayLists and use their methods to solve problems.

- PLEASE: Review Project 8: Shopping Cart

- Continue work on the ArrayList Practice (PDF version) final day for sign off Fri 3/20.
+ Check the Source for your 5 week grade going out later this week.

ArrayLists - Demo Code, Slide 18+
Java File ArrayListFunStarter.java requires...
text file: Raven2Stanza.txt
PDF File Handout: ArrayLists

Introduction: Project 8: Shopping Cart

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

Next Week: CS Lab will be open 8-10:30am Tues & Wed during the HSPE testing for school work (no games or horsing round). Good chance to catch up on classwork and get started on Shopping Cart!
Thur 3/12Assessment on Arrays & Logic.

After the Quiz:
+ Check the Source for your 5 week grade going out later this week.
- Late Sign offs for both Car AND Student Objects (not part of 5 week grade)
- Work on ArrayList Practice - complete at least the ArrayList Mystery in preparation for...
- Review Project 8: Shopping Cart
Arrays Quiz (Array Mysteries, Boolean logic, Assertions and Array Programs)

Review Project 8: Shopping Cart

Baby Names Project score sheets were sent out last night, please review my feedback & notes. You can use this link in your browser to view them (warning the image compares did not work):
http://grade-it.garfieldcs.com/scoresheets/AP/2014-2015/insert your email address/P06/
and sign in with your full email and password, it should then display.
Tuesday 3/10Create ArrayLists and use their methods to solve problems.

Sign off DUE today 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

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

Reminder: Arrays Quiz (Array Mysteries, Boolean Zen logic and Array Programs) - Thursday!
Monday 3/9Build 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 (unless you were out Thur/Fri - deadline end of week)

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) Thursday!
Friday 3/6Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Sign off on Car and Student Objects: Creating the Car & Student Object Classes Practice - last day for sign off is Monday for full credit, and we will be starting ArrayLists too.

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

Done? Start:
ArrayLists + ArrayList Practice
Continue work today on Car and Student Objects: Creating the Car & Student Object Classes Practice

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

Continue work today on Car and Student Objects: Creating the Car & Student Object Classes Practice - last day for sign off is Monday for full credit, and we will be starting ArrayLists on Monday.

Done? Start:
ArrayLists + ArrayList Practice

Readings in BJP (for Monday)
- 10.1 ArrayLists!: pp 629 - 646
Warm Up: 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 (save back as Point.java)

Quiz Next Thursday on Boolean Logic & Arrays!
Tuesday 3/3Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Continue Creating the Car & Student Object Classes Practice

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.
Monday 3/2Encapsulate fields in an Object, add a ToString method and use "this" keyword. Create Arrays of Objects & add Exceptions.

For Sign off today (late if not ready):
- 2D Array ASCII image processing - run both the Homer & Mystery files.
- The "Epicenter" solution using your Point Object (at the bottom of the Your Own Point Object Class sheet.

Start Creating the Car & Student Object Classes
Adding Exceptions
Start Creating the Car & Student Object Classes

Supplementary Reviews Sheets on Object Classes:
- Class Object Concepts & Vocabulary Sheet
- Object Class Review Slides
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
Thursday
2/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!
Demo Slide 5 of Arrays of Objects & Null (updated)

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

NEW! 2014 AP CS Java Quick Reference
Wednesday
2/25
(Junior SAT)
Store information in 2D Arrays and create methods to display & manipulate them. AND
Create an the Point Object class and use it to solve the Epicenter problem.
By Thursday sign off on these two:
1) Finish up the: 2D Array ASCII image processing
2) Build the the "Epicenter" solution using your Point Object - at the bottom of the Your Own Point Object Class sheet.
(Your Own Point Object Class should be completed - let me know if not and I can help.)

Done?
Try more Array challenges: Simple Tic-Tac-Toe AND Magic Squares
Object Exercises in Practice It.
World Tech Update - Feb 5th

Lab Day. Finish up Classwork...
References:
- Objects:

Object Class
Constructor

PDF File Handout: Object Class & Constructor
Arrays of Objects & Null

- 2D Arrays:
2D Arrays
PDF File Handout: 2D Arrays
Java File ArrayOver.java
Tuesday 2/24Create an the Point Object class and use it to solve the Epicenter problem.

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.
(When done finish up 2D Array ASCII image processing.)

Complete our DNA project Survey today please.
Arrays of Objects & Null

Supplementary Videos: (a bit more complicated than Point)
- defining a class
- constructors

Readings in BJP (for Thursday)
- 8.3 The keyword this: pp 522 - 525
- 8.4 Encapsulation: pp 525 - 538
Monday 2/23Create an Object class with State (fields) & Behavior (methods) and add its Constructor for initialization.

Please focus on creating the Point together today, you can finish up our Arrays exercise later:
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, we will go over on Tuesday)

Complete our DNA project Survey today please.
Lunch Event today in our classroom to meet some industry professionals in technology - bring your lunch and join us!

Review: Object Class & Constructor
Summary: Object Class Review Slides (1-13)

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
Friday 2/20
Short day
Using 2D Arrays and your first Object!
Please fill out the DNA project Survey Today. Thanks

- Complete 2D Array ASCII image processing worksheet. Please finish for Monday.
+ Start Your Own Point Object Class (more on Monday)

Strongly suggested 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
Announcements:
- AP Exam Details - make sure to register.
- Details available for the PACC: Bioinformatics & Sports Analytics Challenge - Register today if interested.

+ 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.
+ Done? Start creating Your Own Point Object Class - we will start this together on Monday.
Wednesday & Thursday
2/18 & 19
Object
Create an Object class with State (fields) & Behavior (methods) and add its Constructor for initialization.

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

Still missing some DNA project - Turn In Project Here. - Due Last week.

Once done, we will start creating Your Own Point Object Class together in lab.
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.
Thursday 2/12 &
Friday the 13th
Have a Great Break!
see you
Wednesday the 18th!)
Store information in 2D Arrays and create methods to display & manipulate them.

Make sure you have done 2 of these, due Friday:
Assertion 1
Assertion 2
Assertion 3

Then Start 2D Array ASCII image processing worksheet.
Work on the DNA project (Turn In Project Here.) Due Thursday, 12th Feb.

(A few DNA Structured Diagrams should be complete & ready for sign off)
PACC: Bioinformatics & Sports Analytics Challenge - Register to get the full details.

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

DNA project Was due Thursday, Feb 12th.

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

Technology Vision Town Hall Meetings! SPS wants your feedback on the technology we need!
Tuesday 2/10Use 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 12 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.
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.

+ Worksheet update: Random Ranges
+ Grade delay details.
Monday 2/9Use Assertions to better understand how your code will execute.
Complete & get Sign Off:
- Structured Diagram for the DNA project (due today)
- Do 2 Assertion with a partner (at right)
Work on the DNA project (Turn In Project Here.) Due Thur 12 Feb

Readings in BJP
- 7.5 Multi-Dimensional Arrays: pp 473 - 479 - later this week.
Questions on DNA project? Make sure to have proper Class Constants, Structured Diagram is due today, project due Thursday.

Booleans & DeMorgan's Law (finish)
Assertions
Partner Exercise: Do 2 and show to me:
Assertion 1
Assertion 2
Assertion 3
Do this with a partner after you have the Structured Diagram for the DNA project signed off, then get back to the DNA project. Thanks.

Complete your DNA project -
Then start: 2D Array ASCII image processing
Friday 2/6Boolean Zen, Short Circuits, & DeMorgans Law.
Sign Off on Structured Diagram for the DNA project - Due by Monday 9th Feb - you should be done by now.
Work on the DNA project - Due Thur 12 Feb

Monday we will look at how to save a double with only one decimal place correctly.

Done? Take a look at: Coding Bat
Booleans & DeMorgan's Law
Assertions
Partner Exercise: Do 2 and show to me:
Assertion 1
Assertion 2
Assertion 3
Do this with a partner after you have the Structured Diagram for the DNA project signed off, then get back to the DNA project. Thanks.

Solution for Project 6: Baby Names. Let's Diagram it.

Questions on the DNA project?
Thursday 2/5
Block
Structure Diagraming & Java API for file output.

Make sure your 1st Semester grades look good in the Source if you have missing sign offs, it's your job to get them to me - partial credit is available.

- Finish Structured Diagram for the DNA project (Due Monday)
- Work on the DNA project Due Thursday Feb 12th (before Break).

NOTE: Friday Lecture: Booleans & DeMorgan's Law & Assertions (Reading list below)
Why do Structured Diagrams?

1st Semester clean up:
- Final / Mock AP Exam Results: please self-check Exams & Grade Mappings
- 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.

Worksheet Procedure, like for Random Ranges
Java File RandomRangeTester.java to test ranges

+ REAL TALK in celebration of Black History Month lunch presentations in the Career Center throughout the month, check the schedule.
Tuesday 2/3
Approach structuring your methods for a project by creating a Structure Diagram.
First Create your Structured Diagram for the DNA project, Due by Monday 9th Feb.
Work on the DNA project Due Thursday Feb 12th (before Break).

Future Readings in BJP
- 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)
Warm Up: Random Ranges

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)
+ Group Table Exercise, create a Structured Diagram for Project 6: Baby Names

+ 2015 Engineering in Sports Essay Contest: First Place $500, deadline March 1, 2015 at 6:00 pm EST (3pm PST).
Monday 2/2
Use the Java API to find coding methods & syntax (for file output).

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

Final class time for Sign off on:
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet
+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!
If you still need sign off, see me after school (last day Wed 2.2) before OR Wednesday morning - , lab will be open 7:50 - 10:30am during EOC testing
What's next? The Future with Holograms Video - what do you think?

Please review the DNA project TODAY (Due Thursday, Feb 12th)
Optional: Applying CS to help Scientists Seeing DNA.

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.

**ANNOUNCEMENTS**
- Update on the Final and Grading of Baby Names
- WA Senior ACPE $2500 scholarship for a CS Project. Requires a webpage showing your project, online application due before 5pm, February 15, 2015.
- Summer 2015 Opportunities from Microsoft & Google for high school students. - check the due dates.
Thursday
1/29 Block

Happy End of 1st Semester!
Final Assessment of Semester material, through Arrays

Ready for 2nd Semester?
Work on the DNA project Due Thursday Feb 13th (before Break).
Check out creating your Structured Diagram for the DNA project
+ Printing to a file instructions, more details next week.
First Semester Final (30 Points): 15 Multiple Choice (MC) & 3 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.
- Java Syntax Reference, Version 4

I will be around after school for last minuter sign off's and help.
Tuesday 1/27Fixing FencePosts & Using Boolean's effectively in a program

Try these Boolean Multiple Choice Problems - good review of logic and doing MC problems. Gives correct answers and reason if you fail. 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!
Warm up: FencePosting.java
Scanners & Data Traversals to Compare and Contrast (& review for the Midterm):
Java File HowToTraverse.java
data required: TheRaven.txt

Thursday, 29th January:  Mock AP Mid-Term/Semester Final

Extra Ideas:
PDF File PreConditions & For-Each Loops - may help with Arrays in the future
Booleans & DeMorgan's Law (we will cover this next month)
Monday 1/26Time 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?
Review for the Final - material at the right...
Or start the all the DNA project, will be due second week of February.
Lab Day for final sign offs!
Thursday, 29th January:  Mock AP Mid-Term/Semester Final
15 Multiple Choice (MC) & 3 Free Response Questions (1H 50Min) with only the Java Syntax Reference, Version 4

Mid-Term Review Material:
NOTE: There are 3 Multiple Choice Problems using Arrays, no programs to write.
- 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)

Let me know if you have any questions on specific areas, we can review using the Review Labs & Practice-It's
Friday
1/23
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!
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/22
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 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

Due Today: Corrections on Quiz for ReGrade - 50% points gained with max of 18/22.

- Microsoft Interships, summer 2015 - due 28th Feb.
- 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 March 2nd (5pm).
Tuesday 1/20
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 Due by Friday, 23rd January.
Arrays for Tallying
HistogramStart.java (Data: midterm.txt)


Microsoft Interships, summer 2015 - due 28th Feb.
Anyone going to the PLU Programming Contest - Sat, Feb 7th; please tell Mr. Bergquist.
Thursday 1/15
Block
Understand the AP Exam & our Semester Final format. Exercises: Manipulating the values of Arrays to solve problems

Finish up & Sign off on Array Practice Sheet (first)
Work on: Arrays as Parameters Worksheet - Please use this starter Code for these two Deck of Card methods (4 & 5) : PlayCards.java

+ Alternate Arrays Lab from UW CSE 142 page with list of scored problems!
These are Due by Friday, 23rd Jan along with all other classwork.

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)
Explanation of the AP CS Test vs. our Semester Final
The AP Exam: 40 Multiple Choice (MC) & 4 Free Response Questions (3 Hours)
- Details & Course Description 2014 (Exam details page 18) Don't try these samples yet..
- AP CS Course Overview Page with careers
- Sample Grading Guidelines (2009) - varies each year
- Quick Reference from last year, no GridWorld this year.
First Semester Final: 15 Multiple Choice (MC) & 3 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.
- Java Syntax Reference, Version 4

Quiz Corrections for ReGrade are due by Thursday, 22nd Jan - 50% points gained with max of 18/22.

Late on your Projects? Review our AP CS Syllabus, with guidelines for late projects. GET THEM IN!
Tuesday & Wednesday
1/12 & 13 shorter periods
Manipulating the values of Arrays to solve problems accessing them "by Reference"

- Finish upArray Practice Sheet (first)
- Work on: Arrays as Parameters Worksheet
+ Alternative: CSE 142 Arrays Lab

Still need this signed off? Here's Reading Data From A File Practice Problems

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)
Warm Up / Clarify for Worksheets: Java FileOopsArrays.java
Complete: Arrays by Reference presentation
Start on: Arrays as Parameters Worksheet

Please take our Women in Technology Attitudes Survey   (Details)-  Thanks
Monday
1/11
Manipulating the values of Arrays to solve problems accessing them "by Reference"

Finish up & Sign off on Array Practice Sheet (first)
Start work on: Arrays as Parameters Worksheet
Alternative: CSE 142 Arrays Lab
Please make sure to fill out our Baby Names Project & Class Survey today.

Show me what problems you have done for the Reading Data From A File Practice Problems (I marked them missing, let me know how they need to be updated)

Arrays as Parameters
Java File ArrayParamStarter.java

Supplemental Video:
- Array Mystery
- Array Traversal

Outside of class Events (not with SPS):
+ TECH Out! Saturday, February 7, 2015 Registration Opens today at 3pm - for girls interested in computer science & technology, sponsored by Amazon.com & PSCSTA at UW. Spread the word.
+ Registration is Open! for the PLU Programming Contest - Sat, Feb 7th at Pacific Lutheran University
Friday 1/9Creating and passing Arrays

Work on Array Practice Sheet (first) - review Arrays as Parameters before starting.
Alternative: CSE 142 Arrays Lab - let's discuss.
+ Last day for full credit on Reading Data From A File Practice Problems

Please complete the Baby Names Project & Class Survey - Thanks (Deja vu)
Arrays, Part I (again)
PDF File Handout: Arrays
Java File Sample ArrayExamples.java

Work on: Array Practice Sheet (first)
Alternative: CSE 142 Arrays Lab - let's discuss.
Thursday 1/8
(Block)
Basics of creating and using Arrays

DUE TODAY - Project 6: Baby Names - Turn In Here
- Sign off on Reading Data From A File Practice Problems last day for full points is Friday.
- Start Array Practice Sheet (first few, rest later)
- Please complete our Baby Names Project & Class Survey today - Thanks

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
CSE 142 Arrays Lab
Arrays, Part I
PDF File Handout: Arrays

Work on: Array Practice Sheet (first)

Please complete our Baby Names Project & Class Survey today - Thanks

+ TECH Out! Saturday, February 7, 2015 - for girls interested in computer science & technology, sponsored by Amazon.com & PSCSTA at UW. Spread the word.
+ UW Math Academy for Juniors "The College of Engineering Mathematics Academy helps students develop the math and problem-solving skills necessary to succeed in engineering and exposes students to a variety of examples of engineering in practice." Application Form: 2015 Math Application (10 page PDF)
+ Think about the PLU Programming Contest - Sat, Feb 7th at Pacific Lutheran University. (Practice Problems)
Tuesday 1/7Scanning files and single Lines of file input to solve Project 6: Baby Names

Complete Project 6: Baby Names - Turn In Here
Sign off on Reading Data From A File Practice Problems last day for full points is Friday.

Before you turn in Baby Names go over the Checklist for the Baby Names Project!

Done: Try some of the PLU Programming Contest 2014 Practice Problems
Checklist for the Baby Names Project - please review it carefully.

Monday's Java code to find a line starting with a name:
- Period 4: DemoFileReadStarter4.java (case sensitive, not complete)
- Period 6: DemoFileReadStarter6.java (uses a return to exit loop)
- Last Year: DemoFileRead.java (uses substring)

Thursday: Quiz for students who missed it before break.

Announcing the PLU Programming Contest - Sat, Feb 7th at Pacific Lutheran University. (Practice Problems)
Monday 1/5
Welcome Back
Scanning files and single Lines of file input to solve Project 6: Baby Names

- Sign off on Reading Data From A File Practice Problems
- Work on Project 6: Baby Names due Thusday 1/8. (Full Details see: 12/16 entry below)

NOTE:Thur: Quiz for students who missed it last year after presentation Arrays presentation.

Arrays (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
BONUS: Checklist for the Baby Names Project - please review it carefully.

Shall we solve finding the line based on the input name?
Java File DemoFileReadStarter.java
Friday 12/19 (35 min)
Have a Great Winter Break & Happy Holidays!
Scanning files and single Lines of file input to solve Project 6: Baby Names

- Finish up Reading Data From A File Practice Problems
- Project 6: Baby Names due Thursday 1/8/2013. - if you are behind, please catch up over break please.
Any Questions on: Project 6: Baby Names??

Garfield 3rd place in Fall Programming Contest

Introducing the Paul Allen Computing Challenge (PACC), check it out. More on it when we get back.
Thur 12/18
(Block)
Assess knowledge of String Methods, while loops & logic.
After Quiz:
- Last chance full credit sign off for: Strings & Fence Post / While problems.

- Finish up Reading Data From A File Practice Problems
- Work On Project 6: Baby Names Due Thursday 1/8 (updated)
Quiz on material through Strings
use: Updated Java Syntax Sheet!

Here's our Mayor Murray visits Garfield HS for the Hour of Code post!
Tue 12/16Scanning files and single Lines of file input to solve Project 6: Baby Names

- Finish up Reading Data From A File Practice Problems
- Work On Project 6: Baby Names Due Tuesday 1/6
Text File names.txt
Text File names2.txt
Text File meanings.txt
Java File DrawingPanel.java
Most Popular Girl's name by State
Fix the Code Java File DoubleCounterBroke.java (pr51.dat)

On Quiz (Thur): Strings, Returns and Input Scanner (about 20 points):
- Expressions: Strings & Logic (And & Or)
- If/else simulations (mystery)
- Several Methods that Return values - a couple return strings!
- One User Input Scanner Method to write
Practice Problem Review for our quiz:
- String Expressions
- if/else simulation
- Method returns Strings
Mon 12/15Code Reviews & how your peers solved the Project 5: Creative Name Generator

Peer Grading for:
Project 5: Creative Name Generator
. Instructions at right.

After you are done, continue working on:
- Review for our Quiz Thursday, details below
- Reading Data From A File Practice Problems sign off's
- Baby Names due Tuesday, Jan 6th

On Thursday's (12/18) Quiz: Strings, Returns and Input Scanner (about 20 points):
- Expressions: Strings & Logic (And & Or)
- If/else simulations (mystery)
- Several Methods that Return values - a couple return strings!
- One User Input Scanner Method to write
Practice Problem Review for our quiz:
- String Expressions
- if/else simulation
- Method returns Strings
Peer Grading for:
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.)

- Thanks to all the teams that represented Garfield HS at the Programming Contest was a great event. You all did well. Results are not posted yet...
- Garfield Dawgbotics ranks 1st in League Robotics Competition!
Friday 12/12Scanning files and single Lines of file input to solve Contest Problems

Last day for check off's for:
- Strings Lab Practice (Pig Latin, Cypher, & Prac-It's)
- Fence Post & While Loop Practice
Continue Work on Reading Data From A File Practice Problems

Then:
- Start your review for quiz (12/19).
- Start Project 6: Baby Names Due Tuesday, Jan 6th make sure to get a good start before break, you will only have a couple days after it.
Questions? Project 6: Baby Names Please read it carefully. Due after break.

Get ready for the Programming Contest at UW Saturday.
- Make sure you work out details on computers and adding the API.
- This template to great to start with:
Java File Starter.java
Let me know if you want to go over it with an example.
Thursday 12/10
(Block)
Prepare for the Programming Contest and solve some File Input Problems

6th Period: Contest Practice!! in groups of 3
OR work in groups to solve the Reading Data From A File Practice Problems

NOTE: Review for quiz (12/18) on your own.

Arrays Preview for Programming Contest (after break)
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
Let's go over this:
Java File Starter.java - template to help solve these problems & use in the contest

Preview:
PDF File Project 6: Baby Names Due Tuesday, Jan 6th (get it done before break!)
Text File names.txt
Text File names2.txt
Text File meanings.txt
Java File DrawingPanel.java
Most Popular Girl's name by State
Tuesday 12/9Scanning a single Line of input to simplify reading from a File

Work on Reading Data From A File Practice Problems You should have done the Starter problem (2.1) already.
Friday, last day for sign off for Fence Post & While Loop Practice problems.

Our Schedule through break:
- Tue 12/9: 4th period: Tableau Developer presentation
- Fri 12/12: end of 15 week grades
- Sat 12/13: Programming Contest at UW
- Thur 12/18: Quiz through scanners & strings (Quiz Practice)
- Tue 1/6: Project 6: Baby Names project due, best to get it done before break.
4th Period Tableau presentation, we will do the following on Thursday...
Warm Up: BJP3 6.6: Scanner Tokens 2
Java FileNextLineIssue.java (next() & nextLine() issue)

Line-based file input
PDF File Handout: File Input with Scanners (new & improved!)

Supplemental Video:
Token-Based Processing line based data
Monday 12/8Reading input from a File using Scanners

Make sure your Project 5: Creative Name Generator is turn it in here. (Peer grading delayed but due today).
+ Please fill out this online Exit Ticket on While loops, Fence-posts and previous topics at end of period.

Try the Starter problem (2.1) TODAY of the Reading Data From A File Practice Problems

- Last day for sign off for full credit on Strings Lab Practice - Pig Latin & Caesar Cipher. Later in the week sign off for Fence Post & While Loop Practice problems.

For Programming Competition:
- Download jdk-7u71-docs-all.zip on Java 7 Documentation download page (61Mb Zip file)
- Copy this on your PC and extract the zip there - it expands to 264Mb. The Java 7 API is found at docs/api/index.html, just open it in a browser - it will not require internet connection.

Readings in BJP
- 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 (for Tuesday/Thursday)
PDF File File input with Scanner
PDF File Handout: File Input with Scanners (updated!)
We are going to Peer Grading of Project 5: Creative Name Generator later, please make sure to turn it in here. (it is still due today). I'll explain.
Please make sure you have filled out our online Exit Ticket on While loops, Fence-posts and previous topics by end of period.

Today's Lesson:
Warm Up: BJP3 6.5: Scanner Tokens
File input with Scanner (finish)
Java File TemperaturesAvoidError.java data: weather.txt and weather2.txt
Please try the Starter (2.1) problem TODAY of the Reading Data From A File Practice Problems

Upcoming:
- Tuesday 4th Period and during lunch (and 4th period) we will host two Tableau engineers to talk about working in the industry Join us for lunch & conversation.
- Quiz on Thursday Dec 18th, this Quiz Practice is highly encouraged.
Friday 12/5Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator.

DUE TODAY: Your Project 5: Creative Name Generator
- Turn it in here. Must be in for Monday's Peer grading, see me if you are not going to be complete.

Make sure to get signed off on:
- Strings Lab Practice
- Fence Post & While Loop Practice problems.

Start work on: Reading Data From A File Practice Problems

+ Please fill out this online Exit Ticket on While loops, Fence-posts and previous topics at end of period.
Finish up your Project Day!
After finishing up your Project 5: Creative Name Generator complete:
- Strings Lab Practice (final sign off Monday for full credit)
- Fence Post & While Loop Practice (should be finished up by next Thursday)

- Tuesday during lunch (and 4th period) we will host two Tableau engineers to talk about working in the industry Join us for lunch & conversation.
+ UW Computer Science Open House 1pm - 5pm on this Saturday, December 6th.
Thursday 12/4
(Block)
Reading input from a File using Scanners
Lab work: Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator, (DUE Friday).

- Get signed off on: Strings Lab Practice
- Complete your Project 5: Creative Name Generator - Turn it in here. Make sure to follow our Project Correctness Checklist.
- Fence Post & While Loop Practice problems.

Done: Start our Reading Data From A File Practice - new!
PDF File File input with Scanner (start)
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)
Tuesday 12/2Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator.

Work on Project 5: Creative Name Generator, Turn it in here. Due Friday, Dec 5th - we will peer grade on Monday so make sure it is turned in.

Also get signed off on: Strings Lab Practice & Fence Post & While Loop Practice problems.
Lab Day to work on Project 5: Creative Name Generator (due Friday 5th Dec)

TAKE NOTE:
- The AP CS Class Plan has been updated through first week January.
- Lecture on Thursday: File input with Scanner please be attentive.
- UW Computer Science Open House 1pm - 5pm on Saturday, December 6th.
Monday 12/1Formatting printed numbers - printf. Using Fencepost solutions, while loops, and pseudo-random numbers to create a Project 5: Creative Name Generator.
- Get signed off on: Strings Lab Practice - Pig Latin & Caesar Cipher, plus Practice It's
- You should start the 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 5th Dec for grading during class). Turn it in here.

Readings in BJP for Later this 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
Questions on Project 5: Creative Name Generator? Due Friday 5th Dec.

#1 Help for the Programming Contest:
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

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

Please turn in your Programming Contest Permission Slips to Mr. Bergquist today (noon Tuesday at the latest)! Also don't forget payment is due.
Wednesday 11/26
Happy Thanksgiving!
Fencepost conditions & solutions, using while loops, and creating pseudo-random numbers.

+ Please fill out this online Exit Ticket on Strings and previous topics at end of period.
- Finish up: Strings Lab Practice - sign off.
- Do the Fence Post & While Loop Practice
- Start Project 5: Creative Name Generator (due Next Week 

Prepare for Next Week & the Programming Competition:
Readings in BJP for Later this 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
PDF File File input with Scanner
PDF File Line-based file input
Questions on Project 5: Creative Name Generator?

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

Supplementary Video:
Sentinal Loops
Tuesday 11/26Using String methods & the char type to solve text problems
. Lab Day...
- Finish up: Strings Lab Practice
- Start Fence Post & While Loop Practice
+ 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 - with Peer Grading) Let me know if you are unclear on any of the instructions here.
Introducing Project 5: Creative Name Generator (due Next Week - with Peer Grading) Let me know if you are unclear on any of the instructions here.

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

Curious? Try these For loops to While loops:
Self-Check 5.2: forToWhile
Monday 11/25Using String methods & the char type to solve text problems. Using Fencepost solutions & while loops.
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 Next Week - with Peer Grading) Let me know if you are unclear on any of the instructions here.
Fenceposts, While loops & Math.random() (finish Random)
PDF File Handout: Fenceposts, While loops, & Random()
Java File WhileStarter01.java" (for lecture)

Answers from Friday: fenceWhileSolution.java

Start: Fence Post & While Loop Practice

Supplementary Material - Code Sample Counting Words: WordCounting.java
Friday 11/21Using String methods & the char type to solve text problems
Finish up: Strings Lab Practice

Complete Sign offs for: Returns & if/else Conditionals Lab Worksheet

Readings in BJP
- 5.1 While Loops: pp 301 - 313 (include Random Method, p 306)
- 5.2 Fencepost Algorithms & Sentinel Loops: pp 313 - 319

Done: Preview Project 5: Creative Name Generator (due Tuesday Dec 2nd - Peer Grading - Thursday Dec 4th)
Java File WarmUpStrings2.java
Table Groups: Write a Method that prints out the factors of a number.

Already know While Loops? Answer...
Java File fenceWhiles.java
Fenceposts, While loops & Math.random() (start)
PDF File Handout: Fenceposts, While loops, & Random()
Java File WhileStarter01.java (for lecture)

Solution to Yesterday's Strings Warm up:
Java File WarmUpStrings06.java
Thursday 11/20
Block
Using String methods & the char type to solve text problems
Work on: Strings Lab Practice

Please get sign off on:
- Returns & if/else Conditionals Lab Worksheet

Please Click here to help clean our Screens
wu: WarmUpStrings01.java
Loops Review
Java File LoopDemos.java - solution examples
Java File LoopDeconstruction.java - visual demo

Work on: Strings Lab Practice
+ See Mr. Bergquist if you need any clarity on our new String Methods and using the char type.

Supplementary Video:
Strings
Tuesday 11/18Using 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 would this code do?
Java File BabyNamer.java
Strings! Presentation (finish char, 5 slides)

Loops Review
Demo Loop Problems to solve
Java File LoopDemosStarter.java
Java File LoopDeconstruction.java
Monday 11/17Using 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 it in 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()
Warm Up: Method Declarations
Strings! Presentation
PDF File Handout: Strings
Java FileGangstaNameStart.java .
Start Strings Lab Practice

What are you interested in for Computer Science Week (Dec 7-13)? What kind of speaker would you like?? Any professionals you know of?
!!Last Day for sign up for the Programing Competition Sat, Dec 13th. Register today!!
Friday 11/14Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday
Due Today: Project 4: Birthday
Turn in Project 4 here

If your project is going to be late, please talk to Mr. Bergquist.

Please make sure you have filled out our Exit Ticket on Parameters & Graphics Thanks.
And Follow same activities from Thursday below...

+ Quarter Grades are in the Source - going out tonight.
LAB DAY! (back to Strings on Monday)
Project 4: Birthday Due today, you have all period to work on it,
Turn it in here

Work sheets...
- Returns & if/else Conditionals Lab Worksheet
- Math & Scanners Lab Worksheet (should be signed off today)
Thurs
11/13
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) Math & Scanners Lab Worksheet final round of sign offs (last Q1 item)
3) Start signing off on Returns & if/else Conditionals Lab Worksheet
4) Due Friday: 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
5) Done? Start Strings Lab Practice

Strings Readings in BJP
- 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)
End of Q1 Fun:
- Cafe Wall Project score sheets were sent out late Tuesday night, please review my feedback & notes. You can use this link in your browser to view it better with images:
http://grade-it.garfieldcs.com/scoresheets/AP/2014-2015/insert your email address/P03/
and sign in with your full email and password, it should then display.
- Quiz 2 Graded! - Loop activity next week to help with redo's.
- Any individuals need a team for the Programming Contest, Saturday Dec 13th! - get registered - we can add people later. It's a blast!!

Strings! Presentation (start)
PDF File Handout: Strings (printed version available)
Java FileGangstaNameStart.java . (likely for Monday).
Monday
11/10
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 Friday Nov 15th.
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


Programming Contest at UW, Saturday Dec 13th, registration opens today at 3pm Form a team of 3 with Classmates. Cost: $30, scholarships available.
Friday 11/7
End of 1st Quarter
Using 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 Friday Nov 14th.

Readings in BJP next Thursday
- 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 Friday Nov 14th.
PDF Version of Project 4: Birthday details below to print out (links don't work)

Novice or Advanced?? Programming Contest at UW, Saturday Dec 13th, registration opens on Monday, 11/10 at 3pm 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/6
(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 Friday Nov 15th.

Warm Up: Solve Logical Expressions on the...
PDF File Handout: for Advanced If & Cumulative Sum
Then let's try creating a method that calculates #days in a month...
Java File DaysInMonthDemo.java
Advanced If Returns & Cumulative Sum (continue)
Starter code Java File DemoCumulSumAvg.java

Q&A: Project 4: Birthday Due Friday Nov 14th. .

MORE DETAILS: Programming Contest at UW, Saturday Dec 13th, registration opens on Monday, 11/10 - be ready!! Form a team of 3 with Classmates. Cost: $30, scholarships available.
Tuesday 11/4
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 Friday Nov 14th.

Check missing grades, Quarter ends this week.
Warm Up, Slide 5 from:
Advanced If Returns & Cumulative Sum.
Java File QuadrantGridStart.java
PDF File Handout: for Advanced If & Cumulative Sum (Copy available Thursday)

ANNOUNCING: Programming Contest at UW, Saturday Dec 13th, registration opens on Monday, 11/10 - be ready!! Form a team of 3 with Classmates. More details on Thursday!
Monday 11/3Use conditionals to return results
End of the Quarter is Friday. Check the Source & make sure all your Lab worksheets are complete through all the Grapics 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 10/30
Happy Halloween
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...

Trick or Treat: Your Doodles from Cafe Wall!!

Deadlines for:
- UW in the HS - TOMORROW Friday, 31st October.
- NCWIT: Aspirations in Computing - Sun Nov 2nd.

Wednesday 10/29
Assess skills using Math methods, Parameters & Graphics
Complete:Math & Scanners Lab Worksheet sign off on Thursday.

Done? Read through on Returns & Conditionals material and start in on: Returns & if/else Conditionals Lab Worksheet
Make sure you have done these Readings in BJP for Monday.
- 3.2 Methods that Return Values (adding to Methods): pp 151 - 155
- 4.1 if/else Statements: pp 227 - 241 Thanks!
Parameter & Graphics Review: warm up (just the graphics one)
Java File ReviewParameters.java (Solution)

Open note & open book Quiz on Thursday: Loops, Parameters, Graphics, & Math methods (with Expressions). Should I include find the errors problem?

Reminder:
- UW in the HS registration deadline is THIS Friday, 31st October.
See me if you need a form.
- deadline is Sunday Nov 2nd for NCWIT Aspirations in Computing
Tuesday 10/28Using 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.
- 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)

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 10/27Using Math Methods to make calculations and Scanners for gathering input.
Complete & Sign off on:
- Math & Scanners Lab Worksheet
Complete the Quiz Practice Homework Assignment for grading tomorrow.

Shirt ideas?? Last Year's Garfield CS T-Shirt Design
Java File GarfieldCSRocks.java
Returns: Math & Scanners (finish)
Sample Code:
Java File MathScannerTrial.java
Java File Scan10Tokens.java

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

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

Work on: Math & Scanners Lab Worksheet

REMINDER:
- UW in the HS registration deadline is next Friday, 31st October.
See me if you need a form.
- Deadline is coming up for NCWIT: Aspirations in Computing - Sunday 2nd Nov
(warm up)
Returns: Math & Scanners (finish)
Sample Code:
Java File MathScannerTrial.java
Java File Scan10Tokens.java

Next Quiz Oct 30th on: Parameters, Graphics, Loops, & Math Returns (no Scanners). Open Book & Notes.
Quiz Practice Homework Assignment - complete to be scored in class on Tuesday, 28th October.
Thursday 10/23
Block
Using Math Methods to make calculations and Scanners for gathering input.

Project 3: Café Wall Due TODAY Turn It In Here

Work on: Math & Scanners Lab Worksheet
Returns: Math & Scanners
PDF File Handout: for Math Returns & Scanners
Tuesday 10/21Creating scalable graphics using for loops & parameters.
Classwork below should be signed off
Work on Project 3: Café Wall Due Thur, 10/23. Turn It In Here

***Turn in First Quiz ReGrades ASAP, if not being regraded, turn in the original Quiz.***

Readings in BJP for Thursday
- 3.2 Methods that Return Values (Math): pp 147 - 154
- 3.3 Interactive Programs and Scanner Objects: pp 162 - 167
Returns: Math & Scanners
PDF File Handout: for Math Returns & Scanners
Math & Scanners Lab Worksheet
Lab Day today - work on Project 3: Café Wall

Please make sure you have filled out our Exit Ticket on Parameters & Graphics Thanks.

Project 2 Results were sent out last night, please review my feedback & notes. If you did not get the email (check your junk mail folder), try this link in your browser:
http://grade-it.garfieldcs.com/scoresheets/AP/2014-2015/insert your email address/P02/
and sign in with your full email and password, it should then display.
If you receive a Project Late form, please complete it right away. Thanks.
Monday 10/20Creating 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:
- 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 Thur, 10/23, Turn It In Here

Programming Contest T-Shirt Design Contest too!! See full details linked here
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.

Our Class solution for Scaling & repeating the Car Graphic:
Java File ScaleTheCar6.java

Exit Ticket on Parameters & Graphics - Please complete today.

Done? Get your name on our Garfield CS T-Shirt! Work, perhaps with a friend create a T-Shirt Design for this year!
Last year's T-Shirt Design & Code to build off of:
Our Garfield CS T-Shirt Design
Java File GarfieldCSRocks.java
BE CREATIVE!! Show me what you have in mind.
Friday 10/17Creating scalable graphics using for loops.
Continued lab work & sign off on worksheets & problems listed below (see Thursday).
Start work on Project 3: Café Wall Due Thurs 23rd Oct.
If done early, try additional Chapter 3 and 3G problems in Practice It! See if you can get a high score.

Readings in BJP for later next week
- 3.2 Methods that Return Values (Math): pp 147 - 154
- 3.3 Interactive Programs and Scanner Objects: pp 162 - 167
Returns: Math & Scanners
Questions on Project 3: Café Wall?? Due Thurs 23rd Oct

Lab Work Day!!

Students' Solutions to Scaling & Row of Cars Methods from Class yesterday:
Java File ScaleTheCar6.java

Last year's T-Shirt Design & Code:
Our Garfield CS T-Shirt Design
Java File GarfieldCSRocks.java
What for this year?
Thursday 10/16
(Short Block)
Creating 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 Thur 23rd Oct.
Scale the Car from slide 6 of Graphics Part 2, with starter code: ScaleTheCar.java. Random Pick?

Check out: Project 3: Café Wall Due Thurs 23rd Oct

Supplemental Video: Parameterized Graphics Video
Tuesday 10/14Creating graphics using for loops.

Do these three Practice It! from UW Problems (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).
Warm Up: Slide 2 of Graphics Part 2
Java File DemoParameterizedGraphics.java
Got it? Good, one of you will selected to show how to scale Car and print a row on Thursday
Java File ScaleTheCar.java (starter code)

Class Example: Parameterizing Graphics
Graphics Part 2
PDF File Handout: for Loops creating Graphics

Solutions to Monday's Warm Up:
Java File GraphicsLoopWarmUp.java
Monday 10/13Using Objects: Use Methods of the Graphics Object to create cool images within the DrawingPanel.
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)

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 Tuesday & Thursday
- 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
Thur 10/9
Block
Creating graphics with DrawingPanel.
- Check your grade in Source make sure all are signed off and your SpaceNeedle Program is marked as "Collected".
- Complete Parameter Practice Lab Worksheet 1-3 first priority (for sign off), then try the rest. Should finish up today.
- Please make sure you have taken our First Two Projects Check in survey
- NEW Assigment: Starting Graphics Drawings - Worth 5 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!
Graphics (PDF)
PDF File Handout: for Graphics
Java File DrawingPanel.java Must be copied to your Java code folder/directory, DO IT TODAY!

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

NCWIT Aspirations in Technology competition - all women in CS should consider applying.
CODEDAY Seattle is coming Nov 8 - 9th, noon to noon. Register Early & Save.

Java File GraphicsPrimer.java
Supplement: Basic Graphics Video

Extra Verses from the Song Rap to enjoy.
Tuesday 10/7Using Parameters & obeying Scope.
1) At your table, get checked off on 1) & 2) of the Parameter Mystery Worksheet on the Handout
2) Please make sure you have taken our First Two Projects Check in survey
3) Continue work on on Parameter Practice Lab Worksheet 1-3 first priority (for sign off), then try the rest.

Check your grade in Source make sure all are signed off and check your grade. Missing scores are now zero's.
Review of Scope
Java File ScopeParameters.java

In groups, at your Table solve 1) & 2) of the Parameter Mystery Worksheet on back of Note Handout: Parameters.
Work on Parameter Practice Lab Worksheet
Monday
10/6
Parameters & Scope.
Start: Parameter Practice Lab Worksheet Complete 1 - 3. First one is parameterizing RedundantStars.java

After you have seen your Project 1 Scoring please fill out our: First Two Projects Check in survey. Thanks!

Readings in BJP for Thursday
- 3G.1 Introduction to Graphics: pp 189 - 205
- 3G.2 Procedural Decomposition with Graphics: pp 205 - 209
Graphics
Handout: for Graphics
Project 1 Results were sent out Sunday night, please review my feedback & notes. If you did not get the email (check your junk mail folder), try this link in your browser:
http://grade-it.garfieldcs.com/scoresheets/AP/2014-2015/insert your email address/P01/
and sign in with your full email and password, it should then display.

Warm up Java File ParameterBasics.java
Parameters (Strings, Parameter Mysteries & Passing by Value)
Java File RedundantStars.java

Supplemental Video:
Parameter Mystery
Friday
10/3
End first
5 weeks
Basics of Parameters.

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

Start: Parameter Practice Lab Worksheet Prioritize 1-3. First one is parameterizing RedundantStars.java

Readings in BJP from today: Parameters
- 3.1 Parameters: pp 133 - 147 for Friday
Parameters Presentation
PDF File (for Monday) Note Handout: Parameters with Parameter Mystery Worksheet (back).

REMINDER:
- Turn in Class Contact & Contract Signature sheet.
- UW in the HS registration deadline is next Friday, 31st October.
Thur 10/2 (Block)Assess your knowledge of Expression, Variables, Methods & for Loops.
Project 2 due TODAY 2nd Oct! - Project 2: Space Needle
Turn It In Here

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.

Then finish up Project 2: Space Needle in the lab, due TODAY, 2nd Oct.

Also Sign off the: (please have these open & ready, due for full credit)
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise
Tuesday 9/30Using nested loops & Class Constants to draw Complex Scalable images.
Sign off the: (please have these open & ready, due for full credit)
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise
Work on Project 2: Space Needle
Turn It In Here by Thursday 2nd October.
(Note: Same day as our first Quiz)

Done? See yesterdays list of suggestions.

Readings in BJP for Friday
- 3.1 Parameters: pp 133 - 147 for Friday
Parameters Presentation
Warm Up:
Java File LoopsVariableReview.java

Project 2: Space Needle - Review Criteria for Grading
Follow our Our AP CS Coding Conventions

And don't forget our Quiz on Thursday.

Yesterday's Scope & Scaling Warm Up with Solutions
Java File ScalingLoopsWarmUp.java (starter code)
Monday 9/29Using nested loops & Class Constants to draw Complex Scalable images.
Sign off the: (please have these open & ready, due for full credit)
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise
Work on Project 2: Space Needle
Turn It In Here by Thursday 2nd October.
(Note: Same day as our first Quiz)

Done? 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.

If you have not already, you can try Light Bot or Picobot
Warm Up Starter Code
- Java File ScalingLoopsWarmUp.java
Exit Ticket Results & Follow up:
- Homework expectation is a couple hours
- Tutor availability after class and helping each other
- How do you Read a text effectively? (think about it, more later)
- More Practice: From UW: Practice It! & their Labs (most self answering)
- More Resources? Last Fall's UW 142

Questions on Project 2: Space Needle ?

Quiz Block Day Thur (2rd): What's on it Any questions?
Thursday 9/25 [Block]
Using nested loops & Class Constants to draw scalable images.
Please fill out our Loops Exit Ticket today.

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

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

Done or need a break? Try Picobot

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

Introducing: UW in the HS: College credit for AP CS (Senior & Juniors only)
forms & fees due Friday, 31st October.

Class Contracts & Contacts:
+ Students Sign the Back page of this packet and have parents fill it out too).
PDF File AP CS Syllabus (pdf format)
PDF File Computer Science Classroom Guidelines

Includes the UW in HS paperwork.

Questions? Project 2: Space Needle Due Thursday 2nd October.
Need guidance on starting 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
Wed 9/24
Early Dismissal
Using nested loops & Class Constants to draw scalable images.
Get signed off on: Expressions & Loops Lab Worksheet - should be done, so you have time for the project.
Work on: Complex Figure Exercise
Then Start on: Project 2: Space Needle Due Thursday 2nd October.
Quick Look: Complex Figure Exercise Can you reverse a loop??
Questions?: Project 2: Space Needle Due Thursday 2nd October.

Our first Quiz will be on next week: Tues or Thur?
Tuesday 9/23Using 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
Find the Error Warm Up
Introducing: Project 2: Space Needle Due Thursday 2nd October.
Our first Quiz will be on next week: Tues or Thur?

EXTRA Examples: Sample Loop Results to try
Java File NestedLoops.java sample solutions.
Monday 9/22Using nested loops to draw scalable images.
- Work on for sign off: Expressions & Loops Lab Worksheet
- Start the Complex Figure Exercise.

Done: Try creating these images using loops (just for practice, not sign off.)

Readings in BJP (for today's lectures)
- 2.4 Managing Complexity: pp 97 - 108
- 2.5 Scaling a figure: pp 108 - 116
Supplementary Material:
- Video: Complex Figure
- Lab 2: Expressions, Variables, and Loops A self-paced lab exercise.
Warm Up: Java File WarmUpSept222014.java
Let's Use the DeBugger in jGrasp
Complex Figure & Class Constants
Java File MirrorStart.java sample code

Announcing: NCWIT Aspirations in Technology competition - all women in CS should consider applying.
Stop by the WIT meetings Monday at Lunch in 107 (Ms. Rubstello's) for more discussion.
Friday 9/19
Spirit Day
Use nested loops to draw scalable images.
Finish up: Expressions & Loops Lab Worksheet

Please make sure you have completed both the Expressions & Variables Exit Ticket

Done? Start the Complex Figure Exercise we will be doing next Week.
Let's Conplete: Nested for Loops (PDF)

For Monday: Complex Figure & Class Constants (PDF)
Thurs 9/18
(Block)
Using simple for Loops & start to nest them.
Project 1 - Song due TODAY! Turn it in here
NOTE: Make sure you have no minor Errors, Verify your output with Quick Diff
Exit Tickets - Please fill out : Expressions & Variables Exit Ticket
Continue work On: Expressions & Loops Lab Worksheet (You can now do the for loop problems too!)

Readings in BJP for Friday, hopefully
- 2.4 Managing Complexity: pp 97 - 108
- 2.5 Scaling a figure: pp 108 - 116
Complex Figure & Class Constants
for Loop (PDF)
Nested for Loops (PDF)
PDF File Note Handout: for Loops


Complete Expressions & Loops Lab Worksheet .

Supplemental Video:
- for Loops
- Nested for Loops
Tuesday 9/16Solving Expressions in Java & creating Variables types.
(Note: I am still signing off Println, Methods & Decomp Lab Worksheet, and you should already be done with it.)
1) Finish: Project 1: Song (10 Points) - (Due Thur) You should almost be done - Turn it in here
2) Correct the code: Receipt.java to compute correctly
3) Continue on Expressions & Loops Lab Worksheet
Expressions & Variables Finish up Variables
PDF File Notes Handout: Expressions & Variables

Java File Receipt.java - correct it.
Supplemental Video: Variables & Assignments
Monday 9/15Solving Expressions in Java.
Due Monday, 9/15 for full credit: Println, Static Methods & Decomposition Lab Worksheet

1) Sign off on: Static Methods & Decomposition Lab Worksheet (Due today for full points)
2) Finish: Project 1: Song (10 Points) - (Due Thur, Sept 18th) You will only be able to Turn it in here if you completed our AP CS Class Survey last week, if not take it immediately.
Verify your output with Quick Diff.
3) Start: Expressions & Loops Lab Worksheet

Next for Thursday: (See AP CS 2014 Class Plan)
for Loop (PDF)
Nested for Loops (PDF)
Readings in Building Java Programs (BJP): for Thursday
- 2.3 For Loops: pp 87 - 94
- 2.3 Nested For Loops: pp 95 - 97
Supplemental Video: Nested for Loops
Link AP CS 2014 Class Plan - our next few weeks!

Questions on: Project 1: Song (10 Points) - You can Turn it in soon (Due Thur, Sept 18th)
NOTE: Avoid minor Errors! Try testing your output with Quick Diff
After you have verified it, you can Turn it in here using your email & password.

Expressions & Variables (Expressions on Monday, Variables on Tuesday)
PDF File Notes Handout: Expressions & Variables
Start: Expressions & Loops Lab Worksheet

+ Join us Today in our classroom 115:
- Women in Technology Club during lunch
- Robotics Team after school
Friday 9/12Solving Expressions in Java & creating Variables types.
1) Finish up: Static Methods & Decomposition Lab Worksheet (most are done)
2) Work on Project 1: Song Due 9/18
3) After reviewing Expressions & Variables, start: Expressions & Loops Lab Worksheet (resources at Thursday's class)
+ Make sure you have taken our AP CS Class Survey today or you will not be able to turn in your project.

NEXT: Expressions & Variables be ready to start on Monday. Details below.
Readings in BJP for Tuesday:
- 2.3 For Loops: pp 87 - 94
Exit Ticket Feedback

Questions on Project 1: Song? Due 9/18 (Thursday)

Technology Clubs in 115a
- Women In Technology every Monday at Lunch
- Robotics Kick Off is Monday after school.
- Who is interested in a Apps Club. Starting up in October.
+ Hack the CD! Startup Weekend Event Friday 9/26-28 at Garfield HS

Done review the Expressions & Variables presntation and start: Expressions & Loops Lab Worksheet
Thur 9/11
(Block)
Mastering Println & Decomposition using Static Methods. About our Coding Conventions & first Project.
1) Take our AP CS Class Survey please.
2) Finish up & get sign off on: Println, Static Methods & Decomposition Lab Worksheet (due Monday, 9/15 for full credit.)
3) Start Project 1: Song (10 Points) Due 9/18 (Thursday)

If you have not already, please Fill out this online Exit Ticket: Lesson 1: Println, Comments, & Static Methods Thanks

NEXT: Expressions & Variables
(Expressions & Variables start on Monday)
Readings in Building Java Programs (BJP):
- 2.1 Basic Data Concepts: pp 62 - 72
- 2.2 Variables: pp 72 - 86
Expressions & Variables (2 parts)
PDF File Note Handout: Expressions & Variables
Supplemental Videos:
- Expressions
- Variables & Assignments
Garfield Way Slides
PDF File The Garfield Way - School-wide Expectations.
PDF File Summary Grid (Legal Size Sheet)

Updated: PDF File AP CS Syllabus (minor changes)

PDF File Coding Conventions & Project Logistics Slides
Link Our AP CS Coding Conventions
Link Project 1: Song (10 Points) Due Thursday, 9/18

Class Pre-Assessment Puzzles... do your best.
Tuesday 9/9Mastering Println & Decomposition using Static Methods.
Sign Off on BakeMoreCookies Decomposition
Work on: Println, Static Methods & Decomposition Lab Worksheet (due Monday, 9/15 for full credit.)

? Fill out this online Exit Ticket: Lesson 1: Println, Comments, & Static Methods Thanks
Warm Up Example: Java File StaticEchoBroke.java
Presentation (con't): Drawing complex figures with static methods
Java File Figures1.java
PDF File Println, Static Methods & Decomposition Lab Worksheet
Supplemental Video: Methods
Monday 9/8Begin 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 Monday, 9/15 for full credit.)

Readings in Building Java Programs (BJP):
- 1.2 And Now Java: pp 10 - 23
- 1.4 Procedural Decomposition: pp 28 - 38
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 (due Monday, 9/15 for full credit.)
Friday 9/5Compile 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)
Programming, Java
Java File Hello.java

Hack the CD! Startup Weekend Event Friday 9/26-28 at Garfield HS
(note: although at Garfield, this is an independent event) If you are interested see Mr. Bergquist for a a discount code for registration.
Thursday 9/4Understand details about the AP CS class. Get familiar with our Classroom Guidelines.
Computer Science Classroom Guidelines
Code.org Video
HR Training on our...
slides: Corporate Classroom Standards
PDF File Computer Science Classroom Guidelines
Wednesday 9/3Welcome 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)
PDF File AP CS Syllabus (pdf format) - Updated for 2014.

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

SPS Network Use Agreement must be obeyed while using the Garfield Computer Lab and other computers.