Save this video free

CSCD 420 Oct 15 2026

Chris Cain · 50:43 · 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 regular expressions and context-free grammar construction, emphasizing how to encode exact or bounded symbol counts, inequalities between counts, language operations, and modular string lengths. The class then connects lambda-NFA subset construction with regular grammars, working through exam-oriented methods for handling lambda transitions and converting left- or right-linear productions into automata.

Key takeaways

Chapters

0:00 Regular Expressions for Exactly Two A’s
2:00 Encoding at Most Three A’s with Optional Symbols
5:00 Requiring A, B, and C in Any Order
8:40 Starting the Grammar Practice Set
18:00 A Grammar for More A’s Than B’s
23:00 Constructing Star Closure Without Invalid Derivations
29:00 Simplifying Grammar Union and Complement Expressions
35:00 Grammar Rules for Concatenation, Powers, and Modulo Lengths
40:00 Converting a Lambda-NFA by Tracking State Sets
46:00 Converting Linear Grammars into NFAs

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

Transcript excerpt

0:02 get started. >> So, I at least want to start by going over the remainder of the regular expression practice problems that we started last time. Who would like a little bit more time to work on these or did you get a chance to work on these last night? Sounds like people want to go over them then. We can do that. So, we did seven and eight at the end of class, but we need to do 19 A, B, and C. So, anyone want to give me a How did you think about 19A?

0:52 What's the What's the brain's not working today? High level thought process I guess of of how you tackle it. >> Yeah. It's like anything followed by an A followed by anything followed by an A followed by anything. >> Yeah. The anything being anything in the alphabet. In this case, the alphabet's A, B, and C. So we need to put those two A's that we know are there and what can come before the first A is an arbitrary number of A's or B's or C's between them A's or B's or C's after an arbitrary number of A's or B's

1:40 or C's except oh yeah it's exactly two A's. So we can't have any A's here. No A's. No A's. No A's. There we go. Yeah, if this were two or more A's, then we would want that. But exactly two A's, I want these pluses either. Any arbitrary number of these are before the first, between the two, or after the last. Any questions on A? How did we handle B? B is a little interesting. Now we're saying no more than three A's. So we need some way of specifying all of those possibilities. Yeah, >> similar to A, but in the last one it

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.