Exam2017Proposed solution included

CSC 316 Functional Programming Exam 2017

About this paper

An End-of-Semester Examination for CSC 316 Functional Programming at the University of Buea Faculty of Science, dated 01/09/2017, instructed by Dr. William Shu. Q1 covers axiomatic/denotational/operational semantics, the simply-typed lambda calculus, and type inference versus type checking. Q2 covers Church encodings, lambda-calculus simplification under call-by-name/call-by-value, combinators, SKI-combinator reduction and compilation, and a correctness proof linking a lambda term to its compiled SKI code. Q3 covers polymorphism classes, variance in subtyping, substitution, and a full unification algorithm worked on two constraint sets. Q4 covers OCaml's impurity, evaluating shadowing/closure OCaml computations, a recursive list-removal function with a custom exception, an animal union type with pattern matching, open union types, and a function-valued record type for rectangles.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC3162017

Functional Programming

Exam · Second Semester · Level 300

Open in the app to read the full paper and its proposed solution.

View solutionOpen in Shoracy
Proposed solution included

At a glance

Course code
CSC316 (CSC 316)
Type
Exam
Year
2017
Level
Level 300
Semester
Second Semester
Proposed solution
Included

Where it's from

  1. University

    University of Buea
  2. Faculty

    Faculty of Science - FS
  3. Department

    Computer Science - CSC

Read CSC316 2017 in Shoracy.

  • Every page, with zoom for diagrams and small print
  • The proposed solution, one tap away
  • Stays on your phone after the first open, even offline
Open in Shoracy