| CS 330 | Home | Schedule | Resources |
CS 330: Principles of Programming Languages |
![]() |
|||||||||||||||||||||||||||||||||||||||||
Winter 2006, Sections 2 and 3 | ||||||||||||||||||||||||||||||||||||||||||
| Instructor | Irene Langkilde Geary | |||||||||||||||||||||||||||||||||||||||||
| ireneNOlgSPAM@cs.byu.edu (remove capital letters) | ||||||||||||||||||||||||||||||||||||||||||
| Phone | 422-3020 | |||||||||||||||||||||||||||||||||||||||||
| Office hours | 3334 TMCB: MWF 2-3pm or by appointment. | |||||||||||||||||||||||||||||||||||||||||
| TA | 3342 TMCB: Max Wilson | |||||||||||||||||||||||||||||||||||||||||
| TA Email | CS330NOtaSPAM@gmail.com (remove "NO SPAM") | |||||||||||||||||||||||||||||||||||||||||
| Hours | Hours | |||||||||||||||||||||||||||||||||||||||||
| Class | Section 2: MWF 10-10:50am, 3718 HBLL Section 3: MWF 11-11:50am, 3718 HBLL |
|||||||||||||||||||||||||||||||||||||||||
| Text | Peter Van Roy and Seif Haridi, Concepts, Techniques, and Models of Computer Programming, MIT Press, 2004. (textbook website includes errata, blurbs/reviews, book details, etc.). | |||||||||||||||||||||||||||||||||||||||||
| Prerequisites | 240, 252 | |||||||||||||||||||||||||||||||||||||||||
| Schedule | ||||||||||||||||||||||||||||||||||||||||||
| Overview | This course presents computer programming as a unified discipline in a way that is both practical and scientifically sound. It focuses on techniques of lasting value and explains them precisely in terms of a simple abstract machine. All major programming paradigms are presented in a uniform framework that shows their deep relationships and how and where to use them together. After an introduction to programming concepts, the course presents both well-known and lesser-known computation models ("programming paradigms"). Each model has its own set of techniques and each is included on the basis of its usefulness in practice. The general models include declarative programming, declarative concurrency, message-passing concurrency, explicit state, object-oriented programming, shared-state concurrency, and relational programming. Specialized models include graphical user interface programming, distributed programming, and constraint programming. The main focus of the course will be on the first five models. Each model is based on its kernel language -- a simple core language that consists of a small number of programmer- significant elements. The kernel languages are introduced progressively, adding concepts one by one, thus showing the deep relationships between different models. The kernel languages are defined precisely in terms of a simple abstract machine. Because a wide variety of languages and programming paradigms can be modeled by a small set of closely related kernel languages, this approach allows programmer and student to grasp the underlying unity of programming. The approach is based on the Mozart Programming System, which supports all of the computation models listed above, but the course will also expose students to some unfamiliar but important families of language syntax including Scheme, Haskell, and ML. | Topic Outline | Topic Outline | |||||||||||||||||||||||||||||||||||||||
| Objectives |
| Class Policies |
|
Quizzes Homework Interpreter Project Midterm Exam Final University Policies |
Honor Code Standards | In keeping with the principles of the BYU Honor Code, students are expected to be honest in all of their academic work. Academic honesty means, most fundamentally, that any work you present as your own must in fact be your own work and not that of another. Violations of this principle may result in a failing grade in the course and additional disciplinary action by the university. Students are also expected to adhere to the Dress and Grooming Standards. Adherence demonstrates respect for yourself and others and ensures an effective learning and working environment. It is the university's expectation, and my own expectation in class, that each student will abide by all Honor Code standards. Please call the Honor Code Office at 422-2847 if you have questions about those standards. Preventing Sexual Discrimination or Harassment Students with Disabilities | |||||||||||||||||||||||||||||||||||||