Exam 13: Modeling Computation

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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

(Short Answer)
4.9/5
(78)

Find a production of the form “A→‾"“ A \rightarrow \underline{\quad\quad}" such that S→1S,S→0A,A→‾S \rightarrow 1 S , S \rightarrow 0 A , A \rightarrow \underline{\quad\quad} produces {1n00∣n≥0}\left\{ 1 ^ { n } 00 \mid n \geq 0 \right\}

(Short Answer)
4.9/5
(83)

Suppose a phrase-structure grammar has productions S→S0,S→A1,A→0S \rightarrow S 0 , S \rightarrow A 1 , A \rightarrow 0 Find a derivation of 01

(Short Answer)
4.7/5
(63)

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.9/5
(80)

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

(Short Answer)
4.8/5
(71)

S→1AB,AB→0B,B→0,A→1BS \rightarrow 1 A B , A B \rightarrow 0 B , B \rightarrow 0 , A \rightarrow 1 B

(Short Answer)
4.9/5
(66)

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
(80)

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

(Short Answer)
4.8/5
(72)

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

(Short Answer)
4.9/5
(83)

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
(94)

Find the Kleene closure of A = {00}.

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

Filters

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