Courses / COSE215 Schedule ↓

COSE215: Theory of Computation, 2024 Spring

Note that this page is outdated. Please refer to the recent course page.

Course Information

Course Materials

Installation of Scala and sbt

Scala is a general-purpose programming language combining object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and JavaScript runtimes let you build high-performance systems with easy access to huge ecosystems of libraries.

The interactive build tool sbt is built for Scala and Java projects.

Please download and install them using the following links:

Schedule

Part 0: Basic Concepts

  1. 003/04 Course Overview
  2. 103/06 Mathematical Preliminaries ex01sol ex01sol
  3. 203/11 Basic Introduction of Scala hw01by 03/25 hw01by 03/25 code

Part 1: Finite Automata

  1. 303/13 Deterministic Finite Automata (DFA) code
  2. 403/18 Nondeterministic Finite Automata (NFA) code
  3. 503/20 ε-Nondeterministic Finite Automata (ε-NFA) hw02by 04/03 hw02by 04/03 code
  4. 603/25 Regular Expressions and Languages code
  5. 703/27 Equivalence of Regular Expressions and Finite Automata
  6. 804/01 Closure Properties of Regular Languages ex02 ex02
  7. 904/03 The Pumping Lemma for Regular Languages hw03by 04/17 hw03by 04/17
  8. 1004/08 Equivalence and Minimization of Finite Automata ex03 ex03

Part 2: Pushdown Automata

  1. 1104/10 Context-Free Grammars (CFGs) and Languages (CFLs) code
  2. 1204/15 Examples of Context-Free Grammars
  3. 1304/17 Parse Trees and Ambiguity
  4. 04/24 Midterm Exam Lectures 1 - 13
  5. 1404/29 Pushdown Automata (PDA) code
  6. 1505/01 Examples of Pushdown Automata hw04by 05/20 hw04by 05/20
  7. 1605/06 Equivalence of Pushdown Automata and Context-Free Grammars
  8. 1705/08 Deterministic Pushdown Automata (DPDA)
  9. 1805/13 Normal Forms of Context-Free Grammars
  10. 1905/15 Closure Properties of Context-Free Languages hw05by 05/29 hw05by 05/29
  11. 2005/20 The Pumping Lemma for Context-Free Languages

Part 3: Turing Machines / Computability

  1. 2105/22 Turing Machines (TMs) code
  2. 2205/27 Examples of Turing Machines
  3. 2305/29 Extensions of Turing Machines hw06by 06/12 hw06by 06/12
  4. 2406/03 The Origin of Computer Science
  5. 2506/05 Undecidability
  6. 2606/10 P, NP, and NP-Complete Problems
  7. 2706/12 Course Review
  8. 06/19 Final Exam Lectures 14 - 26