100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Class notes

Theory of Computation

Rating
-
Sold
-
Pages
5
Uploaded on
03-04-2023
Written in
2022/2023

Topics include regular and context-free languages, decidable and undecidable problems, reducibility, recursive function theory, time and space measures on computation, completeness, hierarchy theorems, inherently complex problems, oracles, probabilistic computation, and interactive proof systems.

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Course

Document information

Uploaded on
April 3, 2023
Number of pages
5
Written in
2022/2023
Type
Class notes
Professor(s)
Mrs.prachi
Contains
All classes

Subjects

Content preview

“DFA Processing Strings”.

1. The password to the admins account=”administrator”. The total number of states required
to make a password-pass system using DFA would be __________
a) 14 states
b) 13 states
c) 12 states
d) A password pass system cannot be created using DFA
Answer: a

Explanation: For a string of n characters with no repetitive substrings, the number of
states required to pass the string is n+1.


2. Which of the following is the corresponding Language to the given DFA?




a) L = {x ϵ {0, 1} * | x ends in 1 and does not contain substring 01}
b) L = {x ϵ {0,1} * |x ends in 1 and does not contain substring 00}
c) L = {x ϵ {0,1} |x ends in 1 and does not contain substring 00}
d) L = {x ϵ {0,1} * |x ends in 1 and does not contain substring 11}
Answer: b

Explanation: The Language can be anonymously checked and thus the answer can be
predicted. The language needs to be accepted by the automata (acceptance state) in
order to prove its regularity.

, 3. Let ∑= {a, b, …. z} and A = {Hello, World}, B= {Input, Output}, then (A*∩B) U (B*∩A) can
be represented as:
a) {Hello, World, Input, Output, ε}
b) {Hello, World, ε}
c) {Input, Output, ε}
d) {}
Answer: d

Explanation: Union operation creates the universal set by combining all the elements of
first and second set while intersection operation creates a set of common elements of the
4. Let the given DFA consist of x states. Find x-y such that y is the number of states on
minimization of DFA?




a) 3
b) 2
c) 1
d) 4
Answer: b


Explanation: Use the equivalence theorem or Myphill Nerode theorem to minimize the
DFA.


5. For a machine to surpass all the letters of alphabet excluding vowels, how many number
of states in DFA would be required?
a) 3
b) 2
$7.99
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
prachiyadav

Get to know the seller

Seller avatar
prachiyadav Sipna College OEngineering And Technology
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
2 year
Number of followers
0
Documents
35
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions