

"human error" in the creation of a computer program.ġ4 Section 15.3 Understand the Problem Descriptionġ5 Chess Analogy - 1 Consider Alex. The one thing that can NEVER be compromised is Reliability!ġ3 Computer Error? The statement "Computer Error" really is a

Now, memory is sacrificed for readability and speed. In the old days, readability was sacrificed for memory.

Understand a problem description, purpose and goals Apply data abstraction and encapsulation Understand class specifications Understand "is-a" class relationships Understand "has-a" class relationships Understand and implement a given class hierarchy Identify and use existing class libraries Identify reusable code from existing code Design classes Know implementation techniquesĨ AP Exam Alert You can expect AP Computer Science Examination questions on the multiple choice segment and the free response segment about program design.ĩ Section 15.2 The Design Compromise Triangle Place common purpose modules in a class.ħ APCS Program Design Comprehend the design of a provided program Do not place all your code in the main method. Use meaningful, self-documenting identifiers. Write your program in a clear, consistent style. However, this chapter is not titled Method Design, but rather Program Design. Even with OOP when you write an individual method, you will probably go through these exact five steps. This is not to say that the previous five steps are meaningless. OOP Program Design Step # Step Mission 1 Understand the Problem Description 2 Class Design 3 Method Design 4 Class Interaction Now that OOP has become the thing-to-do, the program design steps need to be adjusted somewhat. "The 5 Stages of Program Development" Step # Step Mission 1 Understand the Problem 2 Develop an Algorithm 3 Code the Algorithm 4 Test and Debug the Program 5 Update and Enhancement These video games are quite small compared to application programs like CAD and many other popular application programs. Yet a typical video game created in the late 1990s had programs that exceed 500,000 lines of programming. The average student thinks that any program over 1000 lines in length is a large program.

Leon Schram Authors of Exposure Javaģ Introduction Correct program design makes the complexity of today's program requirements possible. Presentation on theme: "Exposure Java 2013 APCS Edition Chapter 15 Slides Program Design"- Presentation transcript:ġ Exposure Java 2013 APCS Edition Chapter 15 Slides Program Design
