Programming Principles, SNU 4190.210, 2022 Fall

Announcements

  • Sep 22: HW1 is out. (Due date: 10/2 23:59)
  • Oct 6: midterm exam announced
  • Oct 13: HW2 is out. (Due date: 10/27 23:59)
  • Nov 11: HW3 is out. (Due date: 11/27 23:59)
  • Nov 21: HW4 is out. (Due date: 12/2 23:59)
  • Dec 1: Project is out. (Due date: 12/21 23:59)

Please see Issue tracker

Lecture slide updates

Download 'lecture.pdf'.

You can see the history of the lecture slide from commit logs

Assignments

Homework Repo

  • Download skeleton code and replace ??? with your code
  • No delayed submission
  • The score is automatically uncovered right after the due date.
  • Claims: within 2 weeks from the due date, please.
  • You must use the lastest version of Scala 2 (2.13.8). Do not use Scala 3.
  • Please check errata regularly
  • Zip your src folder which includes Main.scala and upload it.
  • Visit http://pp.kinetc.net:10000 and log-in with your id (e.g. 2016-12345). Your initial password is equivalent to your id.
No. Published Due Description
1 2022/09/22 2022/10/2 23:59 Basic Recursive functions
2 2022/10/13 2022/10/27 23:59 Algebraic Data Types
3 2022/11/11 2022/11/27 23:59 OOP
4 2022/11/21 2022/12/2 23:59 Typeclass
P 2022/12/1 2022/12/21 23:59 Project

Must Read

Questions

def foo(x:Int) = x + 3
foo(10)

Scala

  • We will not use Scala 3.
  • Latest version: 2.13.8
  • Use IDEs to write a Scala program.
    • IntelliJ IDEA, Eclipse, Emacs, etc
    • Reading 'Scala setting.pdf' will be helpful.

Honor Code: DO NOT CHEAT