Exam 13: Modeling Computation
Exam 1: The Foundations: Logic and Proofs200 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices214 Questions
Exam 3: Algorithms52 Questions
Exam 4: Number Theory and Cryptography154 Questions
Exam 5: Induction and Recursion53 Questions
Exam 6: Counting156 Questions
Exam 7: Discrete Probability53 Questions
Exam 8: Advanced Counting Techniques128 Questions
Exam 9: Relations74 Questions
Exam 10: Graphs127 Questions
Exam 11: Trees97 Questions
Exam 12: Boolean Algebra77 Questions
Exam 13: Modeling Computation71 Questions
Select questions type
Determine if 1101 belongs to the regular set .
Free
(Short Answer)
4.8/5
(29)
Correct Answer:
Yes.
Determine if 1101 belongs to the regular set .
Free
(Short Answer)
4.8/5
(38)
Correct Answer:
No.
The productions of a phrase-structure grammar are S → S1, S → 0A, A → 1
Find a derivation of 0111 .
(Short Answer)
4.8/5
(33)
Suppose a phrase-structure grammar has productions Find a derivation of 00 .
(Short Answer)
5.0/5
(35)
Which strings belong to the set represented by the regular expression 0∗ ∪ 11?
(Short Answer)
4.8/5
(33)
What is the language generated by the grammar with productions S → SA, S → 0, A → 1A,and A → 1, where S is the start symbol?
(Short Answer)
4.8/5
(34)
Construct a finite-state automaton that recognizes the set represented by the regular expression 10∗.
(Short Answer)
4.9/5
(42)
Consider the Turing machine
For the following tape, determine the final tape when T halts, assuming that T begins in state s0 at the leftmost nonblank symbol.
\@cdots 1 0 1 \@cdots
(Short Answer)
4.8/5
(37)
In questions let and . For each set of productions determine whether the resulting grammar is
(i) type 0 grammar, but not type 1 ,
(ii) type 1 grammar, but not type 2 ,
(iii) type 2 grammar, but not type 3 ,
(iv) type 3 grammar.
(Short Answer)
4.8/5
(39)
Let G be the phrase-structure grammar with vocabulary V={A, B, a, b, S} , terminal element set T={a, b} , start symbol S , and production set
derivable from S?
(1) ba ,
(2) ab ,
(3) baab,
(4) aababa,
(5) aba .

(Short Answer)
4.9/5
(35)
Showing 1 - 20 of 71
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)