There are five steps to the programming cycle: plan, code, test, integrate, and refactor.
Use method stubbing to test sections of source code without having to code the entire method.
There are two types of complexity: conceptual and physical. Object-oriented programming and design techniques help manage conceptual complexity. Physical complexity is managed with smart project file-management techniques, by splitting projects into multiple files, and using packages to organize source code.
Self-commenting source code is easy to read and debug. Adopt smart variable, constant, and method-naming conventions and stick with them.
Maximize cohesion minimize coupling!
1.
List at least seven skills you must master in your studies of the Java programming language.
The seven skills which must be mastered in order to be competent as a JAVA programmer are:
a. A development environment. You must have at least a text editor and a compiler to begin your work.
b. A computer
c. Problem Solving skills
d. Knowledge of how to approach programming tasks and projects.
e. How to put yourself in the mood to program
f. Object oriented programming and complexity
g. OO programming skills
h. An API
2. What three development roles will you play as a student?
Analyst -- At first you will play the role of analyst. You will need to work through the problem/task you are trying to accomplish and think of the many facets it may have.
Architect -- Once you understand your problem, you must design a solution for the problem. Two components of a good design are the scalability and a lack of complexity if possible.
Programmer -- You will then play programmer and actually code the project.
3. What is the purpose of the project-approach strategy?
The purpose of the project approach strategy is to give you directions and goals. It allows you to break large projects down into smaller units and accomplish small portions at a time.
4. List and describe the four areas of concern addressed in the project-approach strategy.
1. Application Requirements -- These requirements make assumptions about the application behavior.
2. Problem Domain -- This is the specific problem you are being asked to solve.
3. programming language features -- this is a listing of all features that will be used. review the list to make sure all components are understood.
4. High-Level Design & Implementation Strategy -- This can be a procedural based design approach or an object oriented design approach.
A procedural approach breaks the problem down into many smaller problems and keeps the code seperate from the data structures it manipulates.
An object oriented approach thinks about objects and the interactions between those objects. The data an object needs to maniupulate or work is contained within the object itself.
5. List and describe the five steps of the programming cycle.
6.
What are the two types of complexity?
7.
What is meant by the term isomorphic mapping ?
8.
Why do you think it would be helpful to write self-commenting source code?
9.
What can you do in your source code to maximize cohesion?
10.
What can you do in your source code to minimize coupling?
ဘာသာျပန္ေပးခ်င္ပါတယ္ အခ်ိန္ရရင္ျပန္ျပီးတင္ေပးပါမယ္
ေက်းဇူးတင္ပါတယ္ခင္ဗ်ာ
Monday, September 17, 2007
Subscribe to:
Post Comments (Atom)


0 comments:
Post a Comment