This course introduces and develops methods for designing and implementing abstract data types using the Java programming language. The main focus is on how to build and encapsulate data objects and their associated operations. Specific topics include linked structures, recursive structures and algorithms, binary trees, balanced trees, and hash tables. These topics are fundamental to programming and are essential to other courses in computer science. There will be weekly projects, iClicker questions in class, and assignments in lab sections consisting of programming and written exercises. There will also be several exams.
Prerequisites: COMPSCI 121 (or equivalent Java experience); basic math skills (R1). Starting from Spring 2017, the prerequisites for 187 require a grade of B or better in 121; or a grade of C or better in 190D. 4 credits.
You should consult the UMass academic calendar to make sure you are aware of important dates and events. The following are the weekly topics that will be covered during this course. Be aware that the schedule is subject to change during the semester at the instructor’s discretion.
Lecture slides and lab assignments are all posted in Piazza.
|No.||Section 1||Section 2||Topic||Lab (Monday only)|
|1||Mon, Jan 23||Tue, Jan 24||Introductory Material||Lab 1: Intro|
|2||Wed, Jan 25||Thur, Jan 26||Java Types and Classes|
|3||Mon, Jan 30||Tue, Jan 31||Java Interfaces; ArrayStringLog||Lab 2: JUnit|
|4||Wed, Feb 1||Thur, Feb 2||Linked Lists; LinkedStringLog|
|5||Mon, Feb 6||Tue, Feb 7||Algorithm Analysis||Lab 3: Linked lists|
|6||Wed, Feb 8||(snow day)||Stacks; Generics; Iterator|
|-||(cancelled)||Tue, Feb 14||(as above)||Lab 4: Practice midterm|
|7||Wed, Feb 15||Thur, Feb 16||Stack Implementation; Postfix|
|-||–||–||(no lecture on Feb 20 and 21)|
|9||Wed, Feb 22||Thur, Feb 23||Recursion 1||Feb 24 7-9pm Midterm 1|
|10||Mon, Feb 27||Tue, Feb 28||Recursion 2||Lab 5: Stacks|
|11||Wed, Mar 1||Thur, Mar 2||The Queue ADT; Linked Queue|
|12||Mon, Mar 6||Tue, Mar 7||Queues: Array Implementation||Lab 6: Sorting with stacks|
|13||Wed, Mar 8||Thur, Mar 9||List ADT; Array-Based Lists|
|14||Mon, Mar 20||Tue, Mar 21||Link-based Lists||Lab 7: Fibonacci|
|15||Wed, Mar 22||Thur, Mar 23||Binary Search; Binary Tree|
|16||Mon, Mar 27||Tue, Mar 28||Binary Search Trees||Lab 8: Dequeue|
|17||Wed, Mar 29||Thur, Mar 30||Balancing BSTs|
|18||Mon, Apr 3||Tue, Apr 4||Heaps; Priority Queues||Lab 9: Practice midterm|
|–||–||–||(no lecture on Apr 5 and 6)||Apr 6 7-9pm Midterm 2|
|19||Mon, Apr 10||Tue, Apr 11||Graphs||Lab 10: Binary search|
|20||Wed, Apr 12||Thur, Apr 13||Graph Searches|
|–||–||–||(no lecture on Apr 17 and 18)||Lab 11: Search|
|21||Wed, Apr 19||Thur, Apr 20||Sorting|
|22||Mon, Apr 24||Tue, Apr 25||More Sorting||Lab 12: Max-heap|
|23||Wed, Apr 26||Thur, Apr 27||Hashing|
|24||Mon, May 1||Tue, May 2||More Hashing and Final Review||Lab 13: Hashing|
Each project is due on a Friday at 11:59pm (except the last one, which is due on a Tuesday). Project instructions and starter code are posted in Piazza; and your submission must be uploaded to Gradescope.
|May 2 (Tue)||sorting|
All labs are scheduled on Mondays. See Spire for your enrolled lab section time. Below is a list of the lab section TAs.
|Time||LGRT 223||LGRT 225|
Note: make-up exam or taking the exam with disability services must be requested and approved one week before the exam. We cannot accomodate your requests if they are received less than a week before the exam. If you fall ill on the day of the exam (but before the exam starts) and have to request a make-up exam, you must provide an official doctor’s note so that we can contact the doctor for verification. We cannot accommodate any make-up request after the exam.
Clicker is absolutely required for this course. It is required from the first day of class.
There is no required text book for the course. If you like having a text, below are some recommendations:
You will be graded on your ability to program and your understanding of data structures.
You are responsible monitoring your grades. Grades will be available through Moodle and you should check them regularly and review any provided feedback. If you encounter any issues with your grades, you will have 1 week past the return of your grades to contact the course staff so we can investigate. We will not accept questions about individual grades beyond one week, so you must be prompt.
Each assessment component is worth a fixed number of points. At any point during the course you can easily calculate your current grade by the number of points you have achieved with respect to the total number of points you can attain in the course. You should read the course policies to understand lateness.
There is no opportunity for extra credit in this course. Please do not ask!
This course will use a number of web-based services. We will create accounts for you, but it is your responsibility to log in and check that everything has been set up correctly.
Piazza is a online course management system. It will be used as the main hub for communication in this course. Lecture slides, project instructions, start code, and solutions to exams are all posted in Piazza. All questions and answers should also be posted in Piazza. You will be responsible for visiting Piazza frequently to see updates, or subscribe to email notifications. Please check Piazza features to get an understanding of how to use it.
Piazza is a great tool but it can be abused. Please follow these guidelines in your use of Piazza:
You should use Piazza to ask technical questions and get advice on projects. But you may not post project code or solutions to Piazza, either in questions or answers to others’ questions.
If your post must contain code, you should make it a private post in Piazza, which is only visible to the instructors and TAs.
Your question may already have been asked by someone. Before posting, make use of the search feature to see if your questions has already been answered. You should only post after thinking through the problem and clearly articulating your question.
You are encouraged to help other students with answering questions.
The course staff (instructors and TAs) will monitor Piazza and answer your questions in a timely manner. If a question has already been answered in a previous post we may not respond to you right away (hence it’s important to learn to use the ‘search’ feature).
If a question does not follow the guidelines above we may not answer it. If we find that a private question is relevant to a larger audience, we may make it anonymous and post it publicly to help others in the course.
We will only use Moodle for returning grades and feedback to you. The course materials (e.g. syllabus, schedule, lecture slides, projects) will be available on this webpage and Piazza, and will not appear in Moodle.
You should have had an account automatically created for you at the beginning of the course. If you are unable to log in to Moodle you should contact the instructor. Grades will be available through the Moodle gradebook. You should orient yourself with how to find it and stay on top of your grades to resolve any grading issues in a timely manner.
We will be using the Eclipse Development Environment for completing programming projects. You are required to use Eclipse for programming. Specifically, all programming projects are distributed as Eclipse projects and you will need to become acquainted with how to import and export projects. This will be covered during the first week of class.
The projects are compatible with Eclipse Neon. Other versions of Eclipse may or may not work correctly.
We will use Gradescope for grading your programming projects, midterms, final exam, and lab section assignments. Gradescope allows us to provide fast and accurate feedback on your work. You should have an account within a few days of signing up for the course. Gradescope will email you with your account details. If you do not, please contact the instructors immediately.
Projects are graded automatically using Gradescope autograder. Before the deadline you can submit as many times as you need. The autograder will provide you with some limited feedback on your submissions: does it compile, does it pass the public and private tests, what your score is, etc. It will not tell you which private tests it has run, nor should it. It is your responsibility to thoroughly test and debug your programs before submission. Purely relying on Gradescope feedback is not an efficient way to solve problems.
Midterms and final exam papers are also graded in Gradescope, but they are scanned, digitized and manually graded by instructors and TAs. This allows us to parallelize the grading tasks and use a standard rubric for grading fairness. This also frees us all from handing back hundreds of exam papers in class!
Lab section assignments are also submitted to and graded in Gradescope.
Late submissions for any assessment component will not be accepted, with the one exception noted below. It is your responsibility for maintaining your own schedule and being prompt with your submissions. We expect that you become familiar with the course submission software and verify that your submission has been properly uploaded. We will not accept late submissions due to lack of checking on this. We assume:
To ensure that you submit projects on time you should begin them early and not wait until the last minute to submit. You will be able to submit multiple times so submit early and often to ensure you have something in before the deadline.
We will drop your lowest project grade to cope with extreme circumstances that are truly beyond your control that have prevented you from submitting on time. If this is a continuing matter that requires more than one project to be late, we will recommend that you withdraw from the course.
It is very important in all courses that you be honest in all the work that you complete. In this course you must complete all projects, exams, etc. on your own unless otherwise specified. If you do not you are doing a disservice to yourself, the instructors for the course, the College of Information and Computer Sciences, the University of Massachusetts, and your future. We design our courses to provide you the necessary understanding and skill that will make you an excellent computer scientist. Projects and exams are designed to test your knowledge and understanding of the material. Plagiarism and academic dishonesty of any kind may seem like an easy way to solve an immediate problem, however, it can have a substantial negative impact on your career as a computer science student. There are many computing jobs out there and many more people working hard to get those positions. If you do not know your stuff you will have a very difficult time finding a job. Please take this seriously.
Specifics for this course:
Projects in this course are individual, not group, and direct collaboration is inappropriate. Discussing the projects with your peers is allowed, but you must write code on your own and implement solutions on your own. Copying from other students, either digitally or manually, is strictly prohibited.
While we support learning from your peers, the rule of thumb is that any learning should be in your head. Therefore you should not leave an encounter with another student (in person or electronic) with anything written down (or electronically recorded) that you did not have before. Thus, giving or receiving electronic files is specifically considered cheating.
Use of materials from previous offerings of this course, no matter the source, and even if you are re-taking the course, is prohibited.
We will employ various means, electronic and otherwise, to check for compliance with these course policies. We will pursue sanctions vigorously and the usual sanction we will pursue is an immediate F in the course.
Resources available to you:
The instructor and teaching assistant(s) are eager to help you learn and to work through any difficulty. Please contact your instructor if you are struggling to complete projects. We strive for ready accessibility by email and online discussion forums, and will make a strong effort to meet you in person.
The Learning Resource Center on the 10th floor of the main library offers support for this course with trained tutors for free, available on a wide schedule. They can be reached at email@example.com and 1-413-545-5334.
The Office of the Registrar publishes Academic Regulations yearly. You should be familiar with them. Particularly relevant are the policies on attendance, absences due to religious observance, and examinations.