2013 AP CS

Java API · Coding Conventions · Java Syntax Sheet V5 (PDF) · Object Concepts

This is an archive of our 2013-14 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.

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

Please fill out our AP CS 2013-14 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.

First Ever Vintage Conputer Faire! Sat, Aug 9th at the LCM (free)
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

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??
Tuesday
6/17
Block
Presentation on your Final Projects

Please fill out our AP CS 2013-14 Class Survey.

Stay connected with Garfield CS: 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.
Monday 6/16Combine and develop Java skills in your Final Project

Final updates to your AP CS Final Projects - project demos & presentation on Tuesday.

When you are done, show Mr. Bergquist you program!

Please complete our: AP CS 2013-14 Class Survey.
Final fixes to your Final Projects - in our class folder
Tuesday is demon and presentation day.

Suggestion of software updated for next year? What software do you want to use in Projects in CS??

Final call for free Seattle Central College Credit for AP CS: Register here for Tech Prep - check with Mr. Bergquist if you think you already have an account.

Done? Please complete our: AP CS 2013-14 Class Survey.
Friday the 13th
Purple & White Day
25 minute classes

Best of luck Seniors!!
Last Day for Seniors!

Please fill out our AP CS 2013-14 Class Survey, especially seniors.

Sophomores & Juniors - Final presentations are on Tuesday, June 17th - I have started to review your code in our shared folder, make sure it is in place & works fine.

First Ever Vintage Conputer Faire!
Sat, Aug 9th at the LCM (free)
Last Day for Seniors!
- 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.

Remember, all other Final Projects presentations are Tuesday, June 17th. You can update your code on Monday if needed.
Wednesday & Thursday
6/11 & 12
Combine and develop Java skills in your Final Project

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

Please fill out our AP CS 2013-14 Class Survey, especially seniors.

X-Box One Raffle drawing was Wednesday during lunch - student in 3rd Period won!
Continued work on: AP CS Final Project

Juniors & Sophomores: 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 Tuesday, 6/17.
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.

New Bachelor of Application Development degree from North Seattle College, starts this fall.
Monday 6/9
Senior Finals (2-4-6)
No bathroom pass.
Combine and develop Java skills in your Final Project

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

We have some great projects here.

Reminder: Code is due Thursday 6/12 for Juniors & Sophomores

- Please fill out our AP CS 2013-14 Class Survey, especially seniors.

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

Thursday 6/5Combine and develop Java skills in your Final Project

Seniors: Complete your: AP CS Final Project and save code (see left)
Others you have till next Thursday, June 12th - demo's on Tuesday, June 17th.

Want free Community College Credit for AP CS? Register here for Tech Prep - check with Mr. Bergquist if you think you already have an account. Click here for more info on Tech Prep.

SODO MakerSpace / FabLab Open House:
Saturday, June 7th 4 - 10pm at 1914 Occidental Ave S
Suggested Donation: $10
Our Garfield App Winners!!

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 Monday, 6/9.
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 have been Posted, please look in the Source and confirm them today!
+ Please bring in your Text book
+ UW in HS Survey for those who did that program.
Mon, Tues & Wed
6/2, 3 & 5
Combine and develop Java skills in your Final Project

Continue work on your: AP CS Final Project

NOTE: Once I have the UW in the HS grades finalized, I will put zeros in for missing work... let me know if you have any additional sign offs (you can work together on these!!)
AP CS Final Project - seniors' code is due on Thursday (6/5) for Demo's next Monday (6/9)!

Announcements:
- You are being graded on your diligent work on your projects daily till presentations! Stay focused!
- Bring in your AP CS Text Book ASAP
- Wednesday is early dismissal, we have a speaker from the new Sodo MakerSpace (35 minute class).
- Want free Community College Credit for AP CS? Register here for Tech Prep - check with Mr. Bergquist if you think you already have an account. Click here for more info on Tech Prep.
Thur & Fri 5/29 & 30
[Short Block]
Combine and develop Java skills in your Final Project

ATTENTION: Friday 5/31, is the last day to get your Snake reviewed for grade. For SnakeBug Review with JJ or me, please save, compile and run this code:
Java File SnakeGameTest.java
UW in HS Scores - See Mr. Bergquist
Garfield Guidelines / UW Grading Scale

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

***Reminder:***
Sat, May 31st: Amazon.com AWEsome Tech Open House - Register here (independent activity).
Tuesday 5/27
(EOC Week)
Combine and develop Java skills in your Final Project

Review your Project Proposals with Mr. Bergquist. Should be saved to our class folder and complete (at least one full page with all details)
Work on your AP CS Final Project

ATTENTION: Friday 5/30, is the last day to get your Snake reviewed for grade.
Determine how you want to use your extra Late days - tell Mr. Bergquist.

Complete your Project Proposals due by Friday 30th May. Please 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!

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.
Thusday & Friday
5/22 & 23

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

Complete Project Proposals and then start working on them!

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.
Complete your Project Proposals due by Thursday 23rd May. Please 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!

For SnakeBug testing, please save, compile and run this code:
Python File SnakeGameTest.java

Monday & Tuessday
5/19 & 20
Combine and develop Java skills in your Final Project

Start Reviewing your Project Proposal (get them in no later than Thur, 22nd May)

