Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.
/ S16_TA_CS131 Public archive

Notes & HW Solutions for CS 131 (Spring'16, UCLA)

License

Notifications You must be signed in to change notification settings

SaswatPadhi/S16_TA_CS131

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

S16_TA_CS131

Discussion Section Notes for CS 131 (Spring'16, UCLA)

Section 1 [Apr 01 2016]

  • OCaml
    • System setup: OCaml, Opam, Utop etc.
    • Primitives: bool, int, Lists, Tuples etc.
    • Functions, recursion, currying etc.
    • Pattern Matching

Section 2 [Apr 08 2016]

  • Type annotations
  • Built-in modules (List)
  • Simple user-defined types

Section 3 [Apr 15 2016]

  • HW1 solutions
  • More on User-defined types
    • Recursive data-types
  • Polymorphism
  • More on Higher-order functions

Section 4 [Apr 22 2016]

  • HW2 solutions
  • Exceptions
  • Modules & Functors

Section 5 [Apr 29 2016]

  • Mid-term solutions
  • HW3 hints & clarifications
  • Laziness in OCaml

Section 6 [May 06 2016]

  • HW3 solutions
  • Inheritance
  • Sub-type polymorphism
    • vs Parametric polymorphism
  • Dynamic dispatch
    • vs Static overload
  • Implementation in Java

Section 7 [May 13 2016]

  • Generics
    • super and extends
  • Exceptions

Section 8 [May 20 2016]

  • HW4 solutions
  • Java: Pass-by-value vs reference
  • Java Streams
    • Terminal vs intermediate functions
    • Short-circuited functions
    • mappers and Function<T,R> sub-type
  • Prolog basics

About

Notes & HW Solutions for CS 131 (Spring'16, UCLA)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published