08/06/14 Final exam information: The final exam will be on Friday 08/08/14. You will be given two hours for the final, even though our class is normally only 80 minutes. I expect most of you to arrive at 11:00AM as usual, and then leave at 1:00PM. If you have an unavoidable conflict during that time, then you may arrive at our classroom at 10:15AM and sit for the exam until 12:20PM. If you have a question about this policy, please email me right away.
08/06/14 The complete set of slides from the lectures on inheritance are here.
08/01/14 The slides on inheritance that have been covered so far are here. There will be a little bit more material on this topic, which I will post next week.
07/31/14 Project #7 has been posted.
07/22/14 The problems we were all experiencing with the CVS accounts (linuxlab) have been corrected. You should be able to access your accounts as usual now.
07/21/14 Project #6 has been posted.
07/14/14 Project #5 has been posted.
07/07/14 Project #4 has been posted. Many of you didn't begin Project #3 until it was too late -- please do not make that mistake on this project, which has a much nearer due date.
07/05/14 Reminder: On project #3 (and all subsequent projects) we will be expecting you to write good comments throughout your code, as was discussed in class. Please be sure to do a good job!
06/29/14 IMPORTANT: I accidentally posted contradictory information about the date for the midterm. The midterm this week will be in the discussion session (not the lecture), which is on Thursday 7/3. Sorry for the confusion.
06/25/14 Project #3 has been posted.
06/19/14 There is a way to have Eclipse automatically draw a vertical line in the editor at exactly the 80th column. (That way you can easily check that your lines are all less than 80 characters long, which is a requirement for project submissions in this course.) Try this: Right-click inside the editor, then choose Preferences, General, Editors, Text Editors. You'll see a checkbox called "show print margin". Check this box, and enter the value 80 in the box below that says Print margin column.
06/18/14 Project #2 has been posted. This project will take a lot more work than the previous one, so please get started immediately.
06/11/14 Project #1 has been posted. Click the "projects" link above to view the project description.
06/06/14 Coding examples from today's lecture have been distributed to your CVS repository as a project called "131Summer14Lec03Examples". Please "check out" this project and then experiment with the examples (you need to switch back to the Java perspective in Eclipse to manipulate and run the examples). All of the coding examples presented during the lectures will be distributed in this way.
06/02/14 Welcome to CMSC 131 for Summer 2014. Important announcements will appear here as the course moves along. Be sure to look every day.
This is a first programming course for Computer Science majors with a focus on object-oriented programming. The goal of the course is to develop skills such as program design and testing as well as the implementation of programs using a graphical IDE. All programming will be done in Java.
Course Coordinator: Fawzi Emad
There will be eight programming projects and other assignments to be completed during the lab sessions. Some are considered "closed" assignments which you must complete by yourself and others are considered "open" assignments where collaboration is permitted. (More information about the open policy will be provided in class and can be found in the Policy Regarding Open/Closed Projects.) There will also be two midterms, a final exam, and occasional quizzes.
All assignments can be done on the machines of your choice. You are welcome to do the work on a home computer if you have one. There should not be any machine-specific dependencies in your code. If we are not able to run your program because there is a difference between your and our computer environments, you must work with us to get your program to work in our environment. You are expected to use the Eclipse IDE for all programming assignments.
All assignments must be submitted before 11pm on the day they are due. They are to be submitted electronically according to instructions given with the assignments. Late assignments will be strictly penalized. Exceptional circumstances will be considered only if discussed with the instructor before the assignment is due. Late assignments will have points deducted as follows:
Final grades will be computed according the following weights. (These weights are tentative and subject to future adjustment.)
The Department of Computer Science takes the student course evaluations very seriously. Evaluations will usually be open during the last few weeks of the course. Students can go to www.courseevalum.umd.edu to complete their evaluations.
|Midterm #1 (in discussion section)||Holiday (no class)|
|Midterm #2 (in discussion section)|
Office: 1201 A.V. Williams
Office Hours: MWF (After class)
|Vasileios (Lex) Lekakis||Discussion Leader||Tu/Th (After class in room 1112 A.V. Williams)|
|Bryan Ta||Grader||Wed/Fri (After class in room 1112 A.V. Williams)|
The following web pages provide detailed references to information about Java.
In order to complete the projects for this course you must install Eclipse following the instructions in the Eclipse Tutorial. Note that if you install Eclipse from some other source then you will not be able to submit your projects easily!
After you get Eclipse installed, you will need to connect Eclipse to your class account. To the right is a screenshot of the information you will need to enter into the CVS connection dialog box during this process.
You can cut and paste the following lines into the dialog box:
Be sure to change the connection type to "extssh", as shown.
Below are collections of questions and practice problems that are designed to help you to learn the course material. These exercises are not being collected or graded. Answers are provided, but please try your best to solve each problem before looking at the solution! The list will be updated as the semester progresses.
Disclaimer: Your primary resource for studying should be the notes that you have taken during lectures! There will be questions on quizzes and exams that are not in any way represented in this study list. There will be questions on this study list that are not in any way represented on quizzes or exams. Please be aware that exam questions tend to combine more elements into a single question and many of the questions on the list are simpler than questions you will see on your exams. You may discuss these questions openly with anyone, including your classmates. If you are unsure about how the answer to any particular question is obtained, please drop by office hours for help. That's why we're here!
To submit a project, go to the "Java" perspective in Eclipse. Right click on the project folder (e.g., p1) and select "Submit Project" from the pull-down menu. If you do not see the "Submit Project" option then your copy of Eclipse does not contain the class plug-ins. In this case, please see the Eclipse installations instructions on the Resources page, or drop by TA office hours for help.
You may submit many times (we grade only the last submission). You can check the status of your submissions by visiting the Submit Server Home Page and entering your University Directory ID and password.
Important: Your grade for each project will be based on the greater value of two scores: (1) The score on the very last submission prior to the deadline; (2) The score minus 20% on the very last submission prior to the late deadline (up to 24 hours late).
Click the name of a project below to see the project specification.
|Project Name||Due Date|
|Hello World!||Sunday 06/08, 11:00PM|
|Maryland Football||Wednesday 06/18, 11:00PM|
|Flags of the World||Wednesday 06/25, 11:00PM|
|Medieval Soldiers||Sunday 07/06, 11:00PM|
|Mandelbrot Set||Monday 07/14, 11:00PM|
|Poker Simulator||Monday 07/21, 11:00PM|
|Cafe 131||Tuesday 07/29, 11:00PM|
|Fish Club||Friday 08/08, 11:00PM|