Skip to content

alison-chao/CS162

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS162 Programming Languages

Programming Languages are the duct tape, bricks, mortar and steel of the information age. Over the last thirty years, a variety of languages with diverse features have been developed, expressive radically different perspectives of the idea of computation. CSE 162 is an introduction to these different perspectives, the fundamental concepts of languages, and how modern language techniques and idioms can be used to engineer software systems. For this purpose, we shall focus on three different paradigms -- functional, object-oriented and logic programming as embodied in OCaml, Python and Datalog.

Logistics

Instructor: Yu Feng (yufeng@cs.ucsb.edu)

TA: Yanju Chen (yanju@cs.ucsb.edu), Yimeng Liu (yimengliu@cs.ucsb.edu)

Class: M,Wed, 9:30am, GIRV-2128

Discussion session: Friday, 9-9:50am, Phelp-3526

TA's office hour: Yimeng Liu (Mon, noon-2pm), Yanju Chen (Wed, 1pm-3pm)

TA Office: Trailer 936 Room 104

Instructor's office hour: Fri, 4pm-5pm, HFH-2157

Textbook (optional): Types and Programming Languages

Date Topic Slides Read Out Due
1/6 Hello, World! lec1
1/8 Lambda Calculus I lec2
1/13 Lambda Calculus II lec3
1/15 A crash course in OCaml lec4 hw1
1/20 MLK Jr. Day
1/22 Datatypes lec5 hw2
1/27 Recursion lec6 hw1
1/29 Higher Order Functions lec7 hw3
2/3 Environments and Closures lec8
2/5 Type Inference lec9 hw4 hw2
2/10 Midterm review lec10
2/12 Midterm exam (9:30-10:45AM, GIRV 2128) hw3
2/17 Presidents' Day
2/19 A crash course in Racket lec11 hw4
2/24 Solver-aided programming I lec12
2/26 Solver-aided programming II lec13
3/2 A crash course in Python lec14
3/4 Objects in Python lec15
3/9 Logical programming lec16
3/11 Final review
3/18 Final exam (8-11AM, GIRV 2128)

Grading

  1. Programming assignments: 50%

  2. Midterm (Closed Book): 20%

  3. Final (Closed Book): 25%

  4. Class Participation: 5%

Homework

  1. Homework1
  2. Homework2
  3. Homework3
  4. Homework4
  5. Homework5
  6. Homework6

Academic Integrity

  • Cheating WILL be taken seriously. It is not fair toward honest students to take cheating lightly, nor is it fair to the cheater to let him/her go on thinking that cheating is a reasonable alternative in life.
  • The following is not considered cheating:
    • discussing broad ideas about programming assignments in groups, without being at a computer (with code-writing and debugging done individually, later).
  • The following is considered cheating:
    • discussing programming assignments with someone who has already completed the problem, or looking at their completed solution.
    • looking at anyone else’s solution
    • looking at solutions from the web, previous versions of the class, or anywhere else.
    • leaving your code (for example in an online repository) visible to others, leading others to look at your solution.
    • receiving, providing, or soliciting assistance from unauthorized sources during a test.
  • Programming assignments are not intended to be grade-makers, but to prepare you for the tests, which are the grade-makers. Cheating on the programming assignment is not only unethical, but shows a fundamental misunderstanding of the purpose of these assignments.
  • Penalties: If the teaching staff become aware of any violations of these rules by a student I will initiate the actions described in the Policy on Academic Integrity. If found responsible, the academic sanctions may result in a zero for the assignment, a zero for that portion of your grade, an “F” in the course, among others.

About

Programming languages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • OCaml 96.6%
  • Makefile 3.4%