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

Compare with Current View Page History

« Previous Version 69 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.

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

Conditional Functions, Abstract Datatypes, Case Classes

  
 ThurSep 10

Syntax and Semantics of Core Scala

Hwk 2Hwk 1

4

Tues

Sep 15

Pattern Matching, The Expression Problem

  

 

Thur

Sep 17

Options, Lists, The Natural Numbers

Hwk 3Hwk 2

5

Tues

Sep 22

Binary Search Trees

  

 

Thurs

Sep 24

Complexity Analysis

Hwk 4Hwk 3

6

Tues

Sep 29

Functions as Values, Polymorphic Functions, Call-by-Name

  

 

Thur

Oct 01

Referential Transparency, Exceptions and Continuations

Hwk 5Hwk 4

7

Tues

Oct 06

Generative Recursion 1

  

 

Thurs

Oct 08

Generative Recursion 2

 Hwk 5

8

Tues

Oct 13

MIDTERM RECESS

  

 

Thur

Oct 15

Guest Lecture (TBA)

  

9

Tues

Oct 20

Tail Recursion and Accumulators

  

 

Thur

Oct 22

Comprehensions and flatMap

Hwk 6 

10

Tues

Oct 27

Map, Reduce, Higher Order Functions

  

 

Thur

Oct 29

Functional Leftist Heaps and Binomial Heaps

Hwk 7Hwk 6

11

Tues

Nov 03

Functional Red-Black Trees

  

 

Thur

Nov 05

Programs as Proofs

Hwk 8Hwk 7

12

Tues

Nov 10

Variable Assignment and the Environment Model

  

 

Thur

Nov 12

Mutable Objects, Equality

Hwk 9Hwk 8

13

Tues

Nov 17

Distributed Computing with Apache Spark

  

 

Thur

Nov 19

Distributed Machine Learning

Hwk 10Hwk 9
14TuesNov 24Guest Lecture (TBA)  

 

Thur

Nov 26

THANKSGIVING

  

15

Tues

Dec 01

Pipelines and SparkML

  
 ThurDec 03Course Wrap Up Hwk 10

Grading, Honor Code Policy, Processes and Procedures

Grading will be based on your performance on weekly programming assignments.

In this course, 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.

Homework Submissions: All submitted homework submissions and presentations are expected to be the result of your team’s effort. All essays are expected to be the result of your individual effort. You are free to discuss course material and approaches to problems with your other classmates, the teaching assistants and the professor, but you should never misrepresent someone else’s work as your own. If you use any material from external sources, you must provide proper attribution.

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.

  • No labels