20111017

20111017 - Week 7 Object-Oriented Programming Team...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon
Office of Instructional and Research Week 7 Object-Oriented Programming Team Programming Assignment #2 continued ITI 202
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Office of Instructional and Research This week: Monday Documenting Our Code Warning Grades Team Coding Wednesday More Team Coding
Background image of page 2
Office of Instructional and Research Announcements Week 7 Blog – Learning Languages Learning a second language in life can be difficult. Fortunately, most languages have a few very important concepts in common that can make learning easier once they are discovered. Pick 1 similarity and 1 difference between java and another computer language you’ve learned (python, c, etc. .) and discuss. Are you finding it easier or more confusing because of your knowledge of this other language? Blogs should be submitted by 11:59pm, Sunday October
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Office of Instructional and Research Blogs More About Methods Try…Catch Debugger Team Assignment – Going (Mostly) Well
Background image of page 4
Office of Instructional and Research Documenting Your Code What constitutes “well-documented code” Author – who should I look for if I have questions about the code? What is the section of code supposed to do? If the section of the code requires arguments, what are they? For variables, what are they used for. Are there limitations on the values acceptable for that variable?
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Office of Instructional and Research Documenting Your Code public class SampleProgram { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub } } /* … */ or // to place a comment. As seen above, eclipse tries to remind you of where comments (documentation) would be helpful,
Background image of page 6
Office of Instructional and Research Documenting Your Code public class RandomNum { // Author: CoderDude // Generate a series of random numbers. public static int HOWMANY = 5; // How many random numbers to create public static int MINNUM = 1; // The minimum number to create public static int MAXNUM = 200; // The maximum number to create public static void main(String[] args) { // Generate a series of random numbers int workingNum = 0; for ( int currentNum = 1; currentNum <= HOWMANY ;currentNum++) { workingNum = getNum ( MINNUM , MAXNUM ); fizzbang3. getFizzOrBang (workingNum); }
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 8
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 19

20111017 - Week 7 Object-Oriented Programming Team...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online