CMSC433
Programming Language Technologies and Paradigms, Fall 2019

Instructor

Name Office E-mail Office Hours
(also available by appointment)
Anwar Mamat IRB 2244 anwar at cs TuTh 12:00-1:00pm
Mike Marsh IRB 2218 mmarsh at cs

Tu 2:00-3:00pm


TAs

Name Office E-mail Office Hours
Yucheng Liu IRB1266 liuyc804@umd.edu

M,W 1:00-2:00pm

M,W 3:00-4:00pm

Geng LinIRB1266 geng@umd.edu

Mo, Tu, We, Th 10:00-12:00pm

Minh TruongIRB1266truonganhminh94@gmail.com

Tu, Th 1:00-3:00pm

Neha MukundIRB1266 nehamk@umd.edu

M,Tu,W,Th 9:00-11:00am

Hannah Bako IRB1266 hbako@cs.umd.edu

M 1:00pm-4:00pm

Th 1:00pm-3:00pm

F 1:00-4:00pm

Rimon Melamed IRB1266melamed.rimon@gmail.com

W, F 12:00-2:00pm

Moe Shane IRB1266ssoemoe@terpmail.umd.edu

M 10:00am-12:00pm

F 10:00am-12:00pm

Linda Yeung IRB1266lindayeungx@yahoo.com

M 12:00-2:00pm

F 2:00-4:00pm

Information

Location Section 1 ESJ 0224
Section 2 IRB 2107
Midterm 1 Oct 17, in class
Final Tuesday, December 17, 10:30 AM- 12:30 PM
Textbooks There are no required or recommended texts. See the resources page for useful online links.

Class announcements will be posted via Piazza; please check the course Piazza page daily. You may sign up for the class on Piazza here.

This course covers principles associated with programming concurrent and distributed software.  Specific topics to be covered will come from the following list:  concurrency, threads and processes, synchronization, design considerations (safety, liveness/deadlock, performance, reusability), algorithm parallelization, and distributed system development.  Other topics may be introduced at the discretion of the instructors.

Week/Day Tuesday
Aug 27 Introduction
Aug 29 Introduction to Concurrency
Sep 3 Thread Safety
Sep 5 Thread Safety, Synchronization
Sep 10 Synchronization
Sep 12 Deadlock
Sep 17 Sharing Objects
Sep 19 Composing Objects
Sep 24 Concurrent Collections
Sep 26 Synchronizers
Oct 1 Task Execution
Oct 3 Thread Pools (JCIP Ch. 6)
Oct 8 Fork Join Pool
Oct 10 Parallelizing Algorithms
Oct 15 Streams
Oct 17 Midterm
Oct 22 Akka introduction
Oct 24 Actors and akka in Java
Oct 29 Akka Cluster
Oct 31 Map Reduce, Hadoop
Nov 5 MPI
Nov 7 OpenMP
Nov 12 Nonblocking Synchronization
Nov 14 The Java Memory Model
Nov 19 Basics of Concurrent Testing
Nov 21 RMI
Dec 3 Scheduling
Dec 5 Review
Dec 17 Final Exam
Project 1Auction Server
Project 2Ratsie’s Simulation
Project 3 Maze Runner
Project 4 Resource Manager
Project 5 Twitter Analyzer
Project 6

Game of Life MPI Implementation

Syllabus subject to change until the start of the semester
Prerequisites: Prerequisites: CMSC330
Credits: 3 credits

This course covers principles associated with programming concurrent and distributed software.  Specific topics to be covered will come from the following list:  concurrency, threads and processes, synchronization, design considerations (safety, liveness/deadlock, performance, reusability), algorithm parallelization, and distributed system development.  Other topics may be introduced at the discretion of the instructors.

Coursework and Grading

Course work is as follows, together with how it will be weighted for final grades.

  1. Clicker Quizzes                                     5%
  2. Midterm                                              20%
  3. Projects (6)                                         45%
  4. Final exam                                          30%

 

Grades will be assigned based on the following anticipated ranges, which may be expanded based on what happens during the semester.  The lower and upper parts of each range will be reserved for +/- grades.

