Supply requirements:

AP Stat - Please change the batteries in your TI-83 plus or TI-84 or charge your Nspire calculator and bring it to class every day. You will want a thick spiral notebook with pockets or a three-ring binder with pockets and loose leaf paper for this class.

AP Computer Science - You will need an 8GB or greater flash drive with a loop for a lanyard for this class. Do not expect to use this flash drive for any other classes. You will also want a spiral notebook or composition notebook, and a spiral index card deck or index cards hanging on a metal ring for recording commonly-used code or models of important methods in Java.

August 6, 2014

AP Statistics

You collected data today at five different stations. You and your group are responsible for assembling, graphically representing, analyzing, and explaining the data collected at your beginning station. Be prepared to share your results with the class (as a group) on Friday. Graphs of the results follow.

SIXTH PERIOD GRAPHS FOLLOW

AP Computer Science: Whoo hoo! We have a program that computes Fibonacci numbers upon request. Our program uses a For loop and some other functions available in the calculator's programming toolbox. We will improve upon this program and extend our skills to While loops and if statements in the next two days.

The program (so far) is based upon the following logic:

Initialize the first two elements to 1 and 1.

Begin loop

Add the two values together.

Replace the lesser of the two values with the greater.

Replace the greater of the two values with the sum you computed.

Return the sum you computed.

End loop

Bring some ideas to class for little programs that would make performing the arithmetic in your classes easier.

August 7, 2014

AP Statistics

You will make presentations on your data Friday. Each presentation should last no more than five minutes and cover the topics addressed on the assignment sheet issued yesterday. The comparisons with the other posters can be completed after all the presentations have been made.

AP Computer Science

Here's a version of the code with annotations that seems to work for the first assignment (print N Fib. numbers to List 1).

Code Annotation

ClrList L_{1 }*Clears the list to erase any leftover information from previous runs*

1→ X * Assigns the value 1 to X*

1→ Y * Assigns the value 1 to Y*

X → L_{1}(1) *Stores the value from X on the first line of List 1*

Y → L_{1}(2) *Stores the value from Y on the second line of List 1*

Prompt N *Prompts the user for the number of Fib numbers to calculate*

For (I, 3, N) *Starts a loop, where the value of I gets increased by one unit with*

* each pass through the loop until the value is no longer less than or equal*

* to N*

X + Y → Z *Adds the values from X and Y together and stores the sum in Z*

Y → X *Copies the value stored in Y into X*

Z → Y *Copies the value stored in Z into Y*

Z → L_{1}(I) *Stores the value of Z on the Ith row of List 1.*

Disp Z *Print the value of Z to the screen*

End *End the loop, increase the value of I by 1, and start the loop again*

For the second assignment, finding the greatest Fibonacci number that is less than a target maximum number, we begin with this modified version of the first program:

ClrList L_{1}

1→ x

1→ y

X → L_{1}(1)

Y → L_{1}(2)

Prompt L

2→Z

3→J

While Z ≤ L

X + Y → Z

Y → X

Z → y

Z → L_{1}(J)

J+1→J

Disp Z

End

This code does not work properly. Using only the strategies demonstrated so far in class (NO IF STATEMENTS!!!), fix the code for homework.

August 8, 2014

AP Statistics

AP Computer Science

HW: Modify the code from your program to prompt the user for a number that will "work" if they provided a limit that was not suitable. You have to test your code to determine what the condition is FOR YOUR PROGRAM!!!! Use the check values in the Checking for errors document to find the values that work and don't work for your program. Notes about the format of the IF function are provided in the If condition sheet. A copy of two versions of the code from yesterday can be viewed here: APCS ti prog. There are two different solutions to last night's assignment and two different treatments of the variable you used for the line number (initializing at 2 or 3 and placing the incrementing command in different places).

If you used I to represent the line numbers, then use I consistently. If you used J, then J should be used consistently. Don't use them both in the same program.

August 11, 2014

AP Statistics

We graphed boxplot and split stem and leaf plots today to represent our class data. With boxplots, find the 5 number summary first (min, Q1, median, Q3, and max), then plot the middle three on the numberline. Make the box and mark the median. Then determine how low or high an observed value could be and still be reasonable (within 1.5 IQRs of the box). The rest of the values would be considered outliers. The whiskers are drawn to the last reasonable value in each direction. The outliers--the unreasonable values--are marked with stars.

Split stem and leaf graphs portrayed the data with the tens digit on the left of the line and the ones digit neatly arranged in rows on the right. http://learnalgebrafaster.com/split-stem-and-leaf-plot/

HW: Do the "variables III" side of the sheet handed out in class. We will explore Variables I tomorrow and pick up textbooks.

AP Computer Science

