Building Memory… Day 5 – April 13, 2007. Cards on Screen How can we arrange cards in a row/column manner? Use the Position class to help us translate.

Slides:



Advertisements
Similar presentations
Introduction to Java 2 Programming
Advertisements

Instructions 1. Print out two sets of slides 2 to Cut out the pictures from slides 4 to Select 4 or 5 pictures to use and arrange them on.
Abstract Classes We often define classes as subclasses of other classes – First, define the superclass – In some cases, a superclass may not have enough.
Static Methods Static methods are those methods that are not called on objects. In other words, they don’t have an implicit parameter. Random number generation.
CSCI 1100/1202 April 3, Testing A program should be executed multiple times with various input in an attempt to find errors Debugging is the process.
Instructions for today’s class Read through all the instructions and then LISTEN to the substitute and do what you have been instructed to do.
Oxford Working Memory. ? We will do a practice first.
INTRODUCTION. Painting with numbers! Aspects Modeling Rendering Animation.
©2004 Brooks/Cole Chapter 6 Methods. Figures ©2004 Brooks/Cole CS 119: Intro to JavaFall 2005 Using Methods We've already seen examples of using methods.
Building Memory… Notes from class on 4/4/07. The Game First understand what we are trying to build. Then, create a list of requirements/functionality.
Building Memory… Day 5 – November 27, Need to flip cards Create a remove method to remove from drawing canvas Call a show method to show on the.
Slides prepared by Rose Williams, Binghamton University Chapter 13 Interfaces and Inner Classes.
Building Memory… Day 4 – November 20, Some clean up from last time Applet class can now be run as either an Applet or an Application Made picture.
Building Memory… Day 2 – November 15, What do we want the game to look like? Window to appear Start game button Difficulty level selection Number.
Basic Definitions Data Structures: Data Structures: A data structure is a systematic way of organizing and accessing data. Or, It’s the logical relationship.
Java Classes Introduction and Chapter 1 Slides by Steve Armstrong LeTourneau University Longview, TX  2007,  Prentice Hall.
 There are many different kinds of barriers in the communication process.  The three main barriers that we will be discussing are; Semantic, Emotional,
Oakkar Fall The Need for Decision Engine Automate business processes Implement complex business decision logic Separation of rules and process Business.
Lecture 9 Using Objects. Remember: 3 Different Kinds of Classes 1.Application Class – what we've been doing – Has public static void main ( String []
Day Problems Factor each expression. 1.x 2 – a 2 – m 2 – 144m v 2 – 220v n 2 – 225.
Have you ever wondered how different mirrors work? Most mirrors show you a reflection that looks just like you. But other mirrors, like the mirrors commonly.
The purpose of this project is to determine who has a better memory, males or female? The reason why this is important is because if you had something.
Reading and Marking the Textbook Dual Enrollment Psychology.
CSCI 1100/1202 April 1-3, Program Development The creation of software involves four basic activities: –establishing the requirements –creating.
Arrangements and Duality Motivation: Ray-Tracing Fall 2001, Lecture 9 Presented by Darius Jazayeri 10/4/01.
Week 6 : Sequences ( lists, strings, and tuples ).
Bindings. Typical stages of program execution First, the program is compiled Then everything is loaded into memory Then it is linked to any library routines.
SEEM Java – Basic Introduction, Classes and Objects.
CS116 COMPILER ERRORS George Koutsogiannakis 1. How to work with compiler Errors The Compiler provide error messages to help you debug your code. The.
BY MR.SUTCHUKORN TANTITHANAWARAPONG COMPUTER TEACHER AT POOLCHAROENWITTAYAKOM SCHOOL Subject :Operating System C30207.
Swing Threading Nested Classes COMP 401 Fall 2014 Lecture 23 11/25/2014.
YG - CS Concept of Encapsulation What is encapsulation? - data and functions/methods are packaged together in the class normally.
Probability How likely it is that something will happen.
September 10, 2013 Properties of Transformations Essential Question: What properties of a figure are preserved under a translation, reflection, or rotation?
In the last several lessons, you have described translations using coordinates. You have also developed strategies for determining where an object started.
Slides prepared by Rose Williams, Binghamton University ICS201 Lecture 7 : Interfaces King Fahd University of Petroleum & Minerals College of Computer.
Motherboard By : Zachary Picht and Bailey Germain.
1. Graph y = 2x – 3 2. Graph y = ½ x Graph 6x + 3y = 9 4. Graph x + 2y = -1.
Implementing Singly Linked
Some Assignments  Write a program which prints the following information about at least 5 persons: NAME MAIL-ID EMPLOYEE-CODE PHONE Eg. Umesh
Memory Game.
Ensemble methods with Data Streams
Review: Chapter 5: Syntax directed translation
2D Viewing Pipeline.
Bellwork 1) How do you know if something represents a function or not?
Transferring Pictures – Part 2
Transferring Pictures – Part 1
Food that We Eat.
Warm Up Give the coordinates and quadrants of each point.
Advanced Java Programming
Alice terms Chapter 3.
MemTrax Memory Screening
Linear Relationships coordinates reflections origin
Introduction to transformational GEOMETRY
Introduction We exhibit many situations involving exponential growth of functions. For instance, the increase in the amounts of investment is a case.
Additional Example 2: Graphing Ordered Pairs Graph and label each point on a coordinate grid. A. L (3, 5) Start at (0, 0)
P.O.D. # 32 2/4/19.
Dichotomous Keys 1.
Building Memory… Day 3 – April 9, 2007.
Trade Barrier Mascot Group Activity.
Year 2 Summer Term Week 6 Lesson 1
Bell Ringer If m∠1 = 125°, find the measure of each angle. You do not have to explain your reasoning for this Bell Ringer only
Bell Ringer If m∠1 = 125°, find the measure of each angle. You do not have to explain your reasoning for this Bell Ringer only
What to expect this week
The common Language.
I have… I have… Who has 3:40? Who has 12:20? I have… I have…
Pair and Group Work – Conclusion
Lessons learnt from last years’ mock OSFAs
Critical, creative and problem solving skills
Better Memory: Male or Female?
Presentation transcript:

Building Memory… Day 5 – April 13, 2007

Cards on Screen How can we arrange cards in a row/column manner? Use the Position class to help us translate row/column coordinates into java.awt.Points Use of interface for constants

Constants Interface Only has values in it, no methods necessarily To create a constant in the interface, it is declared to be: –public (We’ve seen this before) –static (If something is static, you do not need to create an instance of the class it is in to access it) –final (Means it can not change)

Cards on Screen We showed the faces on the screen to check to make sure we have 20 different cards (10 pairs of 2) and that they seemed to be reasonably randomized on the screen.

Problem! Only 10 pictures show up, but it seems like we have a place for 20 cards…

A note about references