Exam 13: Modeling Computation
Exam 1: The Foundations: Logic and Proofs18 Questions
Exam 1: A: the Foundations: Logic and Proofs201 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices5 Questions
Exam 2: A: Basic Structures: Sets, Functions, Sequences, Sums, Matrices210 Questions
Exam 3: Algorithms8 Questions
Exam 3: A: Algorithms54 Questions
Exam 4: Number Theory and Cryptography10 Questions
Exam 4: A: Number Theory and Cryptography149 Questions
Exam 5: Induction and Recursion10 Questions
Exam 5: A: Induction and Recursion51 Questions
Exam 6: Counting14 Questions
Exam 6: A: Counting155 Questions
Exam 7: Discrete Probability9 Questions
Exam 7: A: Discrete Probability50 Questions
Exam 8: Advanced Counting Techniques16 Questions
Exam 8: A: Advanced Counting Techniques124 Questions
Exam 9: Relations13 Questions
Exam 9: A: Relations72 Questions
Exam 10: Graphs14 Questions
Exam 10: A: Graphs131 Questions
Exam 11: Trees13 Questions
Exam 11: A: Trees94 Questions
Exam 12: Boolean Algebra11 Questions
Exam 12: A: Boolean Algebra67 Questions
Exam 13: Modeling Computation14 Questions
Exam 13: A: Modeling Computation67 Questions
Exam 14: Mathematics Problem Set: Set Theory, Number Theory, Combinatorics, and Boolean Algebra29 Questions
Select questions type
Which strings belong to the regular set represented by the regular expression (1∗01∗0)∗?
Free
(Essay)
4.9/5
(42)
Correct Answer:
These are the strings containing an even number of 0's and not ending with a 1.
Let A = {1, 10}. Describe the elements of A∗.
Free
(Essay)
4.8/5
(30)
Correct Answer:
The strings in the set A∗ are those strings where each 0 is preceded by a 1.
Let A = {1, 10}. Which strings belong to A∗?
Free
(Essay)
4.8/5
(38)
Correct Answer:
The strings in A∗ are those for which every 0 is preceded by at least one 1.
What is the output produced by the following finite-state automaton when the input string is 11101? 

(Short Answer)
4.9/5
(40)
Find a deterministic finite-state automaton equivalent to the nondeterministic finite-state machine shown. 

(Essay)
5.0/5
(39)
Construct a finite-state machine that models a vending machine accepting only quarters that gives a container of orange juice when 50 cents has been deposited, followed by a button being pushed. (The possible inputs are quarters and the button, and the possible outputs are nothing, orange juice, and a quarter. The machine returns any extra quarters.)
(Essay)
4.7/5
(28)
Construct a finite-state machine with output that produces a 1 if and only if the last three input bits read are all 0s.
(Essay)
4.9/5
(35)
What is the language generated by the grammar with productions where S is the start symbol?
(Essay)
4.9/5
(21)
What language is generated by the phrase-structure grammar if the productions are S → S11, S → λ where S is the start symbol?
(Essay)
4.8/5
(35)
The productions of a phrase-structure grammar are S → S1, S → 0A, and A → 1. Find a derivation of 0111.
(Essay)
5.0/5
(36)
Which strings belong to the set represented by the regular expression
(Essay)
4.8/5
(37)
Construct a finite-state automaton that recognizes the set represented by the regular expression 10∗.
(Essay)
4.9/5
(37)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)