15 Week Grades go out Friday Let's get these signed off by Thurs 22nd May.
Complete (: Gridworld, part 4 - Do Part 4's Excercises: 1, 2, & 3 OR KingCrab
Turn in Snake Project - Make sure your code is Internally correct & Scales for a bigger Grid.
Continue on your : AP CS Final Project
Complete your Project Proposal - save a copy in our class folder: My Computer > S: > embergquist > Writeable > AP CS > Period 4 or 6 >

Need more project Ideas? Talk to Mr. Bergquist

NEW: Seattle Skill Centers Summer Opportunities, check out the Center's programs at the SPS Skills Center Website and here is the List of Summer Classes & the Application (Due 30th May, see Mr. Bergquist)

Reminder: Sat, May 31st: Amazon.com AWEsome Tech Open House - Register here (independent activity).
Monday 5/11 - Friday 5/16Documenting a Project Proposal & accomplish a Final Project

Finish these up, you can work in pairs and get signed off on: Gridworld, part 4 - Do Part 4's Excercises: 1, 2, & 3 OR KingCrab due now. Critter notes / Gridworld API
Finish Snake Project is due Thursday, May 15th - grade in class in pairs! Done by Thursday, earn an additional X-Box One Raffle Ticket.
Final Project:
- AP CS Final Project Details
- Project Proposal Due "end of week" Friday 16th May please. - In by Friday, earn one XBox One Raffle Ticket! (See left for another...)

NEW: Sat, May 31st: Amazon.com AWEsome Tech Open House - Register here (independent activity).
Thur & Fri
5/8 & 9
Block
Finishing up Exercises & get started on your Final Project

Finish up on: Gridworld, part 4 - Do Part 4's Excercises: 1, 2, & 3 OR KingCrab due Friday, May 9th. Critter notes / Gridworld API
Finish Snake Project is due Thur, May 15th - in class sign off.

FYI: Stephen Hawking on AI - an Existential Risk
Mock AP Grades

Final Project:
- AP CS Final Project
- Project Proposal Due Next week
- Due Dates for Critters (Fri, May 9th) and Snake (Thurs, May 15th).

Reminder: UW in HS Final Exam today for those who missed it. Next Thursday for those out today or make arrangements to take it after school.

(Note: Mr Bergquist out Friday 6th Period)
Tuesday 5/6
AP CS Exam Day!
AP EXAM Day
Not taking or back from the AP? Finish up on Critters & start Snake.
Preview (we will go over on Thursday:
AP CS Final Project

Due Dates for Critters (Fri, May 9th) and Snake (Thur, May 15th).
Monday 5/5
(AP Exam tomorrow)
Final Review for AP CS exam

Not taking the AP? Finish up on:
Gridworld, part 4
Do Part 4's Excercises: 1, 2, & 3 OR KingCrab due Friday, May 10th.
Critter notes / Gridworld API
Others: Finish Jumper & Snake Project
Final AP CS Exam Review:
- Multiple Choice Questions?
- Free Response Questions?
Resources for the AP & UW in HS Exams (at the bottom) & our Schedule - Updated!

Reminder: If you have not already taken it, the UW in HS Final Exam will be Thursday (8th).
Vote online for your Class Officers!
Friday 5/2
AKA Prom
Final Review for AP CS exam
Review the FRQ Exam Quiz:
- Do the 2012 FRQ problems & review their Grading Criteria & 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)"

Gridworld, part 4
Do Part 4's Excercises: 1, 2, & 3 OR KingCrab due Friday, May 10th.
Critter notes / Gridworld API
Others: Finish Jumper due by Fri, May 3rd & Snake Project is due Tue, May 14th.

If you went on the Field Trip, please take this short Survey Thanks.
Final 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 3rd at UW! remember to register.
Thur
5/1
Summative AP CS Multiple Choice exam OR UW in HS Final

If you went on the Field Trip, please take this short Survey Thanks.
AP CS Final (Mock AP) Multiple Choice exam with only Quick Reference for 2013 Exam handed out with the earlier testing.
OR
UW in HS Final Exam with only our Java Syntax & Object Concepts sheets.
Tuesday 4/29Complete the AP GridWorld Mock AP Exam Problem and other activities

Complete the AP GridWorld Mock AP Exam Problem: Due Thursday 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
Done? Start on Snake Project or try Ant Farm
Complete the AP GridWorld Mock AP Exam Problem: Due Thursday 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 have a previous AP Student that can help you after school on today (Tuesday)

In Class Review on Friday & Monday:
- Multiple Choice Questions?
- Free Response Questions?
- Specific areas or topics?
Mon 4/28 (50 min periods)Assessment of Creating Programs in Java

Today (Monday) Free Response Question (FRQ) portion of our AP CS Final Exam (Mock AP)
- Tuesday - TEALS MS Field Trip or work on GridWorld FRQ problem (Mr. Bergquist out) - quiet in the lab for those working and sit apart
- Thursday:
. - Multiple Choice portion of our AP CS Final Exam, Mock AP OR
. - UW in HS Final Exam
(Syntax and Concepts sheets only)! (Thur, May 1st) 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)
Free Response Question (FRQ) portion of our AP CS Final Exam (Mock AP):
- Monday: Create code for 2 of 3 FRQ problems (50 min)
- Tuesday: Field Trip or work onGridWorld Problem to solve.
- Thursday: Last part of Final either:
. - Multiple Choice portion of our AP CS Final Exam, Mock AP
. - Final UW in HS Exam (Syntax and Concepts sheets only)!

Garfield Takes 1st Place at PSCSTA Programming Contest - congratulate William, Rowan & Nathan (Team Dawgbotics)!

For the TEALS MS Field Trip Tomorrow! Meet in 115a for 2nd Period (9am) to go and bring computer device. Review the Schedule and Events - Choose the Booths and Breakout Sessions that you will want to participate in.
Thur 4/24
Block
Review Material for AP CS exam + Search, Sort & Complexity

Next Week - our Mock AP/Final Java Exam:
- Monday: Free Response Questions & one Take Home problem due Thursday, May 1st.
- Thursday (Block): Multiple Choice OR UW in HS Final Exam


Gridworld, part 4
Do Part 4's Excercises: 1, 2, & 3 OR KingCrab (Done? try Ant Farm)
Critter notes / Gridworld API due Mon, May 5th

Others: Finish Jumper due by Mon, May 5th & Snake Project is due after the AP exam.

Vote Here for more Raffle Tickets
Review Solutions to the Classes, Arrays and ArrayLists Quiz (Jokes)
Brief Introductions:
Sorting Algorithms & O-Complexity
- Complexity (Video: complexity)
- Sorts: like BinarySearch & Sort visualizations (Video: binary search)

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)

Reminder:
- Saturday - Spring Programming Contest at LCM, turn in your signed Contest Permission Slips to Mr. Bergquist.
+ UW Engineering Discovery Days this Friday & Saturday at UW!
Tues 4/22
Block
Abstract & Casting in Polymorphism

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

AP Practice, try some Recursion Mysteries

Review our: AP CS Exam Review pages

NOTE: UW Engineering Discovery Days this Friday & Saturday at UW!
Super & Polymorphism Summary! (includes Abstract Class & Methods!)
Polymorphism (& its Mysteries) (finish)
PDF File Handout: Polymorphism & its Mysteries
Additional Resources - Videos:
- Polymorphism & Casting
- Using super

Quick Summary of Recursion
Java File RecursiveExamples.java
More Recursion Mystery Details & Practice

Solutions for Practice MC quiz - 10 correct needed for an extra Raffle Ticket.
Resources for the AP & UW in HS Exams (at the bottom) & Updated Schedule!
AP Review Highlights:
- AP Cram Sheet (from Ms. Hess of Tahoma HS)
- An online Summary of Binary, Hex, & Octal
Monday 4/21Polymorphism & their Mystery Problems

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

+ Raffle Ticket Deadline Tuesday 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 5th.
- Start on Snake Project.

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

Make sure to turn in your permission slip for the programming contest.
Dates through the AP & UW in HS Exams
Polymorphism (& its Mysteries) (start)
PDF File Handout: Polymorphism & its Mysteries

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

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

Raffle ticket Bonuses: Due Tomorrow:
- Jumper AND all Bugs signed off. (1 ticket)
- At least 10 MC Practice problems correct - group grading on Tuesday. (1 ticket)

Readings in BJP
- 9.3 Polymorphism 578 - 588
- 9.6... Abstract Classes 610 - 615
Preview: The End is Near!Here's a Preview of a few remaining items to cover in Prep for AP Exam (feel free to check them out over break if you like)Preview of a few topics to cover after break:
(Presentations subject to change/improve)
- Polymorphism & super (Videos: using super / polymorphism)
- Complexity (Video: complexity)
- BinarySearch & Sort visualizations (Video: binary search)
- Recursion - Video: recursive tracing & Koch Snowflake Example
Friday 4/11
Have a Great Spring Break!!
Creatin' Critters in GridWorld
Sign Off on Jumper be ready with your test to swiftly demonstrate all traits with your partner.
Start Part 4's Exercises: 1, 2, & 3 OR KingCrab

Snake - Due after the AP Exam.
Please read about the The Heartbleed Bug!
(CNet Article / Test-A-Site / Official Website)
What to do? Any site you have valuable info:
1) Test the site to make sure it is fixed, and then...
2) Update your password.

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.)
Thur 4/10
(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 Ice Cream Social & Review Session at UW! Sat, May 3rd - register to attend.
Tuesday 4/8Extend 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 Ice Cream Social & Review Session at UW! Sat, May 3rd - 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/7Extend 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.

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 10. You may also want to reference the Supplemental Videos if you missed lectures.

Please pick up the Contest Permission Slips (linked here) and turn in your Registration Fee ($30 per team) for Spring Programming Contest (April 26th) Please turn in your signed Contest Permission Slips to Mr. Bergquist; Thanks.
Friday 4/4Create 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).

* 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/3 (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)
GridWorld Introduction
Link Set up GridWorld in your APCS workspace & JGrasp.
- Read the GridWorld, part 1 of the case study
- 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!

Girls Who Code 7-week program this summer applications due April 9th.
Tuesday 4/1Define your Objects Sort Order in Lists using the Comparable interface and compareTo method.

Get Sign off On: Weight class lab practice.
When done, review the GridWorld Introduction
Set up GridWorld in your APCS workspace & JGrasp.
Read the first part of the GridWorld case study...
Inheritance & Super (continued)
PDF File Handout: Inheritance & super (Superclass)
GridWorld Introduction

Text Chapters are below for your reference too.
Monday 3/31Define 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 all 2 Practice-its on ArrayLists)

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

Women in Tech have a Speaker during lunch!

Make sure to turn your registration fee for the Programming Contest.

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/27Create a common Interface for Objects.

DUE Today: Project 8: Shopping Cart (PDF Version) - TURN IT IN HERE

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

Paul Allen Computing Challenge (PACC) - Part I must be mailed in Tomorrow, Friday March 28th.
Warm up: Binary to Decimal and vice versa (Binary & Hex Worksheet)

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 & Wednesday 3/25 & 3/26Create a common Interface for Objects.

Work on Project 8: Shopping Cart (PDF Version) Due Thur, March 27th. TURN IT IN HERE

Work on: Weight class with a Comparable Interface lab practice.

Sample Comparable & compareTo code to solve Weight class:
Java File StudentL.java
Java File StudentLClient.java

Supplementary Videos:
- Interfaces
- Implementing Comparable Interface
Interfaces
PDF File Handout: Interface & compareTo

Sample Interface code:
Java File Shape.java
Java File Circle.java
Java File Rectangle.java
Java File ShapeTest.java

Comparable & compareTo Method: making your Objects Sort Order!
Try them out creating the Weight class with a Comparable Interface lab practice.
Monday 3/24Build a collection of Object Classes using ArrayLists to create a functioning project.

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

Work on Project 8: Shopping Cart - due Tuesday 3/19. (PDF Version) Due Thur, March 27th.

Done? Random sentence generator
We are moving into how our Objects are related... In Shopping Cart we use "has a" relationship (one or many) - we will be exploring more this week.
Make sure to review the Object Oriented Design for the Shopping Cart Project lesson before working on Project 8: Shopping Cart. Any questions??

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

Reminder: Registration for the Spring Programming Contest (Sat April 26th at LCM) is open Today! Make sure to register your team early.
Friday 3/21How is data represented in a Computer & the Internet? Binary & Hex number systems.

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

Complete the ArrayList Practice (PDF version) - do a couple and get going on the...
Work on Project 8: Shopping Cart - due Thursday 3/27.
Warm up - 1st page: Binary & Hex Worksheet get started!
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 26th at LCM) will open Monday at 9:15am, plan on forming a team. Make sure to register your team early.
+ Mini Maker Faire Seattle is at the EMP this weekend Sat & Sun.
Tues & Thur
3/18 & 20
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/27.

It's HSPE testing week NOTE: The CS Lab will be open during morning HSPE testing Tuesday - Thur (8-10:30am) to work on home work (not Reddit or games). Mr. Bergquist will be available for help too.
Testing Considerations (Warm up): What's the Pattern & the Scientific/Testing Method

Work on: Project 8: Shopping Cart (PDF Version) - due Thursday 3/27 (date moved out)

MS Field Trip, Tuesday April 29th signed permission slips due today or 1st period Friday (21st)! if space is still available.
Monday 3/17Build 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/27. (PDF Version)

Mini Maker Faire Seattle is at the EMP this weekend Sat & Sun. Only $8 for ages 18 & under. Great place to see how programming & creativity is applied to make some cool projects.

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. Not exactly what we did, it builds some new ArralLists.

It's HSPE testing week NOTE: The CS Lab will be open during morning HSPE testing Tuesday - Thur (8-10:30am) to work on home work (not Reddit or games). Mr. Bergquist will be available for help too!
Registration for the Spring Programming Contest (Sat April 26th at LCM) will open next Monday, plan on forming a team. And check in with me about the PACC, we can work on that during HSPE or after school.
Friday 3/14
Happy Pi Day!
Create ArrayLists and use their methods to solve problems.

Continue work on the ArrayList Practice (PDF version) for our Next Project...
Done? Start on Project 8: Shopping Cart

4th Per: Finish: ArrayLists - Demo Code, Slide 19+
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 - Thur 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/13Assessment on Arrays & Logic.

After the Quiz:
- Be ready for your Sign off DUE 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

+ Check the Source for your 5 week grade going out later this week.
See work to do at left
Tuesday 3/11
Bulldogs Basketball Victory Day!
Create 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) for our next 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) for our Next Project...
Preview: Project 8: Shopping Cart

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/10Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Finish up both Car AND Student Objects: Creating the Car & Student Object Classes Practice - last day for full credit is Tuesday, March 11th.

Start the ArrayList Practice
BONUS: CS programs in Washington State Details - shared from Tahoma HS (2013)
ArrayLists
PDF File Handout: ArrayLists

Start the ArrayList Practice for our Next Project...

Quiz (Array Mysteries, Boolean Zen logic and Array Programs) Thursday!

Make sure to register for the AP Exam
Friday 3/7Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Continue work today on Car and Student Objects: Creating the Car & Student Object Classes Practice

Boolean Logic & Arrays: Try some Practice Its:
- Logic (general)
- Logic Assertions
- Arrays (general)
- Array Mysteries
- Array Traversals
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/6Build robust Object Classes, demonstrating constructors, encapsulation, and exceptions.

Continue work today on Car and Student Objects: Creating the Car & Student Object Classes Practice

Done? Start:
ArrayLists + ArrayList Practice
Warm Up: Array Mystery (on next Quiz)

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)

MS Field Trip, Tuesday April 29th - space is limited so get your paperwork in soon.
Tuesday 3/4Build 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.

Readings in BJP (near future)
- 10.1 ArrayLists: pp 629 - 646
Warm Up - Let's improve the Point Class:
Java File Point.java
Resources: Object Class Review Slides

Continue Creating the Car & Student Object Classes

AP Exam Sign up deadline is approaching! Are you ready?

NOTE: Arrays Quiz (Array Mysteries, Boolean Zen logic and Array Programs, including 2D) - Next Week.
Monday 3/3Encapsulate 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):
- Your Own Point Object Class (run PointTest.java to verify.)
- 2D Array ASCII image processing - run both the Homer & Mystery files.
DUE Tuesday:
- 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
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
Friday 2/28
Encapsulate fields in an Object, add a ToString method and use "this" keyword. Create Arrays of Objects & add Exceptions.

Sign off on:
- Your Own Point Object Class (run PointTest.java to verify.)
- The "Epicenter" solution using your Point Object (at the bottom of the Your Own Point Object Class sheet.
- 2D Array ASCII image processing - run both the Homer & Mystery files.
Object Encapsulation, ToString method & this keyword
Adding Exceptions
Class Object Concepts & Vocabulary Sheet (note it is linked above as "Object Concepts", ready for you to use)

Start Creating the Car & Student Object Classes

Want to Create an App? Stop by after school next Tuesday to see about our new Garfield Apps Club!
Thursday
2/27
Block
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.
Friday for sign off: (at least first two)
1) Your Own Point Object Class should be complete (use PointTest.java to verify.)
2) Finish up the: 2D Array ASCII image processing
3) So Build the the "Epicenter" solution using your Point Object - at the bottom of the Your Own Point Object Class sheet.

Done?
Try more Array challenges: Simple Tic-Tac-Toe AND Magic Squares
Object Exercises in Practice It.
Lab Day. Mr. Bergquist is out - 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/25Create 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
Arrays of Objects & Null

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

Readings in BJP (for Friday)
- 8.3 The keyword this: pp 522 - 525
- 8.4 Encapsulation: pp 525 - 538
Monday 2/24Create 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 on Thursday, when Mr. Bergquist is out:
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
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

NOTE: Mr. Bergquist will be out on Thursday - Lab day to finish up the Glitter Bomb & 2D Arrays class work.
Apps Club Page
Friday 2/14
Have a Great Break!
Solve Assertion problems & apply Boolean logic.
DNA project - Turn In Project Here. - Due Today.
Late Days for DNA project: by Friday 2/14 - on time, by Tues 2/18 - 1 day, by Wed 2/19 - 2 days, by Thur 2/20 - 3 days, by Fri 2/21 - 4 days, by Mon 2/24 - 5 days.

Complete 2D Array ASCII image processing worksheet.
Start Your Own Point Object Class
Last minute questions on DNA project?

Strongly suggested Reading Over Break:
Readings in BJP (for Thursday)
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.2 Object State & Behavior: pp 505 - 517
- 8.3 Object Initialization - Constructors: pp 517 - 525
Keep reading if you can, we will go over most of this chapters material...
Try Your Own Point Object Class
Thursday
2/13
Object
Block
Day
Create an Object class with State (fields) & Behavior (methods) and add its Constructor for initialization.
DNA project - Turn In Project Here. - Now due Friday, 14th Feb.
Start 2D Array ASCII image processing worksheet.

Introducing the Object Class!
Object Class
Constructor

PDF File Handout: Object Class & Constructor
(We will review this again after break)

Feel free to Create Your Own Point Object Class
Tuesday 2/11Store information in 2D Arrays and create methods to display & manipulate them.

Work on the DNA project (Turn In Project Here.) Now due Friday, 14th Feb. (no after school Friday)

(Remaining DNA Structured Diagrams should be complete & ready for sign off.)

Then Start 2D Array ASCII image processing worksheet.
Java File ArrayOver.java
2D Arrays
PDF File Handout: 2D Arrays

DNA project Due Thursday Feb 13th.

Readings in BJP (for Thursday)
- 8.1 Object Oriented Programming: pp 501 - 505
- 8.1 Object State & Behavior: pp 505 - 517
- 8.1 Object Initialization - Constructors: pp 517 - 525
Monday 2/10Use array data structure and its methods to solve the DNA project.
Complete & get Sign Off on BOTH due today:
- Structured Diagram for the DNA project
- Assertion exercises from last Thursday
Work on the DNA project (Turn In Project Here.) Due Thur 13 Feb
Note: Lecture on Thursday & Mr. Bergquist will ONLY be available about 45 minutes after school on Wed Feb 12 to help.

Readings in BJP
- 7.5 Multi-Dimensional Arrays: pp 473 - 479
Questions on DNA project?
2D Arrays
PDF File Handout: 2D Arrays (printed copies tomorrow)
For tomorrow:
Java File ArrayOver.java

Complete your DNA project - Due Thursday

Then start: 2D Array ASCII image processing
Friday 2/7Use Assertions to better understand how your code will execute.
Sign Off on Structured Diagram for the DNA project - Due by Monday 10th Feb.
Work on the DNA project - Due Thur 13 Feb

Done? Take a look at: Coding Bat
Solution for Project 6: Baby Names. Let's Diagram it.

Questions on the DNA project?
Thursday 2/6
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 13th (before Break).
Booleans & DeMorgan's Law
Assertions
Partner Exercise: Do 2 and show to me:
Assertion 1
Assertion 2
Assertion 3
Do this before resuming DNA project.
Tuesday 2/4
Approach structuring your methods for a project by creating a Structure Diagram & use the Java API to find coding methods & syntax (for file output).
First Create your Structured Diagram for the DNA project, Due by Monday 11th Feb.
Work on the DNA project Due Thursday Feb 13th (before Break).

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)
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.

Questions on the DNA project?
For your Reference, File output: Use the Java API to figure out how to accomplish the Writing to files for the DNA Project. For more details read BJP: Section 6.4 Advanced File Processing, page 401 - 409.
Monday 2/3
Approach structuring your methods for a project by creating a Structure Diagram & use the Java API to find coding methods & syntax (for file output).

First Create your Structured Diagram for the DNA project, Due by Monday 11th Feb.

Work on the DNA project Due Thursday Feb 13th (before Break).
Note: Mr. Bergquist will NOT be available after school next week Wed Feb 12 to help.
Applying CS to help Scientists Seeing DNA.
Our example: The DNA project (Due Thursday, Feb 13th)
Breaking down a program: Drawing out the structure of the Baby Names Project.
Create your Structured Diagram for the DNA project, Due by Monday 11th Feb.

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**
- Summer 2014 Opportunities from Microsoft & Google for high school students. - check the March due dates.
- WA Senior $2500 scholarship for a CS Project. Requires a webpage showing your project, online application due Monday, Feb 10th.
Thursday
1/30 Block

Happy End of 1st Semester!
Final Assessment of Semester material, through Arrays
Done?
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

I will be around after school for sign off's and help.
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
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.
Let me know if you have any questions on specific areas: Review Labs & Practice-It's
Warm up: FencePosting.java

Booleans & DeMorgan's Law - quick go over...

Supplemental Video:
- Boolean Zen
Monday 1/26Time to Review for the Semester Final, through Arrays
Mid-Term Review Material:
- Java Slide Summary
- Review Labs & Practice-It's (links fixed)
- Sample Multiple Choices

- Summary of Text Resources: presentations, Videos and some sample code (from Roosevelt's AP class notes)
Data Traversals to Compare and Contrast
(& review for the Midterm):
Java File HowToTraverse.java
data required: TheRaven.txt

Let me know if you have any questions on specific areas, we can review using the Review Labs & Practice-It's
Friday
1/24
Use Arrays to transform data & solve problems
Sign off on (Due Today for full points):
- Array Practice Sheet (first)
- Arrays as Parameters Worksheet

Done all the practice-it! problems? Try Coding Bat or DNA project

NOTE: PLU Programming Contest is Full!
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.

2014 AP Registration Flyer
Thur 1/23
Use Arrays to transform data & solve problems
- Finish up & Sign off on Array Practice Sheet (first)
- Continue on: Arrays as Parameters Worksheet
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 Friday).
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.
Tuesday 1/21
Use Arrays to transform data & solve problems
- Finish up & Sign off on Array Practice Sheet (first)
- Continue on: Arrays as Parameters Worksheet
Both of these sheets are Due by Friday, 24th January.
Arrays for Tallying
HistogramStart.java (Data: midterm.txt)

Anyone interested in a ride to the - PLU Programming Contest - Sat, Feb 1st ? See Mr. Bergquist about bus from Cleveland HS today.
Friday 1/17
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) :
Java File PlayCards.java

Both of these sheets are Due by Friday, 24th January.

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 (Exam details page 16) Don't try these samples yet..
- Grading Guidelines
- Quick Reference
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, 23rdnd Jan - 50% points gained with max of 18/22.
AP CS Syllabus, with guidelines for late projects
Tuesday & Wednesday
1/13 & 14 shorter periods
Manipulating the values of Arrays to solve problems accessing them "by Reference"

- Finish up & Sign off on Array Practice Sheet (first)
- Work on: Arrays as Parameters Worksheet

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)
Return last Quiz & discuss Regrade options.

++ Please make sure you have filled out our Baby Names Project & Class Survey today.

NOTE: Lab will be open Thursday morning 8-10:30am during EOC testing. Mr. Fell will host and I am trying to have some Student Help available for you (no playing games).
Monday
1/13
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
Please make sure to fill out our Baby Names Project & Class Survey today.

NOTE: Lab will hopefully be open Thursday morning 8-11am during EOC testing for class help & work time (no playing games).

Complete: Arrays by Reference presentation
Start on: Arrays as Parameters Worksheet

Supplemental Video:
- Array Mystery
- Array Traversal

Contests to consider:
- PLU Programming Contest - Sat, Feb 1st at Pacific Lutheran University.
- the Paul Allen Computing Challenge (PACC)
Friday 1/10Creating and passing Arrays

Work on Array Practice Sheet (first)
+ Last day for full credit on Reading Data From A File Practice Problems

Please complete the Baby Names Project & Class Survey - Thanks (Deja vu)
Warm Up: Java FileOopsArrays.java
Arrays as Parameters

Java File Sample ArrayExamples.java

Please complete the Baby Names Project & Class Survey - Thanks
Thursday 1/9
(Block)
Basics of creating and using Arrays

- 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 the Baby Names Project & Class Survey - 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
Arrays, Part I
PDF File Handout: Arrays

Work on: Array Practice Sheet (first)

+ STEM Out! Saturday, February 8, 2014 - for girls interested in computer science & technology, sponsored by Amazon.com & PSCSTA at UW. Spread the word.
+ Think about the PLU Programming Contest - Sat, Feb 1st (Practice Problems)
Tuesday 1/7Scanning files and single Lines of file input to solve Project 6: Baby Names

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

Done? Go over the Checklist for the Baby Names Project
Checklist for the Baby Names Project - please review it carefully.

Sample Java Code to find a line with a name:
Java File DemoFileRead.java
(this is what I went over with some students on Monday)

Thursday: Quiz for students who missed it before break.
Monday 1/6
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
- Turn In Here for Project 6: Baby Names due Tuesday 1/7/2013. (Full Details see: 12/12 entry below)

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

Done: Try some of the PLU Programming Contest 2013 Practice Problems
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 (more later)

Announcing the PLU Programming Contest - Sat, Feb 1st at Pacific Lutheran University. (2012)
Friday 12/20 (35 min)
Have a Great Winter Break & Happy Holidays!
Scanning files and single Lines of file input to solve Project 6: Baby Names
- Check your Grades in the Source.
- Finish up Reading Data From A File Practice Problems
- Turn In Here for Project 6: Baby Names due Tuesday 1/7/2013. - if you are behind, catch up over break please.
Any Questions on: Project 6: Baby Names??

