Java Programming in CSC 1760: Eclipse Setup & Coding Standards - Prof. Charles W. Lillie, Assignments of Computer Science

The instructions for setting up the eclipse integrated development environment (ide) for the java programming course csc 1760. It includes information on creating a project, package, and class in eclipse, as well as following the coding standards provided by sun microsystems. Students are required to use eclipse as their ide and adhere to the coding standards for their assignments.

Typology: Assignments

Pre 2010

Uploaded on 08/09/2009

koofers-user-ck9-1
koofers-user-ck9-1 🇺🇸

10 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CSC 1760 Introduction to Programming
Lesson 1: Eclipse and Coding Standards
Due Date: 1/5/2009
1. Textbook: Introduction to Java Programming, Brief Version, Seventh Edition,
Author: Y. Daniel Liang, 2009, Prentice Hall
a. Reference: None
2. Eclipse
A software development environment (SED) written in Java to provide software
developers and administrators an integrated development environment (IDE). It
has a source code editor, compiler, buildin automation tools, and debugger that
specifically support Java programming. It also provides and manages a storage
structure for easier project management.
3. Eclipse Workspace
a. Your workspace for CSC 1760 is on the Snappy drive in your course
folder. The programs to be graded will be placed in that workspace.
b. You will receive grades on programs in 22 lessons (the first two lessons
are not graded). The programs for those lessons will be placed in your
workspace in a Java Project named with the lesson’s identification. For
example, Lesson03 will be stored in Java Project Lesson03. (Note: no
space between the word Lesson and the number 03.)
c. Within a project there are packages. The name of the package for each
lesson will have the same name as the program’s name unless otherwise
instructed in the lesson. In Lesson03 you are to create a program named
FirstProgram.java. The package name for that program will be
FirstProgram.
d. Finally, you will create classes. A class is a Java program that performs
actions. In Lesson03 the first class you create will be named
FirstProgram. It will be stored in your workspace in subdirectory
Lesson03 src FirstProgram and have the file name FirstProgram.java.
e. It is important that you store the programs in the proper workspace, Java
Project, package and give the program the name directed in the lesson.
When I grade your work I will look in your workspace and Java Project
folder to find the programs to grade.
4. Steps to begin entering a program:
a. Create a Project
File New Java Project
b. Create a Package
File New Package
c. Create a Class
File New Class
pf3

Partial preview of the text

Download Java Programming in CSC 1760: Eclipse Setup & Coding Standards - Prof. Charles W. Lillie and more Assignments Computer Science in PDF only on Docsity!

CSC 1760 Introduction to Programming

Lesson 1: Eclipse and Coding Standards

Due Date: 1/5/

  1. Textbook: Introduction to Java Programming, Brief Version , Seventh Edition, Author: Y. Daniel Liang, 2009, Prentice Hall a. Reference: None
  2. Eclipse A software development environment (SED) written in Java to provide software developers and administrators an integrated development environment (IDE). It has a source code editor, compiler, buildin automation tools, and debugger that specifically support Java programming. It also provides and manages a storage structure for easier project management.
  3. Eclipse Workspace a. Your workspace for CSC 1760 is on the Snappy drive in your course folder. The programs to be graded will be placed in that workspace. b. You will receive grades on programs in 22 lessons (the first two lessons are not graded). The programs for those lessons will be placed in your workspace in a Java Project named with the lesson’s identification. For example, Lesson03 will be stored in Java Project Lesson03. (Note: no space between the word Lesson and the number 03.) c. Within a project there are packages. The name of the package for each lesson will have the same name as the program’s name unless otherwise instructed in the lesson. In Lesson03 you are to create a program named FirstProgram.java. The package name for that program will be FirstProgram. d. Finally, you will create classes. A class is a Java program that performs actions. In Lesson03 the first class you create will be named FirstProgram. It will be stored in your workspace in subdirectory Lesson03  src  FirstProgram and have the file name FirstProgram.java. e. It is important that you store the programs in the proper workspace, Java Project, package and give the program the name directed in the lesson. When I grade your work I will look in your workspace and Java Project folder to find the programs to grade.
  4. Steps to begin entering a program: a. Create a Project File  New  Java Project b. Create a Package File  New  Package c. Create a Class File  New  Class
  1. 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.
  2. Tasks a. Review the Eclipse tutorial located on the course web site at http://www.uncp.edu/home/lilliec/Spring2009/csc176001/handouts.htm. You will be using Eclipse as your IDE. b. Review the coding standards located on the course web site at http://www.uncp.edu/home/lilliec/Spring2009/csc176001/handouts.htm. You are required to follow these coding standards. One part of your homework grade will be an evaluation of how closely you followed the coding standards.
  3. All programs submitted for grading will have the following header before anything else in the file: /**************************************** * * Student Name: * Date Due: * Date Submitted: * Program Name: * Program Description: * * ****************************************/ An example program with this header is: /**************************************** * * Student Name: Dr. Charles W. Lillie * Date Due: 1/5/ * Date Submitted: 1/5/ * 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.”); } }