java programming



The style rules are not overly restrictive.

1) Your programs should use the normal Java conventions (class names begin with an uppercase letter, variable names begin with a lowercase letter, public static final constants

should be in all caps, etc.).

2) In general, use short but descriptive variable names. There are exceptions to this rule;

for example, traditional loop variables are often called i, j, k, etc. Avoid very long

names; they are hard to read, take up too much screen space, and are easy to mistype.

3) Use a consistent indentation size. Beware of the TAB vs SPACE problem: Tabs have

no fixed size; one editor might interpret a tab to be 4 spaces and another might use 8

spaces. If you mix tabs and spaces, you will have indenting errors when your code is

viewed in different editors.

4) Use a consistent and aligned brace style.

5) Insert a space around operators (except the period ”.”)

6) Avoid using ”magic numbers”. A magic number is a number that appears in a program

in place of a named constant.

7) A good IDE (integrated development environment) such as eclipse will correct many

style errors for you. In eclipse, you can select the code that you want to format, right

click to bring up a context menu, and choose Source → Format to automatically format

your code.


Complete the implementations of various classes in a Student Management System. Read

the API for StudentManagementSystem carefully, the API of this lab is available under

doc folder in the Java project folder (doc→[login to view URL]). Some example tests are given to

you in the Tester class. You are required to write (at least three) additional tests to further

ensure the correctness of your Student Management implementations.


We consider a database that stores information about students and courses. Each student

record (e.g., String name, double percentage, int course ID) can be uniquely identified by a

String ID (e.g., ”e1”), whereas each course record (e.g., String name and String instructor

for course name and instructor name, respectively ) can be uniquely identified by an integer

id (e.g., 2030).

You must implement all methods in the StudentManagementSystem by manipulating

the two attributes students and courses, each of which declared as a HashMap.

class StudentManagementSystem {

HashMap<Integer, CourseInfo> courses;

HashMap<String, StudentInfo > students;

/* All methods must be implemented via ’courses’ and ’students’



Override the compareTo and equals methods in the StudentInfo class. Override the

equals method in the CourseInfo [login to view URL] simplicity, you can assume that a student cannot

be registered in multiple courses. For this lab you are required to submit Java files such as

CourseInfo, StudentInfo, StudentManagementSystem, Tester in your Eclipse project. Note

that the exception classes are available in the project folder.


[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

Habilidades: Programação C, Java, JavaFX, Javascript, Arquitetura de software

Veja mais: system wide right click context menu, global right click menu context hook, javascript right click context menu treeview, java programming basics, java programming for beginners, java programming software, java programming examples, java programming tutorial, java programming download, java programming pdf, java programming books, java script need click, right click context menu hook, add context menu icon source code, context menu selected text right click, vb6 system wide right click context hook, context menu vc source, shell context menu icon source, need help java programming gui assignment, context menu handler source visual studio

Acerca do Empregador:
( 7 comentários ) Richmond Hill, Canada

ID do Projeto: #18822059

Concedido a:


Hi there, I do Java programming. I went through your requirements and I would like to do this project if given the opportunity. Let me know if you are interested.

$30 CAD em 0 dias
(1346 Comentários)

2 freelancers estão ofertando em média $28 para esse trabalho


Ready for the task

$25 CAD em 1 dia
(0 Comentários)