Introducing the Paul Allen Computing Challenge (PACC), check it out. More on it when we get back.
Thur 12/19
(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 Tuesday 1/7
Quiz on material through Strings
use: Updated Java Syntax Sheet!
Tue 12/17Scanning 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/7
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
Friday 12/13 (Happy Hobbit day!) & Monday 12/16Scanning files and single Lines of file input to solve Contest Problems

Enjoy our Expert visits for Computer Science week!

Work on Reading Data From A File Practice Problems

Then:
- Review for quiz (12/19 on your own.
- Start Project 6: Baby Names Due Tuesday, Jan 7th make sure to get a good start before break, you will only have a couple days after it.
- Friday, 6th Period: Elisabeth Wurtmann, a Researcher from the Institute of Systems Biology’s Baliga Lab will tell us how they are applying programming to the field of Biology research. Their Network Portal.
- Monday, 4th Period: Brian Marsh from Google will tell us about the innovative products created by Google and their cool working environment.

Java File Starter.java - template to help solve these problems & use in the contest

Questions? Project 6: Baby Names Due Tuesday, Jan 7th

Programming Contest Results! 2nd Placed Advanced!!
Thursday 12/12
(Block)
Prepare for the Programming Contest and solve some File Input Problems

Continue: Work on Reading Data From A File Practice Problems
Done?
- Review for quiz (12/19& 20) on your own.
- Start Project 6: Baby Names Due Tuesday, Jan 8th
PDF File Project 6: Baby Names Due Tuesday, Jan 7th (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/11Scanning 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.

Our Schedule through break:
- Fri 12/13: end of 15 week grades (will not include Guessing Game)
- Fri 12/13: 6th period Institute of Systems Biology presentation
- Sat 12/15: Programming Contest at UW
- Mon 12/16: 4th period: Google Developer presentation
- Thur 12/19: Quiz through scanners & strings (Quiz Practice)
- Tue 1/7: Project 6: Baby Names project due, best to get it done before break.
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

- Preview: Assignment 6: Baby Names (we will work through this)
Monday 12/10Reading input from a File using Scanners

Do 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. & Fence Post & While Loop Practice problems.

For Programming Competition:
- Download jdk-7u45-apidocs.zip on Java 7 Documentation download page (61Mb Zip file) - Install this on your PC - The Java 7 API is found at docs/api/index.html, just open it in a browser.
- Make sure to get a Programming Contest Permission Slip turned in please! Also don't forget team payment is due today too.
Warm Up: BJP3 6.5: Scanner Tokens
File input with Scanner (finish)
Java File TemperaturesAvoidError.java data: weather.txt and weather2.txt

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

Upcoming:
- Quiz on Thursday Dec 19th, this Quiz Practice is highly encouraged.
Friday 12/6Reading input from a File using Scanners

DUE TODAY: Your Guessing Game: Project 5 - Turn it in here.

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, Fenceposts and previous topics at end of period.
File input with Scanner
PDF File Handout: File Input with Scanners (new & improved!)
Let's solve a contest problem using file input... Reading Data From A File Practice

Reminder: Make sure to get your permission slips and fees in for the Programming Contest next Saturday. Thanks.
Thursday 12/5
(Block)
Using Fencepost solutions, while loops, and pseudo-random numbers to create a Guessing Game: Project 5, (DUE Friday now).

Complete your Guessing Game: Project 5 - Turn it in here.

- Make sure to get a Programming Contest Permission Slip from Mr. Bergquist and turn it in by early next week please! Also don't forget payment is due buy Monday too.

Done: Start doing problems from the: Contest practice Or start our Reading Data From A File Practice - new!
Cool: Amazon.com Prime Drone

Most common Internal Errors - why they are not good and how to fix them Project Correctness Checklist - make sure you don't repeat them in Guessing Game: Project 5.

Computer Science Week 2013 Activities including:
Women in Technology Luncheon

Lab day today but for Friday...
PDF File File input with Scanner
PDF File Handout: File Input with Scanners
Example: first problem of the April 2009 contest: Coded Pr2dot1.java (data file: pr21.dat)
Tuesday 12/3Using Fencepost solutions, while loops, and pseudo-random numbers to create a Guessing Game: Project 5, (due Thur 6th Dec).

Work on Guessing Game: Project 5, Turn it in here.
Lab Day to work on Guessing Game: Project 5

Also get signed off on: Strings Lab Practice & Fence Post & While Loop Practice problems.

UW Computer Science Open House 1pm - 5pm on Saturday, December 7th. Details Here
Monday 12/2Using Fencepost solutions, while loops, and pseudo-random numbers to create a Guessing Game: Project 5, (due Thur 6th Dec).
Get signed off on: Strings Lab Practice - Pig Latin & Caesar Cipher - should be done so you have time to work on the project & Fence Post & While Loop Practice
Work on Guessing Game: Project 5, (due Thur 5th Dec). 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
How do we get only one decimal value for the "Guesses/game" of Guessing Game?
- 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)
Wednesday 11/27
Happy Thanksgiving!
Fencepost conditions & solutions, using while loops, and creating pseudo-random numbers.

Finish up: Strings Lab Practice - sign off.
Do the Fence Post & While Loop Practice
Start Project 5: Guessing Game


Done? Prepare for the Programming Competition:
PDF File File input with Scanner
PDF File Line-based file input
Link Contest practice
Questions on Project 5: Guessing Game?

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

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.
(if you did not yesterday)

Done? Start on Project 5: Guessing Game (20 Points) Due Thur, Dec 5th.
Fenceposts, While loops & Math.random() (finish)
PDF File Handout: Fenceposts, While loops, & Random()

Introducing Project 5: Guessing Game (20 Points) Due Thur, Dec 5th.

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 for our next project...
Preview: Project 5: Guessing Game


Fenceposts, While loops & Math.random()
PDF File Handout: Fenceposts, While loops, & Random()
Java File WhileStarter01.java" (for lecture)

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

Readings in BJP for Monday
- 5.1 While Loops: pp 301 - 313 (include Random Method, p 306)
- 5.2 Fencepost Algorithms & Sentinel Loops: pp 313 - 319
Today's Warm up:
Java File WarmUpStrings2.java
Solution to Yesterday's 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

Today is last day for full credit on: (check all complete)
- Math & Scanners Lab Worksheet
- Returns & if/else Conditionals Lab Worksheet

Please Click here to help clean our Screens
wu: WarmUpStrings01.java
Due Dates for Lab exercises review.

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/19Using String methods & the char type

Strings Lab Practice

Thursday is last day for full credit on:
- Math & Scanners Lab Worksheet
- Returns & if/else Conditionals Lab Worksheet
wa: What would this code do?
Java File BabyNamer.java
Strings! Presentation (finish)

The Programing Competition is now full.
Monday 11/18Using String methods & the char type

Start Strings Lab Practice (You should be able to do the basic first 4, more details tomorrow.)

Let's finish Sign Off's for:
- Returns & if/else Conditionals Lab Worksheet
- Math & Scanners Lab Worksheet
+ If you did not turn in - Project 4: Birthday -
Turn it in here and talk to Mr. Bergquist
Warm Up: Method Declarations
Strings! Presentation (start)
PDF File Handout: Strings
Java FileGangstaNameStart.java .
Start Strings Lab Practice

What are you interested in for Computer Science Week (Dec 7-14)? What kind of speaker would you like??
Ready for the Programing Competition the 14th?
Friday 11/15Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday
Due Today: Project 4: Birthday
WARNING: I found about half the programs submitted have errors in output. Double check punctuation, new lines, the Introduction carefully or use Quick Diff!
Turn in Project 4 here

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

do more Practice It! problems
OR start early Strings Lab Practice, first read Strings Slides.
LAB DAY!
Due today...
- Project 4: Birthday -
Turn in Project 4 here
- Returns & if/else Conditionals Lab Worksheet
- Math & Scanners Lab Worksheet
Thurs
11/14
Using Returns, Conditionals (if/else) & Cumulative Algorithms to solve problems: Birthday

Get Returns & if/else Conditionals Lab Worksheet signed off...
Due Friday: Project 4: Birthday -
Turn in Project 4 here


Readings in BJP for Monday
- 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)
Review Quiz scores
Need help on Returns or Cumulative Sum let's go over this together...
Java File DemoCumulSumAvg2.java

Any individual need a team for the Programming Contest, Saturday Dec 14th!

Done?
Try fixing this code:
Java File NotQuiteMediocre.java
Or do more Practice It! problems
Tuesday
11/12
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, Saturday Dec 14th!
Register in Teams of 3 early - limited to 85 teams. Cost: $30 by Mon, Dec 9.
Monday 11/11 - Veterans Day
Friday 11/8Using Returns, Conditionals (if/else) & Math & Scanners Lab Worksheet should be signed off.
Cumulative Algorithms to solve problems: Birthday

Complete: Returns & if/else Conditionals Lab Worksheet
Then work on: Project 4: Birthday Due Friday Nov 15th.

1st Quarter Grades going out tonight.
Review Style Guidelines for: Project 4: Birthday Due Friday Nov 15th.
PDF Version of Project 4: Birthday details below to print out (links don't work)

Supplementary Material:
- Cummulative Sum Video
- Factoring if/else Video
Java File CondReturnsSums.java Sample Code
Thurs 11/7
(Block)
Using Cumulative Algorithms to solve problems
Math & Scanners Lab Worksheet should be signed off.
Complete: Returns & if/else Conditionals Lab Worksheet (Worth 25 Classwork Points)
Then Start: Project 4: Birthday Due Friday Nov 15th.

Java File Warm Up: If Returns & Max/Min values
Discussion: Late & Professional Behavior in the Lab
Cafe Wall - 3 Versions
Starter code Java File DemoCumulSumAvg.java
Q&A: Project 4: Birthday Due Friday Nov 15th. .

ANNOUNCING: Programming Contest, Saturday Dec 14th!
Register in Teams of 3 early - limited to 85 teams. Cost: $30 in by Mon, Dec 9.
Tuesday 11/5
Using AND & OR logic and Cumulative Algorithms to solve problems

Complete: Returns & if/else Conditionals Lab Worksheet

Preview: Project 4: Birthday Due Friday Nov 15th.

Check missing grades, Quarter Grades turned in end of the week.
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)
Monday 11/4Use conditionals to return results
End of the Quarter. Check the Source & make sure all your Lab worksheets are complete through the Graphics with Loops Practice It problems.

You should be signed off on Math & Scanners Lab Worksheet today.
Continue work on: Returns & if/else Conditionals Lab Worksheet (Worth 25 Classwork Points)

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)
Next: Advanced If Returns & Cumulative Sum - this will help with the Returns & if/else Conditionals Lab Worksheet
Warm Up:
Slide 5 from Advanced If Returns & Cumulative Sum (start.)
Java File QuadrantGridStart.java

