Docsity

Lecture Notes on Eclipse and Coding Standards | CSC 1760, Study notes of Computer Science

Toggle sidebar
bg1
CSC 1760 Introduction to Programming
Lesson 2: Eclipse and Coding Standards
Due Date: 1/9/2009
1. Textbook: Introduction to Java Programming, Brief Version, Seventh Edition,
Author: Y. Daniel Liang, 2009, Prentice Hall
a. Reference: None
2. Program Grading Standards.
Each program is graded using the following standard:
a. Program compiles without any compile errors or warnings: 25%
b. Program executes without any runtime errors: 25%
c. Program produces correct results: 25%
d. Program contains correct header information: 15%
e. Program uses coding standards: 10%
3. Eclipse
A software development environment (SDE) written in Java to provide software
developers and administrators an integrated development environment (IDE). It
has a source code editor, compiler, build automation tools, and debugger that
specifically support Java programming. It also provides and manages a storage
structure for easier project management.
4. Coding Standards
Coding standards help programmers organize and manage their programs. In this
class we will use the coding standards developed and maintained by Sun
Microsystems specifically for Java programs.
5. Tasks
a. Become familiar with Eclipse.
b. Review the help file that is part of Eclipse.
c. Review the Eclipse tutorial at
http://www.uncp.edu/home/lilliec/Spring2009/EclipseTutorial/EclipseTutorial.htm.
d. Practice using Eclipse by entering and running the programs in the
Practice Programs section at the end of this paper.
6. Assignment due: None.
pf3

Partial preview of the text

Download Lecture Notes on Eclipse and Coding Standards | CSC 1760 and more Study notes Computer Science in PDF only on Docsity!

CSC 1760 Introduction to Programming

Lesson 2: Eclipse and Coding Standards

Due Date: 1/9/

1. Textbook: Introduction to Java Programming, Brief Version , Seventh Edition,

Author: Y. Daniel Liang, 2009, Prentice Hall

a. Reference: None

2. Program Grading Standards.

Each program is graded using the following standard:

a. Program compiles without any compile errors or warnings: 25%

b. Program executes without any runtime errors: 25%

c. Program produces correct results: 25%

d. Program contains correct header information: 15%

e. Program uses coding standards: 10%

3. Eclipse

A software development environment (SDE) written in Java to provide software

developers and administrators an integrated development environment (IDE). It

has a source code editor, compiler, build automation tools, and debugger that

specifically support Java programming. It also provides and manages a storage

structure for easier project management.

4. Coding Standards

Coding standards help programmers organize and manage their programs. In this

class we will use the coding standards developed and maintained by Sun

Microsystems specifically for Java programs.

5. Tasks

a. Become familiar with Eclipse.

b. Review the help file that is part of Eclipse.

c. Review the Eclipse tutorial at

http://www.uncp.edu/home/lilliec/Spring2009/EclipseTutorial/EclipseTutorial.htm.

d. Practice using Eclipse by entering and running the programs in the

Practice Programs section at the end of this paper.

6. Assignment due: None.

Practice Programs

1. FirstProgram

  • Student Name:
  • Date Due: 1/9/
  • Date Submitted:
  • Program Name: FirstProgram
  • Program Description: Displays “My first java program.”
  • to computer monitor.

****************************************/ public class FirstProgram { public static void main(string[] args) { System.out.println(“My first java program.”); } }

2. AddTwoNumbers

  • Student Name:
  • Date Due: 1/9/
  • Date Submitted:
  • Program Name: AddTwoNumbers
  • Program Description: Add two numbers and display the results

****************************************/ package AddTwoNumbers; public class AddTwoNumbers { public static void main(String[] args) { int num1 = 5; int num2 = 6; int num3 = num1 + num2; System. out .println(num1 + " + " + num2 + " = " + num3); } }