Exam 13: Modeling Computation

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Find a set of two productions that produces {12nn>0}\left\{ 1 ^ { 2 n } \mid n > 0 \right\}

(Short Answer)
4.9/5
(38)

Find a production of the form A"“ A \rightarrow \underline{\quad\quad}" such that S1S,S0A,AS \rightarrow 1 S , S \rightarrow 0 A , A \rightarrow \underline{\quad\quad} produces {1n00n0}\left\{ 1 ^ { n } 00 \mid n \geq 0 \right\}

(Short Answer)
4.9/5
(34)

Suppose a phrase-structure grammar has productions SS0,SA1,A0S \rightarrow S 0 , S \rightarrow A 1 , A \rightarrow 0 Find a derivation of 01

(Short Answer)
4.7/5
(29)

Construct a finite-state machine with output that produces a 1 if and only if the last 3 input bits read are 0's.

(Short Answer)
4.8/5
(35)

Let A={1,10} . Which strings belong to A* ?

(Short Answer)
4.8/5
(36)

S1AB,AB0B,B0,A1BS \rightarrow 1 A B , A B \rightarrow 0 B , B \rightarrow 0 , A \rightarrow 1 B

(Short Answer)
4.9/5
(29)

Find the language recognized by this nondeterministic finite-state automaton. Find the language recognized by this nondeterministic finite-state automaton.

(Short Answer)
5.0/5
(38)

Which strings belong to the regular set represented by the regular expression (1010)?\left( \mathbf { 1 } ^ { * } \mathbf { 0 } \mathbf { 1 } ^ { * } \mathbf { 0 } \right) ?

(Short Answer)
4.8/5
(28)

Construct a finite-state automaton that recognizes all strings that end with 11.

(Short Answer)
4.8/5
(31)

Find the language recognized by this nondeterministic finite-state automaton. Find the language recognized by this nondeterministic finite-state automaton.

(Short Answer)
5.0/5
(40)

Find the Kleene closure of A = {00}.

(Short Answer)
4.8/5
(34)
Showing 61 - 71 of 71
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)