PDF File Handout: for Returns & Conditionals (From Friday)
PDF File Handout: for Advanced If & Cumulative Sum (Copy available Tuesday...)

* For those who missed the Quiz last Thursday, it will be given second hour of this Thursday or make arrangements with me.

NCWIT: Aspirations in Computing deadline IS TODAY at 9pm, Monday Nov 4th.
Friday 11/1
End of Quarter
Assess skills using Math methods, Parameters & Graphics
Work on: Returns & if/else Conditionals Lab Worksheet

Reminder: deadline is Monday Nov 4th (Date Extended) for NCWIT Aspirations in Computing
Returns & Conditionals (if/else)
PDF File Handout: for Returns & Conditionals
Java File BMI.java

Supplemental Video: Nested if/else
Thur 10/31
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 early, look at the Returns & Condidtions (details from Tuesday). Let's get that one done by Friday for end of Quarter.
Quiz through DrawingPanel and Math (no Scanner)
Then go to lab...

NOTE: NCWIT: Aspirations in Computing deadline was extended to Monday Nov 4th.
Tuesday 10/29Using Math Methods to make calculations and Scanners for gathering input.
Complete & Sign off on: Math & Scanners Lab Worksheet

Readings in BJP for Friday
- 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)

WA state schools with CS programs, info sheet gathered by a fellow teacher.
Monday 10/28Using 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.

Our Garfield CS T-Shirt Design
Java File GarfieldCSRocks.java
Parameter & Graphics Review: warm up.
Java File ReviewParameters.java (Solution)

Anyone turning in Cafe Wall late, please talk to Mr Bergquist.

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

Project 3: Café Wall Now Due Friday, 10/25Turn It In Here

Complete: Math & Scanners Lab Worksheet

If you want a free Garfield CS T-Shirt, fill out this form TODAY. Otherwise you may miss out. Current Design
(warm up)
Returns: Math & Scanners (finish)
Sample Code:
Java File MathScannerTrial.java
Java File Scan10Tokens.java

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

Project 3: Café Wall Now Due Friday, 10/25, Turn It In Here

Work on: Math & Scanners Lab Worksheet
Returns: Math & Scanners
PDF File Handout: for Math Returns & Scanners

Deadline is a week away for NCWIT: Aspirations in Computing - Thursday, 31st October
Tuesday 10/22Creating scalable graphics using for loops & parameters.
Classwork below should be signed off
Work on Project 3: Café Wall Due Thur, 10/24, Turn It In Here

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
Lab Day today - work on Project 3: Café Wall
Looking ahead to Thursday:
Returns: Math & Scanners
PDF File Handout: for Math Returns & Scanners
Math & Scanners Lab Worksheet
Monday 10/21Creating scalable graphics using for loops & parameters.
Exit Ticket on Parameters & Graphics - 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 (sign off with next three...)
- 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/24, Turn It In Here
Time to work On Project 3: Café Wall

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

Exit Ticket on Parameters & Graphics - complete today.
Friday 10/19Creating 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 Thur 24th Oct.
If done early, try additional Chapter 3 and 3G problems in Practice It! See if you can get a high score.
Questions on: Project 3: Café Wall Due Thurs 25th Oct

4th: Multiple Cars Method.
Thursday 10/17
(Short Block)
Creating scalable graphics using for loops.
Get Signed off on (should finish up by Early next week):
- Parameter Practice Lab Worksheet
- Starting Graphics Drawings
- Self-Check 3.3 Parameter Mystery (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
Scale the Car from slide 6 of Graphics Part 2, with starter code: ScaleTheCar.java. Volunteers?
Java File GraphicsParameters.java

Preview: Project 3: Café Wall Due Thurs 24th Oct

Supplemental Video: Parameterized Graphics Video
Tuesday 10/15Creating 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
(wu)
Graphics Part 2
PDF File Handout: for Loops creating Graphics
Java File DemoParameterizedGraphics.java
Monday 10/14Using 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! - Worth 5 Classroom Points, due Tuesday, 15th Oct. You can later use this for your "Doodle" part of the next Project!
3) In Practice It! from UW, solve Self-Check 3.3 Parameter Mystery - 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 (finisht - intro to loops)

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.
Thur 10/10
Block)
Creating graphics with DrawingPanel.
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 your SpaceNeedle Program is marked as "Collected".

NEW Assigment: Starting Graphics Drawings - Worth 5 Classroom Points, due Tuesday, 15th Oct. (let's keep up)

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.3 Parameter Mystery 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

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

Java File GraphicsPrimer.java
Supplement: Basic Graphics Video

Tuesday 10/8Using Parameters & obeying Scope.
Get checked off on 1) & 2) of the Parameter Mystery Worksheet of yesterday's Handout (4th period)
Start 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 your SpaceNeedle Program is marked as "Collected". Missing scores will go to zero's tonight.
Classroom: Quiz for those who missed it.
Lab: finish up solving 1) & 2) of the Parameter Mystery Worksheet on back of Note Handout: Parameters. Get it signed off (4th period)
Then star work on Parameter Practice Lab Worksheet
Monday
10/7
Parameters & Scope.
Start: Parameter Practice Lab Worksheet Prioritize 1-3. First one is parameterizing RedundantStars.java

Readings in BJP for Thursday
- 3G.1 Introduction to Graphics: pp 189 - 205
- 3G.2 Procedural Decomposition with Graphics: pp 205 - 209

REMINDER: UW in the HS deadline is next Thursday, 10th October.
Warm up Java File ParameterBasics.java
Review of Scope
Java File ScopeTest1.java
Parameters (finish)
Java File RedundantStars.java
In groups, at your Table solve 1) & 2) of the Parameter Mystery Worksheet on back of Note Handout: Parameters.

Link Parameter Practice Lab Worksheet

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

Project 2 due TODAY 4th Oct! - Project 2: Space Needle
Turn It In Here

Readings in BJP: Parameters
- 3.1 Parameters: pp 133 - 147 for Friday

Done? Please create an account in : Practice It! from UW and do the exercises for Chapter 1-3. Try To get the HIGH SCORE.
start Parameters Presentation (start)
PDF File (for Monday) Note Handout: Parameters with Parameter Mystery Worksheet (back).

REMINDER: UW in the HS deadline is next Thursday, 10th October.
Thur 10/3 (Block)Assess your knowledge of Expression, Variables, Methods & for Loops.
Project 2 due Friday 4th Oct! - Project 2: Space Needle
Turn It In Here

Readings in BJP for Friday
- 3.1 Parameters: pp 133 - 147 for Friday
Quiz Today covers: Println, Method calls, Expressions, basic loops and Nested Loops.
Then finish up Project 2: Space Needle in the lab, due Tomorrow.
Tuesday 10/1Using nested loops & Class Constants to draw Complex Scalable images.
Complete Project 2: Space Needle
. Turn It In Here - now due Friday, 4th Oct.

