logo

Crowdly

Browser

Додати до Chrome

Languages and Computation (COMP2040 UNMC) (SPM1 25-26)

Шукаєте відповіді та рішення тестів для Languages and Computation (COMP2040 UNMC) (SPM1 25-26)? Перегляньте нашу велику колекцію перевірених відповідей для Languages and Computation (COMP2040 UNMC) (SPM1 25-26) в moodle.nottingham.ac.uk.

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

Consider the pushdown automaton (PDA) embodied by the diagram below, which accepts by final state. Let us denote this PDA by P1. The PDA P1 has states {1,2}, alphabet symbols {a,b}, stack symbols {#,a,b}, transitions as depicted in the diagram, start state 1, initial stack symbol # and final state 2. If you were to modify the transitions labeled by a,b,ε and b,a,ε and were to modify them to a,b,ab and b,a,ba respectively, what consequence would this lead to?

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

Consider the pushdown automaton (PDA) embodied by the diagram below, which accepts by final state. Let us denote this PDA by P1. The PDA P1 has states {1,2}, alphabet symbols {a,b}, stack symbols {#,a,b}, transitions as depicted in the diagram, start state 1, initial stack symbol # and final state 2. Select all of the words below (from 1 to 6) which are accepted by P1.

Words:

1. aaabb

2. abaa

3. baab

4. a

5. ababab

6. bbaba

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

Consider the deterministic finite automaton (DFA) over the alphabet {a, b} and embodied by the transition diagram below. Use the table minimization algorithm provided in the lectures to determine which pairs of states are equivalent. Select the options below which are correct.

DFA.

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

Consider the pushdown automaton (PDA) embodied by the diagram below, which accepts by final state. Let us denote this PDA by P1. The PDA P1 has states {1,2}, alphabet symbols {a,b}, stack symbols {#,a,b}, transitions as depicted in the diagram, start state 1, initial stack symbol # and final state 2. Select all of the words below (from 1 to 6) which are accepted by P1.

Words:

1. aaabb

2. abaa

3. baab

4. a

5. ababab

6. bbaba

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

Consider the deterministic finite automaton (DFA) over the alphabet {a, b} and embodied by the transition diagram below. Use the table minimization algorithm provided in the lectures to determine which pairs of states are equivalent. Select the options below which are correct.

DFA.

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

Consider the deterministic finite automaton (DFA) over the alphabet {a, b} and embodied by the transition diagram below. Use the table minimization algorithm provided in the lectures to determine which pairs of states are equivalent. Select the options below which are correct.

DFA.

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

Consider the pushdown automaton (PDA) embodied by the diagram below, which accepts by final state. Let us denote this PDA by P1. The PDA P1 has states {1,2}, alphabet symbols {a,b}, stack symbols {#,a,b}, transitions as depicted in the diagram, start state 1, initial stack symbol # and final state 2. Select all of the words below (from 1 to 6) which are accepted by P1.

Words:

1. aaabb

2. abaa

3. baab

4. a

5. ababab

6. bbaba

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

Consider the deterministic finite automaton (DFA) over the alphabet {a, b} and embodied by the transition diagram below. Use the table minimization algorithm provided in the lectures to determine which pairs of states are equivalent. Select the options below which are correct.

DFA.

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

Consider the deterministic finite automaton (DFA) over the alphabet {a, b} and embodied by the transition diagram below. Use the table minimization algorithm provided in the lectures to determine which pairs of states are equivalent. Select the options below which are correct.

DFA.

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

Consider the context-free grammar (CFG) G = (N,T,P,A) where N = {A,B}, T = {0,1,2}, the start symbol is A and the productions P are given below. Which of the following strings are valid left sentential forms of G?

A → A0B | 11A00 | 2

B → 10B | 00A2 | ε

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

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.nottingham.ac.uk?

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

Browser

Додати до Chrome