M 2:30-3:50, W 1:00-2:20, 243 Smith Hall
Course Schedule (including syllabus)
Solutions for Test 2.
Test 2 will be held in class Monday, November 9. Here are some practice problems, with solutions.
Program 9 is due Monday, November 23. Program 8 is due Monday, November 16. Program 7 is due Monday, November 2 (you may run my applet for Program 7 here). Program 6 is due Monday, October 26 (you may run my applet for Program 6 here). Program 5 is due Monday, October 19. Program 4 is due Monday, October 12. Program 3 is due Monday, September 28. Program 2 is due Monday, September 21. Program 1 is due on Monday, September 14. Your program must run on pegasus, must be named Date.java, and should be turned in as an email attachment (text file) to me at loftin@rutgers.edu
Solution to Program 1, Program 2, Program 3, Program 4 (Point.java, LabeledPoint.java), Program 5 (Name.java, Person.java), Program 6 (TrafficLightPanel.java, Light.java), Program 7, Program 8.
Solution to Quiz 1, Quiz 2, Quiz 3, Quiz 4, Quiz 5, Quiz 6, Quiz 7, Quiz 8.
Getting started. Writing and running java programs on pegasus.
To send an email with your program as an attachment from pegasus, you can use the pine program from the command line. Just type in pine, and hit c to compose a message. Put my address in To: line, and put the name of your program in the Attchment: line. Then press control-X to send.
| Instructor | Prof. John Loftin, 309 Smith Hall, Phone: (973)353-5156, ext. 3910. |
| loftin AT rutgers DOT edu Email is the best way to get in touch with me. |
|
| Website | http://andromeda.rutgers.edu/~loftin (this syllabus is attached to the website) |
| Department Website | http://math.newark.rutgers.edu/ |
| Prerequisites | CS 101 or the equivalent |
| Who Should Take This Course | This course is required for the Computer Science and Information Systems majors, and for the Computer Science minor. |
| Course Material
(more details are on the Course Schedule) |
|
| Text | Lewis and Loftus, Java Software Solutions, 6th ed., Addison-Wesley |
| Homework | The homework will be assigned but not collected or graded. However, the quizzes will be strongly based on the homework problems (and will typically include some homework problems verbatim). Homework will be assigned a week or so ahead of time: See the Course Schedule. Students are encouraged to work together on the homework. |
| Programming Assignments | There will be several programming assignments during the course of the semester. All your programs should run on the pegasus server. Your programs will make up 20% of your grade. Programs which do not compile on pegasus will receive no credit. Students are encouraged to work together on the programs, but YOU MAY NOT COPY ANYONE ELSE'S CODE. |
| Quizzes | There will also be several in-class 15-minute quizzes based on the homework. These quizzes will make up 10% of your grade. (See the Course Schedule.) |
| Exams | There will be two exams during the term and a final exam. The first two exams will be held in class, on dates TBA, and will test your knowledge of the material covered in the past few weeks' classes. The final exam will be comprehensive. The final exam will take place according to the registrar's schedule, 3-6pm, Monday, December 21, room TBA. YOU MAY NOT TAKE THE FINAL EARLY. (See the Course Schedule.) |
| Grades | Your grade will be determined by your programs (20%), quizzes (10%), Exam 1 (17.5%), Exam 2 (17.5%), and the Final Exam (35%). |
| Office Hours | M 1:00-2:00, W 11:30-12:30, in 309 Smith Hall. You may see me any time during office hours without an appointment. You may also make an appointment to see me other times. |
Here are solutions for test 1.
Grades for Test 1: out of 76 points, average 62, median 59.5
Grade range-------Number of students
69-76 --------------- 4
61-68 --------------- 1
54-60 --------------- 5
46-53 --------------- 1
38-45 --------------- 1
Test 1 will be held in class on Monday, October 5, in class. The test will cover all the material we have covered through sections 9.1 and 9.2 in Lewis & Loftus. Here are some practice questions for test 1, with solutions. Also review your notes, the book, homework and quizzes.