Note deadline for Expressions & Loops Lab Worksheet & Complex Figure Exercise is Friday along with the Space Needle project.

Done, read Holding a Program in One's Head and do a bunch of Practice It! problems! Or help out a classmate...
Project 2: Space Needle - Review Criteria for Grading

Since Mr. Bergquist is not available after school on Tuesday, I have moved the due date for the Project 2: Space Needle to Friday, 4th Oct. Quiz is still on Thursday.
Monday 9/30Using nested loops & Class Constants to draw Complex Scalable images.
Work on Project 2: Space Needle
Turn It In Here by Thursday 3rd October.
(Note: Same day as our first Quiz)

Done? Review for the Quiz by:
- First, create 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
Ziggurat Warm Up
Exit Survey Results...
Presentation: Steps to create a Ziggurat figure (PDF)
PDF File Note Handout: Build a Ziggurat, Scalable Complex Figure
Java File ZigguratDemo.java

Quiz Block Day Thur (3rd): What's on it Any questions?
Friday 9/27
Spirit Day
Using nested loops & Class Constants to draw scalable images.

Please fill out our Loops Exit Ticket today.

Sign off on:
- Expressions & Loops Lab Worksheet
- Complex Figure Exercise
Then work on: Project 2: Space Needle? (due 3rd Oct)

GO BULLDOGS!!
Class Voted to do the Ziggurat Example on Monday...
Questions on: Project 2: Space Needle
due Thursday, 3rd Oct.
Thursday 9/26 [Block]
Using nested loops & Class Constants to draw scalable images.
Finish & sign off the: Expressions & Loops Lab Worksheet
Complete for sign off the: Complex Figure Exercise
Done? Work on Project 2: Space Needle? (due 3rd Oct)

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

In Lab Demos??:
- Starter:Scaling Inverted Pyramid
- Pick another? from these Sample Loop
Questions? Project 2: Space Needle Due Thursday 3rd October.

Reminder: UW in the HS: College credit for AP CS forms & fees due Thursday, 11th October.

Java code of Complex Shapes from our examples:
Java File ComplexFigures.java
Java File Mirror.java
. . .
Tuesday 9/24Using 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 3rd 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/23Using 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.)
Warm Up: Java File WarmUpSept272011.java
Let's Use the DeBugger in jGrasp
Complete Complex Figure & Class Constants
Java File MirrorStart.java

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

Please make sure you have completed both these Exit Tickets:
- Lesson 1: Println, Comments, & Static Methods
- Lesson 2: Expressions & Variables

Done? Start the Complex Figure Exercise we will be doing next Week.
Complex Figure & Class Constants (PDF)

Announcing: NCWIT Aspirations in Technology competition - all women in CS should consider applying.
Stop by the WIT meetings Monday at Lunch for more discussion.
Thurs 9/19
(Block)
Project 1 - Song due TODAY! Turn it in here
NOTE: Song Error Warnings found
Try testing your output with Quick Diff

Work On: Expressions & Loops Lab Worksheet

Done or need a break? Try Picobot

Readings in BJP for Friday
- 2.4 Managing Complexity: pp 97 - 108
- 2.5 Scaling a figure: pp 108 - 116
Nested for Loops (PDF)
Complete Expressions & Loops Lab Worksheet .

Supplemental Video:
Nested for Loops


Preview for Friday: Complex Figure & Class Constants presentation
Tuesday 9/17Using simple for Loops.

Continue: Expressions & Loops Lab Worksheet
for Loop (PDF)
PDF File Note Handout: for Loops

Supplemental Video: for Loops
Monday 9/16Solving Expressions in Java & creating Variables types.
1) Correct the code: Receipt.java to compute correctly
2) Continue on Expressions & Loops Lab Worksheet
Exit Tickets - Please fill out one of these (1 first):
- Lesson 1: Println, Comments, & Static Methods
Lesson 2: Expressions & Variables

Project 1: Song (10 Points) - You can Turn it in here (fixed) (Due Thur, Sept 19th)
Turn In will only work if you completed our AP CS Class Survey last week, if not take it immediately.

Readings in Building Java Programs (BJP): for Tuesday
- 2.3 For Loops: pp 87 - 94
- 2.3 Nested For Loops: pp 95 - 97
Exit Ticket Feedback
Expressions & Variables
PDF File Notes Handout: Expressions & Variables
Java File Receipt.java
Continue: Expressions & Loops Lab Worksheet
Supplemental Video: Variables & Assignments

Technology Clubs in 115a
- Women In Technology every Monday at Lunch
- Robotics Kick Off is Tuesday after school.
- Who is interested in a Programming Club?
Friday the 13th SeptSolving 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/19
3) Start: Expressions & Loops Lab Worksheet
+ Make sure you have taken our AP CS Class Survey today & have a text book.
Readings in BJP for Monday:
- 2.3 For Loops: pp 87 - 94
Questions on Project 1: Song? Due 9/19
Expressions & Variables
PDF File Note Handout: Expressions & Variables
Start: Expressions & Loops Lab Worksheet
Supplemental Video: Expressions
Thur 9/12
(Block)
Mastering Println & Decomposition using Static Methods. About our Coding Conventions & first Project.
1) Take our AP CS Class Survey please.
2) Work on & start sign off on: Println, Static Methods & Decomposition Lab Worksheet
3) Start Project 1: Song(10 Points) Due 9/19

Readings in Building Java Programs (BJP): for Friday
- 2.1 Basic Data Concepts: pp 62 - 72
- 2.2 Variables: pp 72 - 86
Class Contract Details:
PDF File Updated AP CS Syllabus 2013
PDF File Computer Science Classroom Guidelines
Link UW in the HS Details
Please return the last page (only) with your parent/guardian's signature ASAP.

PDF File Coding Conventions & Project Logistics Slides
Link Our AP CS Coding Conventions
Link Project 1: Song(10 Points) Due 9/19
Later...
PDF File Expressions & Variables
Tuesday 9/10Mastering Println & Decomposition using Static Methods.
Sign Off on BakeMoreCookies Decomposition
Work on: Println, Static Methods & Decomposition Lab Worksheet (last day for full credit: Sept 19th.)

Reminder: PDF File Computer Science Classroom Guidelines
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/9Begin using Println, Comments & Static Methods.
1) Decompose BakeSomeCookies.java into a few static methods to produce the same output.
Java File BakeSomeCookies.java
2) Fill out this online Exit Ticket: Lesson 1: Println, Comments, & Static Methods Thanks

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 (last day for full credit: Sept 19th.)
Friday 9/6Compile 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

Instructions: Installing Java 7 & jGRASP 2.0 at home
Programming, Java
Java File Hello.java
Thursday 9/5Understand details about the AP CS class. Familiar with our Classroom Guidelines.Code.org Video
HR Training on our...
Corporate Classroom Guidelines

PDF File Computer Science Classroom Guidelines

PDF File AP CS Syllabus
Wednesday 9/4Welcome to AP CS. Learn what this class is all about.PDF File AP CS Syllabus (pdf format)

* 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.