Exam2019Proposed solution included

CSC 316 Functional Programming Exam 2019

About this paper

An End-of-Semester Examination for CSC 316 Functional Programming at the University of Buea Faculty of Science, dated 26/07/2019, instructed by Dr. William S. Shu. Q1 covers why OCaml is functional, a sorted-lists scammer-finding algorithm in pseudocode and OCaml, a zero-based natural-number union type, and a recursive addition function with a worked 4+2 example. Q2 covers lambda-calculus simplification by call-by-need and rightmost-outermost strategies, plus intensionality/extensionality and combinators. Q3 covers the simply-typed lambda calculus, typing rules, subtype polymorphism and variance, and covariance/contravariance of function types. Q4 covers the program/result relationship in semantics and operational semantics theory.

Open in Shoracy

Opens this paper in the app on your phone.

University of Buea

Faculty of Science - FS

Computer Science - CSC

CSC3162019

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
2019
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 2019 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