logo

Crowdly

Browser

Додати до Chrome

FIT2014 Theory of computation - MUM S2 2025

Шукаєте відповіді та рішення тестів для FIT2014 Theory of computation - MUM S2 2025? Перегляньте нашу велику колекцію перевірених відповідей для FIT2014 Theory of computation - MUM S2 2025 в learning.monash.edu.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

To use the pumping lemma for CFL, we assume that a language L has a CFG in CNF. Next, we choose a string W in L that is long enough. We then divide the string W into 5 parts, i.e., W = uvxyz. Which of the following is (are) true? 

0%
0%
0%
0%
0%
Переглянути це питання

When we do a proof by contradiction using the pumping lemma for CFL, as long as we can reach a contradiction (i.e., the resulting string is NOT in the language assumed to be context-free) for just one way to divide the string W = uvxyz, then we are done. 

0%
0%
Переглянути це питання

When we prove that a language L is not context free, we use the pumping lemma. Part of the proof involves the parameter K, which refers to

0%
0%
0%
0%
Переглянути це питання

We appeal to the pumping lemma for context-free language (CFL) to prove that a language L is CFL.

0%
0%
Переглянути це питання

Convert the following Nondeterministic Finite Automaton (NFA) into an equivalent Deterministic Finite Automaton (FA).

Your FA must be presented by filling in some rows in the table further down.  You may not need all the rows available.

Image failed to load

Переглянути це питання

This question is also about the language ANTIPALINDROME, defined in the previous question.

Give a Context-Free Grammar for the language ANTIPALINDROME.

Переглянути це питання

Let ANTIPALINDROME be the language of all even-length strings over the alphabet  {a,b}  such that, for all i, the i-th letter from the start is different to the i-th letter from the end.  Examples of strings in this language include:

ε,  ab, ba, aabb, abab, baba, bbaa, aaabbb, ...

Using the Pumping Lemma for Regular Languages, prove that ANTIPALINDROME is not regular.

Переглянути це питання

Consider the five-state Finite Automaton represented by the following table.

state    
Start   131
242
Final   313
Final   424
Final   535

Find an equivalent FA with the minimum number of states.

Enter your simplified FA in the table below.  You may not need all rows of the table.

Переглянути це питання

Convert the following Nondeterministic Finite Automaton (NFA) into an equivalent Deterministic Finite Automaton (FA).

Your FA must be presented by filling in some rows in the table further down.  You may not need all the rows available.

Image failed to load

Переглянути це питання

Let  x  be a string, and let  M  be a Finite Automaton with just one Final State that accepts the strings  x  and  xx.

(a)   Prove, by induction on  n,  that  M  accepts the string  xn  for every  n ≥ 1.

(b)   Would the same statement hold if  M  is a Nondeterministic Finite Automaton, also with just one Final State, instead?  Why or why not?

Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на learning.monash.edu?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome