- 22
- 4 092
CS Theory Simplified
Приєднався 14 жов 2011
Turing machines (Part 3): Configuration, Computation, Language of a TM
Turing machines (Part 3): Configuration, Computation, Language of a TM
Переглядів: 85
Відео
Turing machines (Part 2): Working example
Переглядів 79Місяць тому
Turing machines (Part 2): Working example
Turing machines (Part 1): Introduction to TM, Formal definition
Переглядів 87Місяць тому
Turing machines (Part 1): Introduction to TM, Formal definition
CFG to PDA: Conversion from Context-free Grammars to Pushdown Automata
Переглядів 261Місяць тому
This video shows how to obtain a Pushdown automaton (PDA) from a given Context-free Grammar (CFG).
Pushdown Automata Simplified
Переглядів 263Місяць тому
This video presents in an easy and simple way Pushdown automata (PDA) and shows how PDA are able to recognize context-free languages (CFL). Pushdown automata (PDA) are like nondeterministic finite automata but they have the possibility to use a stack as an auxiliary memory.
Ambiguity in Context-Free Languages (Ambiguous String, Ambiguous Grammar, Ambiguous Language)
Переглядів 2242 місяці тому
This video explains in a simple and clear way the concept of ambiguity in context-free languages (CFL). Ambiguity in context free languages refers to the possibility of having an input string that may be interpreted in different ways. The video defines: -Ambiguous string -Ambiguous CFG (Context-Free Grammar) -Ambiguous Language Some examples where ambiguity is encountered are discussed at the e...
Context-Free Grammars for Regular Languages
Переглядів 2202 місяці тому
This video shows in an easy and simple way how to write context-free grammars for regular languages. Context-free languages are the languages described by context-free grammars (CFG). A language is regular if an only if there's a Finite State Machine (FSM) that recognizes it. We will show that regular languages are a subset of context-free languages since we can obtain a context-free grammars (...
Designing Context-Free Grammars (Strings in the form a^nb^mc^{n+m})
Переглядів 1502 місяці тому
This video is one of a playlist which presents some examples of context-free grammars (CFG). We'll show how to reason in order to find a context-free grammar (CFG) for a given language. After defining a grammar for the language, we'll show how to prove that a string is accepted. The language discussed in this video is the set of strings s over the alphabet {a,b}, where s=a^nb^mc^{n m}. An examp...
Designing Context-Free Grammars (Strings in the form a^nb^m with m greater than n)
Переглядів 1282 місяці тому
This video is one of a playlist which presents some examples of context-free grammars (CFG). We'll show how to reason in order to find a context-free grammar (CFG) for a given language. After defining a grammar for the language, we'll show how to prove that a string is accepted. The language discussed in this video is the set of strings s over the alphabet {a,b}, where s=a^nb^m, m greater than ...
Designing Context-Free Grammars (The complement of the strings a^nb^n)
Переглядів 1652 місяці тому
This video is one of a playlist which presents some examples of context-free grammars (CFG). We'll show how to reason in order to find a context-free grammar (CFG) for a given language. After defining a grammar for the language, we'll show how to prove that a string is accepted. The language discussed in this video is the set of strings over the alphabet {a,b}, where the string is not in the fo...
Designing Context-Free Grammars (Strings containing more a's than b's)
Переглядів 2212 місяці тому
This video is one of a playlist which presents some examples of context-free grammars (CFG). We'll show how to reason in order to find a context-free grammar (CFG) for a given language. After defining a grammar for the language, we'll show how to prove that a string is accepted. The language discussed in this video is the set of strings over the alphabet {a,b}, where the number of a's is greate...
Designing Context-Free Grammars (Even palindromes over {a,b})
Переглядів 1473 місяці тому
This video is the first one in a playlist which presents some examples of context-free grammars (CFG). We'll show how to reason in order to find a context-free grammar (CFG) for a given language. After defining a grammar for the language, we'll show how to prove that a string is accepted. An example of string is shown accepted by use of derivation. Another example of string is shown correct by ...
Context-Free Grammars Simplified
Переглядів 2263 місяці тому
This video presents in an easy and simple way the context-free languages. Context-free languages are the languages described by context-free grammars (CFG). Context-free grammars are explained with a very simple example of language, then defined, then discussed with a more elaborate example. A grammar is a set of rules used for substitution, known also as productions. It defines a set of non-te...
Non regular languages (Pumping Lemma to prove non regularity)
Переглядів 1643 місяці тому
Pumping Lemma is used to prove that a language is not regular. Pumping Lemma for regular languages: A property of regular languages states that to accept long strings there should be a cycle. If we hit the cycle once we can traverse it many times, so long strings can be pumped. Pumping lemma states that there exits some string s longer than a certain pumping length p and this string could be wr...
DFA to Regular Expression (Example of DFA with 3 states)
Переглядів 2563 місяці тому
DFA to Regular Expression (Example of DFA with 3 states)
FSM for strings over {0,1} where each 1 is preceded by 0 and the number of 1's is even
Переглядів 1293 місяці тому
FSM for strings over {0,1} where each 1 is preceded by 0 and the number of 1's is even
FSM for strings over {0,1} for which each 1 is preceded by 0
Переглядів 2653 місяці тому
FSM for strings over {0,1} for which each 1 is preceded by 0
شكرا على الشرح ❤❤
شكرا على الشرح المميز دكتورة ❤❤
شكرا على الشرح المميز ❤️❤️
شكرا على الشرح 💙💙💙💙
شكرا دكتوره على الشرح الرائع ❤❤❤
جهود مباركة دكتورة
شكرا دكتورة على الشرح الرائع ❤
Dr.zahraa is the best 😍😍😍😍
Thank you 💕💕💕💕