You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 79 Next »

COMP 311: Functional Programming (Fall 2015)

Instructor

Dr. Eric Allen

TAs
  • Arghya "Ronnie" Chatterjee
  • Yue Wang

Lectures

GRB W212

Lecture Times

2:30PM - 3:45PM TR

Course Emailcomp311@rice.eduOnline DiscussionPiazza -- Rice Comp 311

 

Description

This class provides an introduction to concepts, principles, and approaches of functional programming. Functional programming is a style of programming in which the key means of computation is the application of functions to arguments (which themselves can be functions). This style of programming has a long history in computer science, beginning with the formulation of the Lambda Calculus as a foundation for mathematics. It has become increasingly popular in recent years because it offers important advantages in designing, maintaining, and reasoning about programs in modern contexts such as web services, multicore programming, and distributed computing. Course work consists of a series of programming assignments in the Scala programming language and various extensions.

Grading, Honor Code Policy, Processes and Procedures
 

Grading will be based on your performance on weekly programming assignments. All work in this class is expected to be your own, and you are expected not to post your solutions or share your work with other students, even after you have taken the course. Please read the Comp 311 Honor Code Policy for more details on how you are expected to work on your assignments.

All students will be held to the standards of the Rice Honor Code, a code that you pledged to honor when you matriculated at this institution. If you are unfamiliar with the details of this code and how it is administered, you should consult the Honor System Handbook. This handbook outlines the University's expectations for the integrity of your academic work, the procedures for resolving alleged violations of those expectations, and the rights and responsibilities of students and faculty members throughout the process.

 
Accommodations for Students with Special Needs
 

Students with disabilities are encouraged to contact me during the first two weeks of class regarding special needs. Students with disabilities should also contact Disabled Student Services in the Ley Student Center and the Rice Disability Support Services.


Lecture Schedule (Subject to Change Without Notice)

Homework Evaluation, DrScala, Tests, Objects, Binary Methods, Operators

Week

Day

Date

Topic

Work AssignedWork Due

1

Tues

Aug 25

Overview, Motivation, Core Scala

  
 ThurAug 27The Nature of Doubles, The Design Recipe  

2

Tues

Sep 01

Type Checking, Conditional Functions, Compound Datatypes

  
 ThursSep 03Grading, DrScala, Tests, Binary Methods, OperatorsHwk 1 

3

Tues

Sep 08

Abstract Datatypes, Exceptions

  
 ThurSep 10

Exceptions, Overloading

 Hwk 1

4

Tues

Sep 15

Recursively Defined Datatypes

  

 

Thur

Sep 17

First-Class Functions

Hwk 2 

5

Tues

Sep 22

The Expression Problem

  

 

Thurs

Sep 24

Complexity Analysis

  

6

Tues

Sep 29

Functions as Values, Polymorphic Functions

  

 

Thur

Oct 01

Referential Transparency, Call-by-Name

Hwk 3Hwk 2

7

Tues

Oct 06

Generative Recursion 1

  

 

Thurs

Oct 08

Generative Recursion 2

  

8

Tues

Oct 13

MIDTERM RECESS

  

 

Thur

Oct 15

Guest Lecture (TBA)

Hwk 4Hwk 3

9

Tues

Oct 20

Tail Recursion and Accumulators

  

 

Thur

Oct 22

Comprehensions and flatMap

  

10

Tues

Oct 27

Map, Reduce, Higher Order Functions

  

 

Thur

Oct 29

Functional Leftist Heaps and Binomial Heaps

Hwk 5Hwk 4

11

Tues

Nov 03

Functional Red-Black Trees

  

 

Thur

Nov 05

Programs as Proofs

  

12

Tues

Nov 10

Variable Assignment and the Environment Model

  

 

Thur

Nov 12

Mutable Objects, Equality

Hwk 6Hwk 5

13

Tues

Nov 17

Distributed Computing with Apache Spark

  

 

Thur

Nov 19

Distributed Machine Learning

  
14TuesNov 24Guest Lecture (TBA)  

 

Thur

Nov 26

THANKSGIVING

  

15

Tues

Dec 01

Pipelines and SparkML

  
 ThurDec 03Course Wrap Up Hwk 6
  • No labels