Save this video free

[HD] EECS4302 F26 - 2026-09-29 (Tuesday) - Lecture 6

Jackie Wang · 1:10:06 · Watch on YouTube

Part of York University EECS3342/EECS4302. See all 36 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

Jackie Wang develops the foundations of formal-language theory needed for Assignment 1: systematic enumeration of strings, distinctions among alphabets, strings, languages, and membership problems, and regular-expression operators. The lecture then introduces DFA and NFA modeling through alternating binary strings, equal-count constraints, dead states, nondeterministic suffix detection, and the equivalence of regular expressions, DFAs, and NFAs.

Key takeaways

Chapters

0:00 Assignment 1 Preparation and Systematic String Enumeration
5:00 Distinguishing an Alphabet from the Language Σ¹
10:00 Interpreting the Implication Σ₁ ⊆ Σ₂ ⇒ Σ₁* ⊆ Σ₂*
15:00 Languages as Subsets of Σ*
20:00 Keyboard Strings and the Language of Compilable Java Programs
25:00 Empty Language versus the Language {ε}
30:00 Computational Problems as Language-Membership Questions
35:00 Regular Expressions and Their Three Core Operators
40:00 Constructing a Regular Expression for Alternating 0s and 1s
45:00 Factoring Regular Expressions and Applying Operator Precedence
50:00 Witness Strings for Proving Regular-Expression Inequivalence
55:00 DFA Requirements and the Equal-Count Alternation Language
1:00:00 DFA State Construction with Accepting and Dead States
1:05:00 NFA Modeling of Strings Ending in 01
1:09:00 Next Lecture, Assignment 2, and Project Preparation

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

Transcript excerpt

0:05 Okay. So, nothing really new uh in terms of the course. I think we just keep on uh covering the uh basics about lexical analysis and you can find a lecture digest and those template in the normal place and assignment number one. Um I'll definitely try to cover as much as I can. I definitely have some plan to I can I try to skip uh the excessive formalism that's actually on the slides. We can do that maybe a little bit later beyond the deadline for assignment one. But I think to do it, you don't really need those formal meth uh do uh those [snorts] uh mathematical notation just yet. We have to cover some very minimum for you to understand. But I'll do my best to really cover today and also Thursday so that you will be able to uh do your assignment number one. It's a very nice assignment to really cover uh the Java basics and also to understand

0:54 what's going on over here. Okay. And then yep, office hour appointment if you need it possibly a little bit later in the course when you get to the uh antip. Okay guys question all good okay let's now continue so we were over here in this particular exercise how do we numerate in a systematic manner okay very quickly right how do you do that so let's say here we got an alphabets and ABC and then we say that to the power of four that means it's going to be all the strings made from this particular alphabet of length four So we got one, two, three, and four. So if I do ask you maybe not this uh much, right? If I do ask you to do something

1:41 similar, how would you systematically

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, Jackie Wang.

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.