CSCI.2300 Introduction to Algorithms and CSCI.2600 Principles of Software.
Programming Language Essentials. Functional, Concurrent, and Logic Programming Paradigms.
When students have successfully completed this course, they will be able to:
|08/31||Introduction to programming languages: history, essentials, syntax, semantics, paradigms.||pdf ppt functions.hs functions.oz lectureNotepad1.png lectureNotepad2.png Lecture Recording||PDCS Chapter 2|
|09/03||Lambda calculus: alpha-renaming, beta-reduction, applicative and normal evaluation orders, Church-Rosser theorem, combinators, booleans||pdf ppt combinators.hs combinators.oz eta.hs eta.oz whiteboardNotes.jpg Lecture Recording||PDCS Chapter 2|
|09/10|| Lambda calculus: higher order programming, eta-conversion,
recursion combinator, numbers, Church numerals
||pdf ppt hop.hs hop.oz lambda-booleans.hs lambda-booleans.oz lambda-numbers.hs lambda-numbers.oz rec.oz seq.oz lectureNotepad1.jpg lectureNotepad2.jpg lectureNotepad3.jpg Lecture Recording||PDCS Chapter 2|
|09/14|| Functional programming: lists, records, pattern matching,
recursion (Haskell, Oz)
Programming Assignment 1 Due 09/27
|pdf ppt pa1.html comb.hs comb.oz lists.hs lists.oz nth.hs nth.oz pascal.hs pascal.oz pairs.jpg booleans.jpg churchNumeralsFactorial.jpg churchNumeralsPredecessor.jpg churchNumeralsExponential.jpg churchNumeralsAlternative+.jpg Lecture Recording||CTM Sections 1.1-1.7, 3.2, 3.4.1-3.4.2, 4.7.2|
|09/17||Higher order programming: closures, procedural abstraction, genericity, instantiation, embedding.||pdf ppt iterate.hs sqrt.hs sqrt.oz pascal.hs pascal.oz nth.hs nth.oz whiteboardNotes.jpg Lecture Recording||CTM Sections 3.2 and 3.6.1|
|09/21||Control abstractions: map, reduce, iterate, fold, filter|
|09/24||Lazy evaluation, infinite data structures, set comprehensions|
|09/28||Type checking and type inference, abstract data types, monads|
|10/01||Review for Exam 1|
|10/08||Actors: a model of concurrent computation|
|10/12||Actor programming languages (SALSA, Erlang)|
|10/15||Concurrency control abstractions
Programming Assignment 2 Due 10/28
|10/19||Distributed systems abstractions
||Mobility (SALSA) and fault-tolerance (Erlang) abstractions; garbage collection, visualization (SALSA), hot code loading (Erlang)|
|10/26||Object-oriented programming: inheritance, polymorphism (Oz, Java)|
||Declarative concurrency: dataflow variables, suspendable statements (Oz)|
|11/02||Review for Exam 2|
||Predicate calculus, first-order logic, Horn clauses, Clocksin-Mellish procedure.|
||Terms, resolution, unification, search, backtracking (Prolog); Relational computation model (Oz).|
||Prolog imperative control flow: cut(!), call, fail, not, repeat, findall. Closed-world assumption, generate-and-test. Lists, append relation (Prolog, Oz)
Programming Assignment 3 Due 12/02
||Constraint satisfaction problems: propagate-and-search; natural language parsing: definite clause grammars|
|11/23||Prolog I/O, equalities, types, operators; Knowledge bases: assert, retract
|11/30||Accumulators, difference lists
|12/03||Constraint programming: computation spaces
|12/07||Review for 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 and Oz. For concurrent programming, we will use SALSA and Erlang. For logic programming, we will use Prolog and Oz. You must understand both languages to be prepared for exams. However, you can choose any of the two supported programming languages per paradigm for programming assignments, or even your own (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 LMS Discussion Board 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:
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.
A grade of zero will be given on an assignment or exam where a violation of the Academic Integrity policy is detected. This violation will be reported to the Dean of Students, and if there is a prior infraction on file, the student will receive a grade of F for the course.
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 Judicial Affairs..
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: email@example.com; +1-518-276-8197; 4226 Academy Hall.
Disability Services for Students
RPInfo - contains various links for students, academic resources, support services, and safety & emergency preparedness.
Rensselaer IT Services and Support Center