Docsity

Computability and Languages - Module 30 Worksheet | CSE 460, Study notes of Computer Science

Toggle sidebar
bg1
Module 30 Worksheet
In Class Questions
1) (S28) Justify each of the derivation steps in the given derivation:
Step 1: S ==> aSbS
Step 2: aSbS ==>* aubS
Step 3: aubS ==>* aubv
Take home review questions
1) In the grammar with productions S   | aSbS | bSaS, which production(s) correspond
to a “base case production” and which production(s) correspond to a “recursive case
production”?
Base case:
Recursive case:
2) What is the difference between “normal induction” and “strong induction”?
3) Why did we need strong induction when working with the grammar EG? For
example, why would normal induction not be enough to conclude that u belongs to
EQUAL on slide 19?

Partial preview of the text

Download Computability and Languages - Module 30 Worksheet | CSE 460 and more Study notes Computer Science in PDF only on Docsity!

Module 30 Worksheet In Class Questions

  1. (S28) Justify each of the derivation steps in the given derivation: Step 1: S ==> aSbS Step 2: aSbS ==>* aubS Step 3: aubS ==>*^ aubv Take home review questions
  2. In the grammar with productions S   | aSbS | bSaS, which production(s) correspond to a “base case production” and which production(s) correspond to a “recursive case production”? Base case: Recursive case:
  3. What is the difference between “normal induction” and “strong induction”?
  4. Why did we need strong induction when working with the grammar EG? For example, why would normal induction not be enough to conclude that u belongs to EQUAL on slide 19?