Mandatory TextIntroduction to Java Programming Fifth Edition (core edition)
By Daniel Liang
Prentice Hall Companion website
Optional TextJava How to Program, 6/ESoftware (See Class resources)
by Harvey M. Deitel, Paul J. Deitel
Prentice Hall 2005
Sun's Java compiler version 1.5
There will be two midterms and a final. Your grade will be 40 percent midterms plus 40 percent final plus 20 percent homework. If you plan to continue with computer science courses, you *MUST* get a grade of C or better in this course. No exceptions will be made.
The homework will consist of programming assignments. Style counts (that includes using meaningful names and providing sufficient comments in the body of the programs). Assignments must be done on the computer.
- Ten points will be deducted for each class day late, with a possible maximum of 30 points being deducted.
- Home works will not be accepted past the third class date after their assigned date.
- For each assignment that you do not not hand in within the limit, your final grade will be lowered by one letter grade (i.e., if you are averaging a B+, but you have missed 2 home works, your final grade will be B-).
- For your own good you must save all programs on a disk or other back-up storage medium. Lost programs or crashed systems do not provide adequate excuses for missing or late homeworks.
E-mail Accounts: All students are required to have e-mail addresses, and e-mail will be used extensively for communication with the course tutors, and for submitting the homework assignments. Your e-mail headers and mailing list subscription information must clearly display your name. Do not use an alias instead.
Class mailing list: It is an absolute requirement of this class to join the class mailing list. all important annoucements will be sent to the class mailing list
E-tutors and Computer Assignments: Our class has been assigned an e-tutor. The e-tutors are upper-level undergraduate students with exceptional academic records. They are available by e-mail to help you with questions about the computer assignments, to evaluate your submissions, and to steer you in the right direction when help is needed. Five or six programming assignments will be given. Solutions must be submitted by e-mail, on or before the due date. Your e-tutor will send you an e-mail giving a numerical grade for your program. The e-tutor will run the final program on various inputs, so it is important that the program work correctly for any choice of input.
Remember that although the e-tutor is there to help you, she is also helping many other students, so limit your e-mail communication to a reasonable amount. If you are have much difficulty with the programs, you should ask your instructor for assistance.
Cooperation, Acknowledgments and Cheating: You are expected to do your own work. It is fine, in fact often very helpful, to work cooperatively with other students, but the work you submit should be your own. If you get an idea from another student, or from a tutor, that you use in your work, this is OK, but you must acknowledge that person in the program comments. When you turn in an assignment, you are saying that you have done this work yourself. The Computer Science Department's Academic Integrity definition can be found on the web. Do not violate the rules. Disciplinary action will be taken.
Students who spend little time on the homework invariably do poorly on exams and end up with a poor final grade.
Introduction Chapter 1 JCreator or Netbeans basics Chapter 2 Java Primitive types and Operations Chapter 2
if/else and switch
Loop Statemnts: while, do-while, for
Chapter 3 Methods Chapter 4 Math class & Random method Chapter 4 Arrays Chapter 5 Strings Applets Chapter 14