Begin to write the quadratic formula "super" program by programming the prompts for A, B, and C in a new program and initializing a bunch of variables to 0. Here are the notes, a.k.a. the wish list, for 7th period to use as a guide. Download QUAD FORM notes

August 12. 2014

AP Stat--Bring a copy of a graph (not a bar graph) from an article, journal, magazine, or newspaper that represents something that you are interested in and was published in June, July, or August of this year.

AP Comp Sci--Investigate any aspects of the calculator programming project that you could not accomplish in class today. Be ready to program with your group tomorrow.

August 13, 2014

AP Stat - Bring your graphs! Make sure that your graph is not a bar graph.

AP CS - Bring a printout of the portion of the program that your group is responsible for. It must be legible.

August 14, 2014

AP Stat- Finish both the Pasta worksheet and the presidents worksheet for tomorrow. Bring your text to class so we can work some of the problems from the bottom of the presidents sheet.

AP Computer Science - Bring your programmed calculator to class on Friday. We're ready to test the programs you've written. Here are a couple of examples you can use to prepare for the test run:

A=3, B=0, C=-9

vertex = (0,3)

Axis of symmetry: x = 0

roots -1.732 & 1.732

--------------------------------------------

A = 3, B = 12, C = -9

vertex = (-2, -21)

Axis of symmetry : x = -2

roots -4.646 & .646

August 15, 2014

AP Stat

Chapter 1 problems 80, 82, 84, 87, 93, 95, 98, 100, and 104

AP CS Here is a copy of one graphing solution. If you snapped a picture, then you owe me an email!

Download Lauren O QuadformGraph (1)

August 19, 2014

AP Stat - Please finish the packet of free response questions handed out on Monday. You are responsible for all the questions. Let the rubrics for the questions discussed in class guide your responses.

AP Computer Science - Most of you successfully printed a copy of your spreadsheet today. You need to get your spreadsheet ready for the final test: I will give you the coefficients of three quadratic polynomials and you will use your spreadsheet to find the relevant measures---LIVE!

August 20, 2014

AP Stat - Complete this Study Guide AND work problems 44, 46, and 48 from Chapter 1.

AP Computer Science - Finish the Excel worksheet that you started in class (that finds the characteristics of a quadratic from its coefficients). I will test them LIVE on Monday. You will be given three sets of coefficients, and your grade will reflect whether or not your program correctly identified the axis of symmetry, vertex, roots, etc. --the same elements we programmed on the calculators-- for each of the quadratics identified.

In addition, you are to create a maze using Scratch programming.

August 21, 2014

AP Stat - Complete those portions of the study guide above and the problems from the book that you have not finished.

AP Comp Sci - Make your maze-running sprite solve the maze independently. Keep your maze simple, and make your program efficient. We are not trying to create a HUGE problem to solve--just one little problem at a time.

August 22, 2014

AP Stat- Our first test will be next Friday. Please finish the study guide and problems 44, 46, and 48. We will finish the rest of Chapter 1 early next week. 1st-3rd period students: If you need to take the test early Friday morning because of Pep Rally responsibilities, please let me know by Wednesday.

AP Computer Science- Thank you for your flexibility this week. You are working on two projects right now. First, the Excel spreadsheet that provides the characteristics of a quadratic function is due on Monday. We will test it live.

Second, the scratch program that you're working on should be written in little steps.

1. Figure out what the blocks in the menus do and how to create a maze. Make the sprite follow the maze, through keystroke directions or by going specified numbers of steps.

2. Automate the sprite so it solves the maze itself. There should not be ANY Move 5 steps commands or anything like them in your program.

3. Create a new maze. Improve your program so it solves both types of mazes. Keep improving it until it will solve many kinds of mazes.

August 25, 2014

AP Statistics

Complete the part of your study guide associated with section 1.1. Bring your completed study guide to class on Tuesday.

AP Computer Science

Your Excel worksheet computing the characteristics of quadratics was due today. Those who were not successful in demonstrating the worksheet today must show it tomorrow (for reduced points).

You should have made substantial progress toward your maze program. If you are having difficulty using [keep going until you hit the wall--then turn and repeat] logic, try hugging the wall [keep going as long as you are touching the wall--else back up and turn] logic. Your scripts should work on three different mazes, a spiral maze, an S-type maze, and a maze with bad branches.

August 26, 2014

AP Statistics - Your test is Friday. You have already completed a study guide for the chapter and worked many free response questions related to the content. Today you practiced computing joint, marginal, and conditional probabilities AND you learned about Simpson's Paradox. HW: Complete the worksheets handed out in class today and look over the review materials in the textbook.

AP Computer Science - We're creating the "mowerSprite" class and methods. The mower should leave a trail as it makes each pass through the yard and it will probably need to make one pass around the outside to clean up the parts that the mower missed during its regular run. If you have not yet shown me the answers to your Excel worksheet, you are losing points by the day. Get it done!