Mandatory TextIntroduction to Java Programming Fifth Edition
By Daniel Liang
Optional TextJava How to Program, 6/E
by Harvey M. Deitel, Paul J. Deitel
Prentice Hall 2005
This is a first course in computer science, using Java, an object oriented language. Some basic knowledge in a language is required. You should be familiar with the following concepts, in either C, Java or Pascal:
- Variables: types integer and real (int and float in C)
- Arithmetic and Boolean operators and expressions
- The assignment statement
- The if--else statement, including nested if--else statements
- The for loop, including nested for loops
- Basic input and output.
Students without programming experience should take the more introductory course V22.0002.
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. Submitting your homework files by e-mail from the lab or from home is easy, and is explained on the course homepage.
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 listE-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 role of the e-tutor is just as much to help you learn to successfully write programs as to evaluate your final submissions. 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. If you are not sure whether something is cheating or not, ask your e-tutor or your instructor! Cheating, that is submitting work which is not your own, with or without the author's permission, generally leads to a course grade of F.
Students who spend little time on the homework invariably do poorly on exams and end up with a poor final grade.
Assistance at the Lab: If you are having trouble while working in the lab, ask the lab consultants for help first. They cannot write or debug your program for you, but they can often give you helpful advice.
Assistance from your Instructor: If you are unable to get the help you need at the lab or from your e-tutor, do not hesitate to contact your instructor, by telephone, by e-mail, or in person. Please do this early in the semester, before it is too late to get the help you need. Feel free also to contact your instructor with any questions you have about the course.
Exams: There will be one midterm test and one final exam.
Grades: Final grades will be based approximately 40% on the final exam, 30% on the midterm and 30% on the homework.
Syllabus and Goals
Chapters 1- 9, 14 plus additional sections of the text will be covered, with some exceptions to be announced later.
- Chap. 1, Introductionto Java
- Chap. 2, Primitive Data Types
- Chap. 3, Control Statements
- Chap. 4, Methods
- Chap. 5, Arrays
- Chap. 6, Objects and Classes
- Chap. 7, Strings
- Chap. 8, Inheritance and Polymorphism
- Chap. 9, Abstract Classes and Interfaces
- Chap. 14, Applets
It is very important to read the appropriate chapters in the text when the topics are covered, and to work through many of the exercises in the text as well as to do the homework assignments. The goal is not to teach you everything in the Java language, but to have you become competent Java programmers. Programming is not easy and becoming a good programmer is a learning process something like becoming a good writer. It needs patience, logical thinking, lots of practice, and the willingness to seek out help when necessary and learn from the responses to your questions.
Michael Overtonmodified by Evan Korth
Tues Sep 6 EDT 2002
Tuesday, August 17, 2004