Range

Grade

90 – 100

A

80 – 89

B

70 – 79

C

60 – 69

D

  0 – 59

F

 

The CS Department’s grades server will be used to record grading information and make it available to you.

Tests

The midterm and final exam will be administered in class. Information gives the dates. Requests to take tests on different days will generally only be granted in the following circumstances: (1) a student has a religious observance falling on the same day that conflicts with the announced test date, or (2) a student is participating in an official University-sponsored activity that conflicts with the announced test date. Any such request must be made at least one week in advance so that alternative arrangements can be made.

In case of incapacitating illness on the day of a test, the student must contact his / her instructor as soon as possible, preferably by e-mail on the same day. In this case, the student must produce, within one week of the original test date, a written note from a health-care professional attesting to the nature and severity of the illness. The note must indicate the dates on which the student was incapacitated and a phone number for follow-up verification. When this documentation is provided, alternative arrangements for the test will be made. If no such documentation is produced within the given time frame, a score of 0 will be given on the test.

Projects

The course has a heavy project focus and will involve a substantial amount of programming. Projects are due on the date and time specified when they are assigned; extensions will only be given at the discretion of the instructor, and only for requests made in advance. In case of extenuating circumstances (illness, family emergency, etc.) please notify the instructor as soon as possible, and be prepared to provide written documentation about the matter.

The CS Department’s submit server will be used to handle project submissions. Please note, however, that in general public tests will not be provided. Students are responsible for conducting their own testing in advance of submitting their projects. Unless explicitly forbidden in a project assignment, however, students may share tests and discuss them with one another.

Projects will generally require coding in Java, although assignments in other languages, and using other packages, may also be made. The version of Java that will be used is Java 8. It is recommended that students install Java 8 and Eclipse 4.5 (Mars) on their personal machines if they wish to use their own equipment to work on projects. The CS department has tutorials on how to do this, and how to use Eclipse/JUnit/ etc.

Clicker Quizzes

Clicker quizzes will be given in-class during lectures. Effective August 22, 2017, students and faculty at UMD have access to TurningPoint (Clickers) mobile license subscriptions at NO cost. You can purchase a clicker device or use your phone app. Clicker device costs $16 at the University bookstore. You also have to register your device here: https://myelms.umd.edu/courses/1020311

Academic Integrity:

Unless stated otherwise by the instructor, any assignment you turn in for grading must be your own work. In particular, any code you submit as part of a project must have been written by you, and any solutions you prepare for a midterm or final exam must be exclusively of your own devising. Any transgressions of these principles are violations of the campus Code of Academic Integrity and will be handled as such. The webpage of the Student Honor Council contains a detailed explanation of what constitutes academic dishonesty, which includes not only cheating, fabrication, and plagiarism, but also helping other students commit acts of academic dishonesty by allowing them to obtain copies of your work.

Each case of suspected academic dishonesty will be referred to the University's Office of Judicial Programs. If the student is found to be responsible of academic dishonesty, the typical sanction results in a special grade "XF", indicating that the course was failed due to academic dishonesty. More serious instances can result in expulsion from the university. If you have any doubt as to whether a contemplated act of yours might constitute academic dishonesty, please consult one of the course instructors.

Excused Absences:

It is the student's responsibility to inform the instructor during the first two weeks of the semester of any intended absences from exams or class for religious observances. Absences related to official University events must be brought to the instructor’s attention at least one week in advance of the absence. In case of absences due to illness or other extenuating circumstances, the instructor should be notified as soon as possible, and appropriate documentation explaining the circumstances surrounding the absence should be provided. See the university-policy page for more details on this point.

Academic Accommodations:

Pursuant to university policy, any student eligible for and requesting reasonable academic accommodations due to a disability is requested to provide his or her instructor with a letter of accommodation from the Office of Disability Support Services (DSS) within the first two weeks of the semester. Note that arrangements for individual exams must be made with the instructor at least one week in advance.

Java Concurrency in Practice

Eclipse / Java installation | akka | Hadoop®

 

Concurrency games

Rulebook for in-class card games; will be updated throughout the semester