Save this video free

CSCD 420 Nov 23 2026

Chris Cain · 53:13 · Watch on YouTube

Part of Eastern Washington University CSCD 420. See all 38 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Chris Cain reviews exam-sized problems in Turing-machine design, the context-free pumping lemma, and nondeterministic computation. The class constructs machines to delete the first A and increment a binary number, analyzes why {a^i b^j c^i d^j} is not context-free by grouping pumping cases, and designs a two-tape nondeterministic machine that guesses and verifies divisors of unary numbers.

Key takeaways

Chapters

0:00 Exam Review Plan and Turing-Machine Problem-Solving
1:15 Deleting the First A with a Turing Transducer
10:39 Incrementing a Binary Number from the Rightmost Bit
18:24 Pumping-Lemma Target: Matching A/C and B/D Counts
24:12 Using Chomsky Normal Form to Bound the Pumping Region
28:16 Choosing a^m b^m c^m d^m as the Pumping Witness
33:54 Compressing Pumping-Lemma Cases into Two Arguments
36:34 Designing a Nondeterministic Machine for Unary Composites
42:17 Guessing Divisors and Verifying Them in Parallel
49:21 Class Vote Sets the Next Meeting's Review Plan

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:04 We are reviewing for an exam, I believe it's from today. We only have class today and tomorrow. One thing I do want to talk to people about, we probably won't be able to answer this until the end of the period, but we are just about one class period worth of material away from being able to reveal the last project of the quarter. So, it feels really weird to wait until next Tuesday, have a Tuesday's class, and then reveal a project that you'll have just about a week to work on while you are studying for a final on top of everything else that you're doing to wrap up your quarter. So, I'll just want to take a vote at the end of the class period to figure out do we want to review tomorrow or do we want to get through that day's

0:52 worth of lecture material so that I can reveal the project? So you have a little bit longer to work on it for those of you who will have a bit of time over the break. So, keep that in mind as we go over problems. I'm going to probably go a little bit faster than I otherwise would just in case that is the vote. But let's hop right into it. As always, on these review periods, let's start out by thinking about these problems as if they were on an exam. So, I'm not going to give you too much to get started, but I would hope at this point that you feel confident to design Turing machines to do something like this. Let's see if we can knock this out. Design a Turing machine to remove the first A from a string over the alphabet A.

2:26 >> I >> Have we got an answer?

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Chris Cain.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.