HomeCoursesTheory of Computation
AI-powered learning
Save

Theory of Computation

Gain insights into formal languages, regular languages, regular expressions, context-free languages, and Turing machines. Delve into automata models and enhance problem-solving skills through extensive exercises.

56 Lessons
15h
Join 2.9 million developers at
Join 2.9 million developers at
LEARNING OBJECTIVES
  • A solid understanding of formal languages, their structures and properties
  • Working knowledge of capabilities and limitations of different types of automata
  • The ability to convert between regular expressions, finite automata, context-free grammars and pushdown automata
  • Insights into computability theory, undecidability, reductions and the halting problem

Learning Roadmap

56 Lessons9 Quizzes10 Assessments

1.

Getting Started

Getting Started

Get familiar with core computation concepts, formal languages, and finite state machines.

2.

Finite Automata

Finite Automata

Walk through finite automata concepts, including DFAs, NFAs, regular languages, and machine minimization.

3.

Regular Expressions and Grammars

Regular Expressions and Grammars

3 Lessons

3 Lessons

Break apart regular expressions, their equivalence with finite automata, and regular grammars.

4.

Properties of Regular Languages

Properties of Regular Languages

6 Lessons

6 Lessons

Grasp the fundamentals of regular languages, decision algorithms, Pumping Theorem, and nonregular language properties.

5.

Pushdown Automata

Pushdown Automata

3 Lessons

3 Lessons

Deepen your knowledge of pushdown automata, their applications, and deterministic vs. nondeterministic behaviors.

6.

Context-Free Grammars

Context-Free Grammars

7 Lessons

7 Lessons

Focus on the structure, simplification, and conversion of context-free grammars and pushdown automata.

7.

Properties of Context-Free Languages

Properties of Context-Free Languages

7 Lessons

7 Lessons

Master the key properties, algorithms, and formalisms of context-free languages.

8.

Turing Machines

Turing Machines

8 Lessons

8 Lessons

Try out Turing machines, their definitions, functions, variations, and the Church-Turing Thesis.

9.

The Landscape of Formal Languages

The Landscape of Formal Languages

4 Lessons

4 Lessons

Unpack the core of formal languages, from RE languages and unrestricted grammars to Chomsky hierarchy.

10.

Computability

Computability

3 Lessons

3 Lessons

Examine limits of computability, undecidability problems, and implications of Rice's theorem.
Certificate of Completion
Showcase your accomplishment by sharing your certificate of completion.
Author NameTheory of Computation
Developed by MAANG Engineers
ABOUT THIS COURSE
What are the mathematics behind computers? What are the theoretical foundations of computer languages? Such questions can be explored by understanding formal languages and automata models. In this comprehensive course, you’ll explore formal languages, regular languages, and how to model them with their associated automata models. Next, you’ll cover regular expressions and grammar, and their equivalents. Then, you’ll explore context-free languages (the foundations of programming languages), pushdown automata, and the relationship between them. Toward the end, you’ll learn about recursively enumerable languages, Turing machines with their variations, context-sensitive languages, and unrestricted grammars. By the end of the course, you’ll have gained a deep understanding of several formal languages and their associated automata. Also, since there are plenty of exercises throughout the course, your understanding and problem-solving skills will be thoroughly reinforced.
ABOUT THE AUTHOR

Chuck Allison

Professor Emeritus of Computer Science. Previously a software engineer with two decades of experience.

Learn more about Chuck

Trusted by 2.9 million developers working at companies

These are high-quality courses. Trust me the price is worth it for the content quality. Educative came at the right time in my career. I'm understanding topics better than with any book or online video tutorial I've done. Truly made for developers. Thanks

A

Anthony Walker

@_webarchitect_

Just finished my first full #ML course: Machine learning for Software Engineers from Educative, Inc. ... Highly recommend!

E

Evan Dunbar

ML Engineer

You guys are the gold standard of crash-courses... Narrow enough that it doesn't need years of study or a full blown book to get the gist, but broad enough that an afternoon of Googling doesn't cut it.

S

Software Developer

Carlos Matias La Borde

I spend my days and nights on Educative. It is indispensable. It is such a unique and reader-friendly site

S

Souvik Kundu

Front-end Developer

Your courses are simply awesome, the depth they go into and the breadth of coverage is so good that I don't have to refer to 10 different websites looking for interview topics and content.

V

Vinay Krishnaiah

Software Developer

Built for 10x Developers

No Passive Learning
Learn by building with project-based lessons and in-browser code editor
Learn by Doing
Personalized Roadmaps
The platform adapts to your strengths & skills gaps as you go
Learn by Doing
Future-proof Your Career
Get hands-on with in-demand skills
Learn by Doing
AI Code Mentor
Write better code with AI feedback, smart debugging, and "Ask AI"
Learn by Doing
Learn by Doing
MAANG+ Interview Prep
AI Mock Interviews simulate every technical loop at top companies
Learn by Doing

Free Resources

FOR TEAMS

Interested in this course for your business or team?

Unlock this course (and 1,000+ more) for your entire org with DevPath