CMSC 131 | |
Section 0101 |
08/02/17 The final exam is on Monday 8/7 in our usual classroom, beginning at 11:05. You will have two hours to complete the exam. Be sure to bring pencils and erasers, and show up a little early so that we can get started promptly.
07/30/17 Project #7 has been posted!
07/22/17 Project #6 has been posted!
07/17/17 There was a mistake in the way the submit server was configured for Project #5 that was preventing people from submitting. I believe it has been corrected, but you need to "check out" the project again in order to get the corrected version. (If you've already done some work on the project, then I strongly suggest backing up your work to a separate location before doing a second "check out" of the project files.)
07/14/17 Project #5 has been posted.
07/10/17 Due to the July 4th holiday, we had to miss one of the usual lab sessions, so we skipped a useful exercise that I usually assign. If you'd like more practice working with Strings and JUit, try working on this handout.
07/05/17 Project #4 has been posted.
06/23/17 Project #3 has been posted.
06/21/17 I'm not sure anybody will get this message in time, but if you happen to own a couple of six-sided dice, bring them to the discussion session tomorrow (Thursday).
06/16/17 Project #2 has been posted!
06/09/17 If you'd like to have Eclipse draw a vertical line in the editor at the 80th column (so that you can easily check that your lines are not too long), see this link.
06/07/17 Project #1 has been posted. Click the "Projects" tab above to find the link to the project description.
05/31/17 For the Tuesday/Thursday class sessions (labs) you will be divided into two halves based on last names. Students with last names beginning with "A" through "Mo" will remain in room 3117. Your TA will be Peter Sutor. Students with last names "Mu" through "Z" will be moved to room 1121 after the first few minutes of class on Thursday. Please go directly to this room after that for Tues/Thurs class sessions. Your TA will be Avery Katko. On MWF, we will all remain in room 3117 for the lectures.
05/29/17 Welcome to CMSC 131 for Summer 2017. 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
Recommended Text:
There is no required book for this course. There are many excellent introductory books on programming in Java. One that
I can recommend is Java Foundations
Older editions of this book are nearly identical to the latest edition, and you can find them sold cheaply online.
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.)
|
You need to keep backups of your projects as you develop them. No extensions will be granted because you accidentally erased your project. Feel free to use the submit server as a backup tool by submitting often. You can also use tools like git, etc. Do not post code in any online system that is accessible to others (e.g., GitHub).
The following are examples of academic integrity violations:
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.
Fawzi Emad
Email:
Office: 3265 A.V. Williams
Office Hours: MWF (After class)
Responsibilities | Office Hours | ||
---|---|---|---|
Peter Sutor | Discussion Leader & Grader | TBA (room 1112 A.V. Williams) | |
Avery Katko | Discussion Leader & Grader | TBA (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!
Part 1: | Questions | Answers |
---|---|---|
Part 2: | Questions | Answers |
Part 3: | Questions | Answers |
Part 4: | Questions | Answers |
Part 5: | Questions | Answers |
Part 6: | Questions | Answers |
Part 7: | Questions | Answers |
Part 8: | Questions | Answers |
Part 9: | Questions | Answers |
Part 10: | Questions | Answers |
Part 11: | Questions | Answers |
Part 12: | Questions | Answers |
Part 13: | Questions | Answers |
Part 14: | Questions | Answers |
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! | Tuesday 06/06, 11:00PM |
Orioles Baseball | Thursday 06/15, 11:00PM |
Flags of the World | Saturday 06/24, 11:00PM |
Medieval Soldiers | Wednesday 07/05, 11:00PM |
Mandelbrot Set | Thursday 07/13, 11:00PM |
Poker Simulator | Saturday 07/22, 11:00PM |
Cafe 131 | Sunday 07/30, 11:00PM |
Fish Club | Sunday 08/06, 11:00PM |