CSE105F24 ×  Calendar Assignments Glossary Supplemental Videos Office Hours Weeks 0 and 1Week 2Week 3Week 4Week 5Week 6Week 7Week 8Week 9Week 10Finals week

CSE105F24


Office hours: drop-in (in person and Zoom) Question & Answer opportunity to talk with the tutors, TAs, and instructor about concepts and specific questions from class and homework.












Dates: 11/25/24 - 12/1/24. Test 2 in CBTF this week. No class on Friday in observance of Thanksgiving. The test covers material in Weeks 5 through 8 and Monday of Week 9. In particular, you should make sure you can:

  • State the definition of the class of context-free languages
  • Explain the limits of the class of context-free languages
  • Identify some context-free sets and some non-context-free sets
  • Use general constructions to prove closure properties of the class of context-free langugages.
  • Use counterexamples to prove non-closure properties of the class of context-free langugages.
  • Motivate the definition of a Turing machine
  • Trace the computation of a Turing machine on given input
  • Describe the language recognized by a Turing machine
  • Determine if a Turing machine is a decider
  • Given an implementation-level description of a Turing machine
  • Use high-level descriptions to define and trace Turing machines
  • Apply dovetailing in high-level definitions of machines
  • State the definition of the class of recognizable languages
  • State the definition of the class of decidable languages
  • State the definition of the class of co-recognizable languages
  • Apply a general construction to create a new Turing machine from an example one.
  • Formalize a general construction from an informal description of it.
  • Use general constructions to prove closure properties of the class of decidable langugages.
  • Use general constructions to prove closure properties of the class of recognizable langugages.
  • Give examples of sets that are decidable.
  • Give examples of sets that are recognizable.
  • Connect languages and computational problems
  • Describe and use the encoding of objects as inputs to Turing machines
  • Trace high-level descriptions of algorithms for computational problems
  • Describe common computational problems with respect to DFA, NFA, regular expressions, PDA, and context-free grammars.
  • Give high-level descriptions of Turing machines that decide common computational problems with respect to DFA, NFA, regular expressions, PDA, and context-free grammars.
  • Define and explain the definitions of computational problems, including the acceptance, language emptiness, and language equality problems for DFA, NFA, REX, CFG, PDA, and TM, as well as the halting problem for TM.
  • Trace the argument that proves the acceptance problem for Turing machines is undecidable and explain why it works.
  • Define computable functions, and use them to give mapping reductions between computational problems
  • Build and analyze mapping reductions between computational problems
  • Deduce the decidability or undecidability of a computational problem given mapping reductions between it and other computational problems, or explain when this is not possible.
  • State, prove, and use theorems relating decidability, recognizability, and co-recognizability.
  • Prove that a language is decidable or recognizable by defining and analyzing a Turing machines with appropriate properties.

To study for the exam, we recommend reviewing class notes (e.g. annotations linked on the class website, podcast, supplementary video from the class website), reviewing homework (and its posted sample solutions), and in particular *working examples* (extra examples in lecture notes, textbook examples listed in hw, review quizzes, discussion examples) and getting feedback (office hours and Piazza).


Learning Materials
Notes(Video) Reducing A_TM to HALT_TM(Video) Mapping Reducation Applications(Video) Mapping Reduction Strategy(Video) ETM is undecidable, part 1(Video) Reduce ATM to ETM complement(Video) Mapping reduction steps(Video) EQTM(Video) Equally expressive models(Video) TM vs May Stay machines(Video) Multitape TMs(Video) Nondeterministic TMS(Video) Church-Turing thesis
Due Dates
Test 2
Due: Testing window: 11/25 - 11/27. Sign up in advance at the CBTF.
Weekly Review Quiz
Due: 12/1/24