| OFFICE HOURS SCHEDULE | |||||
|---|---|---|---|---|---|
| Monday | Tuesday | Wednesday | Thursday | Friday | |
| 8:00 - 10:00 AM | |||||
| 10:00 AM - 12:00 PM | OH TA: Yuxiao Mentor: Fisher Amos Eaton 127 |
OH TA: Thomas Amos Eaton 118 |
|||
| 12:00 - 2:00 PM | Instructor OH Prof. Varela 12:30-1:45pm Lally 308 |
OH TA: Thomas Mentor: Shanhe Amos Eaton 118 |
Instructor OH Prof. Varela 12:30-1:45pm Lally 308 |
||
| 2:00 - 4:00 PM | OH TA: Jui Chien Amos Eaton 118 |
Lecture Darrin 308 |
Lecture Darrin 308 |
||
| 4:00 - 6:00 PM | OH TA/CA: Jui Chien, Yi Mentor: Mason Amos Eaton 118 |
||||
Pre-requisites
CSCI.2300 Introduction to Algorithms and CSCI.2600 Principles of Software.
Course Themes
Programming Language Essentials. Functional, Concurrent, and Logic Programming Paradigms.
Learning Outcomes
When students have successfully completed this course, they will be able to:
Programming Assignments
| Date | Topic | Handouts | Chapter/Section |
|---|---|---|---|
| 08/28 | Introduction to programming languages: history, essentials, syntax, semantics, paradigms | PDCS Chapter 2 | |
| 09/01 | Lambda calculus: alpha-renaming, beta-reduction, applicative and normal evaluation orders, Church-Rosser theorem, combinators, booleans | PDCS Chapter 2 | |
| 09/04 | Lambda calculus: higher order programming, eta-conversion,
recursion combinator, numbers, Church numerals |
PDCS Chapter 2 | |
| 09/08 | Functional programming: lists, pattern matching,
recursion Programming Assignment 1 Due 09/21 |
CTM Sections 1.1-1.7, 3.2, 3.4.1-3.4.2, 4.7.2 | |
| 09/11 | Higher order programming: closures, procedural abstraction, genericity, instantiation, embedding | CTM Sections 3.2 and 3.6.1 | |
| 09/15 | Control abstractions: map, reduce, iterate, fold, filter | CTM Sections 1.9, 3.6, and 4.7 | |
| 09/18 | Lazy evaluation, infinite data structures, set comprehensions |
CTM Sections 1.8 and 4.5
GIH Sections 3.4 |
|
| 09/22 | Type checking and type inference, abstract data types | EPL Chapter 4, GIH, and CTM Sections 2.8.3 and 3.7 | |
| 09/25 | Review for Exam 1 | ||
| 09/29 |
Exam 1 | ||
| 10/02 | Actors: a model of concurrent computation | PDCS Chapter 4 | |
| 10/06 | Actor programming languages (Erlang, SALSA) | PDCS Chapter 4, 9 and CPE Chapter 5 | |
| 10/09 | Concurrency control abstractions in SALSA Programming Assignment 2 Due 10/26 |
PDCS Chapter 9.2.4 | |
| 10/13 | Concurrency control abstractions in Erlang | CPE Chapter 5 | |
| 10/20 |
Distributed systems abstractions (SALSA/Erlang) | ||
| 10/23 |
Distributed fault-tolerant computing, hot code loading (Erlang) | ||
| 10/27 | Mobile distributed computing, garbage collection, visualization (SALSA) | ||
| 10/30 | Review for Exam 2 | ||
| 11/03 |
Exam 2 | ||
| 11/06 |
Predicate calculus, first-order logic, Horn clauses, Clocksin-Mellish procedure | ||
| 11/10 |
Terms, resolution, unification, search, backtracking | ||
| 11/13 |
Imperative control flow: cut(!), call, fail, not, repeat, findall. Closed-world assumption, generate-and-test. Lists, append relation Programming Assignment 3 Due 11/30 |
||
| 11/17 |
Constraint satisfaction problems: propagate-and-search. Natural language parsing: definite clause grammars | ||
| 11/20 | Prolog I/O, equalities, types, operators; Knowledge bases: assert, retract |
||
| 12/01 | Accumulators, difference lists |
||
| 12/04 | Constraint programming: computation spaces |
||
| 12/08 | Review for Exam 3 | ||
| 12/11 |
Exam 3 |
The course consists of three main parts, covering respectively functional, concurrent, and logic programming. Evaluation for each part includes a programming assignment and a partial exam.
For functional programming, we will use Haskell. For concurrent programming, we will use SALSA and Erlang. For logic programming, we will use Prolog. You must understand one language per paradigm to be prepared for exams and programming assignments. You may write your assignments on a different programming language provided you get permission from the instructor one week before the submission date (but do not expect help from the instructor or TAs if you choose your own). Programming assignments can be done either individually or in pairs. Do not show your code to any other group and do not look at any other group's code. Do not put your code in a public directory or otherwise make it public. You are encouraged to use the Submitty Discussion Forum to post questions so that other students can also answer/see the answers. There will be three grace days for late submissions throughout the semester, to be used in any combination of PAs, e.g., PA1 may be one day late and PA3 may be two days late, as long as PA2 was submitted on time. Late assignments beyond the three day grace period will receive a grade of 0.
Students may use for reference during exams: physical textbooks, printed course slides, and one personal crib sheet. No electronics will be allowed. All exam answers must be your own. Exam grades may be curved.
We will use the following weighting scheme for grades: The highest two programming assignment grades will have a total weight of 40% (20% each), while the third one will have a weight of 10%. We will use the same weighting scheme for partial exams: the highest two exam grades will be worth 40% of the total grade while the third one will count for 10% of the total grade. Final letter grades will then be assigned as follows:
| Letter | Grade Range |
|---|---|
| A | [90-100] |
| A- | [86.67-90) |
| B+ | [83.33-86.67) |
| B | [80-83.33) |
| B- | [76.67-80) |
| C+ | [73.33-76.67) |
| C | [70-73.33) |
| C- | [66.67-70) |
| D+ | [63.33-66.67) |
| D | [60-63.33) |
| F | [0-60) |
Student-teacher relationships are built on trust. For example, students must trust that teachers have made appropriate decisions about the structure and content of the courses they teach, and teachers must trust that the assignments that students turn in are their own. Acts that violate this trust undermine the educational process. The Rensselaer Handbook of Student Rights and Responsibilities and The Graduate Student Supplement define various forms of Academic Dishonesty and you should make yourself familiar with these. In this class, all assignments that are turned in for a grade must represent the student's own work. In cases where help was received, or teamwork was allowed, a notation on the assignment should indicate your collaboration.
Violations of academic integrity may also be reported to the appropriate Dean (Dean of Students for undergraduate students or the Dean of Graduate Education for graduate students, respectively).
If you have any question concerning this policy before submitting an assignment, please ask for clarification. In addition, you can visit the following site for more information on our Academic Integrity Policy: Student Rights, Responsibilities, and Conduct..
Rensselaer Polytechnic Institute is committed to providing equal access to our educational programs and services for students with disabilities. If you anticipate or experience academic barriers due to a disability, please let me know immediately so that we can discuss your options. To establish reasonable accomodations, please register with The Office of Disability Services for Students. After registration, make arrangements with the Director of Disability Services as soon as possible to discuss your accomodations so that they may be implemented in a timely fashion. DSS contact information: dss@rpi.edu; +1-518-276-8197; 4226 Academy Hall.
RPInfo - contains various links for students, academic resources, support services, and safety & emergency preparedness.
Rensselaer Information Technology and Services
At RPI, we care about you, and we are committed to your well-being, both as a student and as an individual. College is a time of growth, and it's natural to face challenges along the way. Stress, relationship issues, low motivation, and/or mental health concerns can affect your experience. If you're struggling, please know that asking for help is a smart and courageous step. It's a skill that will serve you well far beyond your time here. Visit Support Services | Student Experience or call 518-276-6266. In an emergency, call 911, 988, or Public Safety Emergency line: 518-276-6611. If you're facing challenges this semester, I hope you'll feel comfortable reaching out. I care about your success, and I want to work with you to find the support and flexibility you may need