1 / 8

APCS-A: Java

APCS-A: Java. Marine Biology Case Study Chapter 1 October 28, 2005. Why a Case Study?. Gives you the opportunity to work through a large significant program (Not just a “toy” example) Helps you think about issues of good program design

chen
Download Presentation

APCS-A: Java

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. APCS-A: Java Marine Biology Case Study Chapter 1 October 28, 2005

  2. Why a Case Study? • Gives you the opportunity to work through a large significant program (Not just a “toy” example) • Helps you think about issues of good program design • Helps you learn good code practice by looking at an expert’s code

  3. Getting Started - the code • //student/shared/US Courses -- copy the JavaMBS folder to your network drive

  4. Chapter 1: 9-17 Chapter 2: 18-51 Chapter 3: 52-62 Chapter 4: 63-78 Chapter 5: 79-107 Appendix A – Testable Classes and Concepts Appendix B – Source Code for Visible Classes Appendix C – Black Box Classes Appendix D – Environment Implementations Appendix E – Quick Reference for A test Appendix F – Quick Reference for AB test Appendix G – Index for Source Code And the “Book” • Student Manual to the Marine Biology Simulation Case Study (150 pages total)

  5. Object Diagrams • Cast of Characters • The Driver • The Simulation • Step (public method) • Fish: • act, location, id, color, direction (public methods) • move, nextLocation, emptyNeighbors (private methods)

  6. Study Skill Note • Some of this text is difficult to read • You might read a paragraph and not actually be paying attention and forget what you read • So you may have to re-read the same paragraph several times to understand and grasp what it is saying • Be active with the text while you read • Highlight • Make notes in the margin • Look at the diagrams as you try to figure out the explanation • Draw connections while you read

  7. Chapter 1 • Experimenting with the Marine Biology Simulation Program • Straight-forward, easy to read chapter • Do Analysis Questions and Exercise Sets as you read • Work on this in class today with a partner

  8. Role Play • We will be acting out the Marine Biology code Monday in class • Will help you better understand intercommunicating classes • Will help you become familiar with the classes of the case study • Homework: Read your Script • You will be speaking your lines, but not your “stage instructions” • Words in boldface represent requests that someone perform a task • Underlined phrases in angle brackets represent ideas that should be applied <your name> • Indentation matters

More Related