Services
Discover
Homeschooling
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Theory of Computation
Quiz 3: Computational Theory : Grammar, Language, and Complexity
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 1
Multiple Choice
Let SHAM3 be the problem of finding a Hamiltonian cycle in a graph G =(V,E) with
divisible by 3 and DHAM3 be the problem of determining if a Hamiltonian cycle exists in such graphs. Which one of the following is true?
Question 2
Multiple Choice
Consider the following statements about the context free grammar G = {S - >SS,S - >ab,S ->ba, S - ?} I. G is ambiguous II. G produces all strings with equal number of a's and b's III. G can be accepted by a deterministic PDA. Which combination below expresses all the true statements about G?
Question 3
Multiple Choice
Consider the regular language L =(111+11111) *. The minimum number of states in any DFA accepting this languages is:
Question 4
Multiple Choice
Give a production grammar for the language L = {x/x ? (a,b) *, the number of a's in x is multiple of 3}.
Question 5
Multiple Choice
The production Grammar is {S->aSbb,S->abb} is
Question 6
Multiple Choice
Regular expression (x/y) (x/y) denotes the set
Question 7
Multiple Choice
The regular expression have all strings in which any number of 0's is followed by any number of 1's followed by any number of 2's is :
Question 8
Multiple Choice
Suppose that a problem A is known to have a polynomial-time verification algorithm. Which of the following statements can be deduced.
Question 9
Multiple Choice
Which of the following assertions about Turing Machines is true? Blank symbol(s) may occur in the input. At any stage of a computation, there are only finitely many non-blank Symbols on the tape.