Introduction to Java Programming, Brief Version, 9/E
Note: If you already own the 6/7/8 Edition you can use it for this course
Note: You do not need the comprehensive edition
By Y. Daniel Liang
©2013 • Prentice Hall
Java How to Program Early Objects Version, 9/E
By Deitel and Deitel
Published by Prentice Hall, 2012
This is a first course in computer science, using Java, an object oriented language. You do not need to have experience with Java, but some basic knowledge of some programming language is required, including the following topics:
- Variables: types integer and real (int and float or double in Java)
- 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 -- CSCI.UA.0002.
Your grade will be based on programming assignments, a midterm examination, a group project and a final examination. The programming assignments (and possible quizes) will count for 30% of your grade, the midterm exam will count for 25%, the group project will count for 5% and the final exam will count for 40%.
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. 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, he 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 and/or TA 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. See the Computer Science Department's Academic Integrity statement. Disciplinary action will be taken against those who violate the rules.
Students who spend little time on the homework invariably do poorly on exams and end up with a poor final grade.
This is a tentative list of the topics we will cover:
- Part 1: Fundamentals of Programming
- Chapter 1, Introduction to Java
- Chapter 2, Primitive Data Types (Elementary Programming)
- Chapter 3, Selection Statements
- Chapter 4, Loops
- Chapter 5, Methods
- Chapter 6 & 7, Arrays
- Part 2: Object Oriented Programming & Design
- Chapter 8, Objects and Classes
- Chapter 9, Strings
- Chapter 10, Thinking in Objects
- Chapter 11, Inheritance & Polymorphism
- Part 3: Advanced Concepts
- GUI Basics & Graphics
- Chapter 14, Exception Handling & Text I/O
- Chapter 15, Abstract Classes and Interfaces
- Chapter 20, Recursion
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 not unlike 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.