AP Java Learning Objectives

Slides:



Advertisements
Similar presentations
Factoring the Sum or the Difference of Two Cubes. Subtitle: Know the CARD!!!
Advertisements

Lecture 20 – Boolean Operators Dr. Patricia J. Riddle.
1 The Game of Life Supplement 2. 2 Background The Game of Life was devised by the British mathematician John Horton Conway in More sophisticated.
CS Summer 2005 Final class - July 1st Assorted fun topics in computability and complexity.
Investigation #1 (cont.)
Mental Starter: to solve mathematical problems or puzzles How many sticks have I used to make these two squares? How many sticks will I need to make 4.
Cellular Automata. The Game The Game of Life is not your typical computer game. It is a 'cellular automation', and was invented by the Cambridge mathematician.
Using square roots to solve quadratic equations. 2x² = 8 22 x² = 4 The opposite of squaring a number is taking its square root √ 4= ± 2.
TRASH BALL RULES! Two Teams- Designate a spokesperson on each team. ALL students will solve problem given on board. Team 1will answer. If CORRECT, team.
Investigation #1 (cont.) Products and Multiples. 1.3 The Product Game.
Essential Question: How do you solve a system of inequalities by graphing?
Factorization : Difference of Two Squares and Perfect Squares.
Lesson 3.5. ACT Practice Questions 1)Get out a piece of paper, and put your name on it. 2)I am going to show you 3 practice ACT math questions, and I.
Which list of numbers is ordered from least to greatest? 10 –3, , 1, 10, , 1, 10, 10 2, 10 – , 10 –3, 1, 10, , 10 –3,
ACT Prep: Lesson 3 Get out a piece of paper and put your name on it!
Multiplication Timed Tests.
Another method to solve quadratics
The Beauty of Computer Science
Cellular automata.
Generalizing Patterns: Table Tiles
Analysis and Comparison is ICS4U
Multiplication Strategies
Two-Dimensional Arrays
Example 2 Factor the polynomial. 12n n2 a. – 36 + = ( ) 2 n2 –
Chapter 8 Multidimensional Arrays
Solving Quadratic Equations by the Quadratic Formula
Quiz Time!.
Multiply using Distributive Property
Solving Quadratic Equations by the Quadratic Formula
Illustrations of Simple Cellular Automata
Week 9 - Monday CS 121.
6th Grade Module 1 Lesson 3.
עקרנות תכנות מונחה עצמים
Solving Quadratic Equations by the Quadratic Formula
Monday January 22, 2018 P-AP Projects Due February 1, 2018.
DO NOW Get out Reaction Mechanism Practice. Pick up review.
Life Skills Training Making Decisions
Topic 26 Two Dimensional Arrays
Proving Lines Parallel
Solving Quadratic Equations by the Quadratic Formula
Two-Dimensional Arrays
Spatio-temporal information in society: cellular automata

More 2 D Array.
Witzzle Pro The Rules of the Game.
Two-Dimensional Arrays
Solving Quadratic Equations by the Quadratic Formula
AP Chemistry Unit 6 – Chemical Bonding
Using just four straight lines, pass through all the dots without taking your pen off the page. No folding of paper allowed.
CS Software Studio Assignment 1
AP Biology First Day Mrs. Coach Lady Kiraly.
Modeling Pattern Formation in Skin Diseases by a Cellular Automaton
Continue with Life, Magic and Catch -up
Solve the equation: 6 x - 2 = 7 x + 7 Select the correct answer.
Multiplying Larger Numbers
POWER CHALLENGES Several Ways To Solve 7 CHALLENGES.
Solving Quadratic Equations by the Quadratic Formula
Solving Quadratic Equations by the Quadratic Formula
Multiplication Tables
Warmup Chapter P Review
Reading: Monday 3-11 Read an independent book silently. If you need to re-read parts of The Giver for the test on Wednesday, you may read that as well.
5.6 Solving Quadratic Equations by the Quadratic Formula
One of these things is not like the other
Use the ten frames to help solve the problems
Activity 2-1: The Game of Life
One of these things is not like the other
One of these things is not like the other
2D Array and Matrix Application: Game of Life
Solving Quadratic Equations by the Quadratic Formula
The rectangular stack is eight apples high.
Presentation transcript:

AP Java Learning Objectives Improve in solving AP Multiple Choice Questions Be able to develop a program that uses 2-Dimensional Arrays Improve in completing the ‘Elevens’ Lab Schedule: Kahoot Review: ‘AP CS MC Review’ Put your name on a piece of Paper Number your page 1 – 32 After answering the question: Write your answer When the correct answer is given. Correct your answer by describing why your answer was incorrect and why the correct answer is correct Turn it in when completed Complete the game of Life program from Tuesday Continue on the Elevens lab.

Program: Life The universe is a two-dimensional grid of square cells, each of which is in one of two possible states, alive or dead, or "populated" or "unpopulated". Every cell interacts with its eight neighbors, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step in time, the following transitions occur: Any live cell with fewer than two live neighbors dies, as if caused by under population. Any live cell with two or three live neighbors lives on to the next generation. Any live cell with more than three live neighbors dies, as if by overpopulation. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

Patterns - Any live cell with fewer than two live neighbors dies, as if caused by under population. - Any live cell with two or three live neighbors lives on to the next generation. - Any live cell with more than three live neighbors dies, as if by overpopulation. - Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.

Your application of Life You determine the size of the universe Fill your universe: Examples Each cell has a 1 in N chance of being alive for the first generation. You select the value for N or have the user enter the value for N. Look up potential life patterns. Run the game for several generations. Show the universe after each generation Push: Break the program into Methods. neighbors(), live(), die(), showUniverse(), populate() Push: Determine a way to use Objects in your solution. Push: Have your universe ‘wrap’