Save this video free

CSCD 420 Oct 06 2026

Chris Cain · 50:37 · Watch on YouTube

CSCD 420 Oct 06 2026 Watch on YouTube →

Overview

Chris Cain teaches regular-expression precedence and construction, then connects regular languages to regular grammars and finite automata. The class practices describing languages such as strings with at least one `00` or no consecutive zeros, and explains how to show a language is regular by constructing a DFA, NFA, or regular expression.

Key takeaways

Chapters

0:00 Assignment Support and Regular-Expression Precedence
4:00 Generating Strings from a Regular Expression
9:00 Reading Even-A and Odd-B Constraints
11:30 Requiring a Consecutive `00` in a Binary String
19:00 Building a Regex for Strings with No `00`
25:30 Repairing and Simplifying the No-`00` Expression
35:00 Regular Expressions, Automata, and Proofs of Regularity
39:00 Right-Linear and Left-Linear Regular Grammars
43:00 Classifying Grammars and Deriving a String
46:00 Converting a Right-Linear Grammar into an Automaton

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

Transcript excerpt

0:02 Start with I want to start by saying I have seen a frighteningly few people in my office hours so far for this assignment. I don't quite know what that means but >> I haven't seen many people but I pointing to your office you had left the entire time. I had a meeting scheduled that was not technically my office hours. >> It comes out here and it's I I try to be available during that time when I when I can. Yes. But I expect that these problems are a bit more difficult and that there are most of you can probably use a nudge here or there. So again, I absolutely welcome it.

0:52 Please do feel free to stop by. If the hour that is right after this class doesn't work for you, let me know a time that does and I will try to make that happen. And these are these are not easy problems. If you think you have an easy answer to a good chunk of these, then there's probably something that you are missing and I will be happy to help you figure that out. Last time we started covering regular expressions. So I guess I should also mention that the assignment is due tomorrow. So it's time to ramp that up, get those questions in. We started talking about regular expressions and we got a little ways into that. We talked about the construction rules. We talked about primitive regular expressions and how those primitive

1:38 regular expressions could be combined into more complicated regular expressions via union rules, concatenation rules, star closure rules. But we might find at some point that we need to define precedence of these operations because just like with math if you don't have parentheses then you might have ambiguity if you

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

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.