CMSC433
Programming Language Technologies and Paradigms, Spring 2018

Instructor

Name Office E-mail Office Hours
(also available by appointment)
Anwar Mamat 3259 AVW anwar at cs Tu/Th 2:00pm-3:00pm

TAs

Name Office E-mail Office Hours
Guria Sankha sankha@umd.edu

M 3-5pm, W 3-5pm,

F10-11am, F12-1pm,

Th 4-5pm

Kawasaki Koyu kkawas@terpmail.umd.edu M 10am-1pm
Tu 11am-12pm,
Kittner Jonathan jonkittner1@gmail.com M/W 12:30-2:30pm
Sewack Christine csewack@terpmail.umd.edu

Tu/Th 11am-12pm,

Tu/Th 2-3pm

Srinivasan Shravan sshravan@cs.umd.edu

Th 2-4pm

F 1-2pm

Information

Location ESJ 2204
Midterm 1 Thu, March 15, in class
Final Sat, May 17,1:30-3:30pm Location: ESJ 2204
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 Tuesday Thursday
Jan 25   Introduction
Jan 30 Concurrency ( JCIP Ch. 2) Thread Safety (JCIP Ch. 2)
Feb 6 Synchronization ( JCIP Ch. 2,3) Synchronization: Deadlock( JCIP Ch. 2,3,10)
Feb 13 Sharing Objects ( JCIP Ch. 3)

Sharing Objects cont.( (JCIP Ch. 3)

Composing Objects (JCIP Ch. 4)

Feb 20 Composing Objects cont.( JCIP Ch. 4) Concurrent Collections (JCIP Ch. 5)
Feb 27 Synchronizers (JCIP Ch. 5) Task Execution (JCIP Ch. 6)
Mar 06 Thread Pools (JCIP Ch. 6) Concurrent Testing (JCIP Ch. 12)
Mar 13 Java Parallel Streams Midterm
Mar 20 Spring Break  
Mar 27 ForkJoinPool Parallelizing Algorithms
Apr 3 Actors Actors and akka in Java
Apr 10 Programming with actors in akka Map Reduce
Apr 17 Haddop MPI: Message Passing Interface
Apr 24 Parallel Processing with OpenMP The Java Memory Model
May 1

Nonblocking Synchronization

RMI
May 8

Review

 
May 17 1:30-3:30pm Final Exam
Location
Project 0Warmup
Project 1 Auction House
Project 2 Ratsie's Simulation
Project 3 Maze Runner!
Project 4 Distributed Resource Management
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.

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®