Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
No answer
No selected answer
No upvoted answer
Previous GATE
Featured
Recent questions without answers
0
votes
0
answers
5071
Peter Linz Edition 4 Exercise 3.2 Question 3 (Page No. 87)
Give an nfa that accepts the language $L((a + b)^* b(a + bb)^*)$.
Give an nfa that accepts the language $L((a + b)^* b(a + bb)^*)$.
Naveen Kumar 3
230
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
0
votes
0
answers
5072
Peter Linz Edition 4 Exercise 3.2 Question 2 (Page No. 87)
Find an nfa that accepts the complement of the language in $L (ab^*aa + bba^*ab)$.
Find an nfa that accepts the complement of the language in $L (ab^*aa + bba^*ab)$.
Naveen Kumar 3
139
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
regular-language
+
–
1
votes
0
answers
5073
Peter Linz Edition 5 Exercise 10.5 Question 2 (Page No. 275)
$\text{Example: }$Find a linear bounded automaton that accepts the language $L = \{a^{n!}:n\geq0\}$ Find a solution for Example that does not require track as scratch space.
$\text{Example: }$Find a linear bounded automaton that accepts the language $L = \{a^{n!}:n\g...
Rishi yadav
174
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5074
Peter Linz Edition 5 Exercise 10.5 Question 1 (Page No. 275)
$\text{Example: }$Find a linear bounded automaton that accepts the language $L = \{a^{n!}:n\geq0\}$ Give details for the solution of Example.
$\text{Example: }$Find a linear bounded automaton that accepts the language $L = \{a^{n!}:n\g...
Rishi yadav
230
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5075
Peter Linz Edition 5 Exercise 10.4 Question 9 (Page No. 273)
Show that the Cartesian product of a finite number of countable sets is countable.
Show that the Cartesian product of a finite number of countable sets is countable.
Rishi yadav
131
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
proof
+
–
0
votes
0
answers
5076
Peter Linz Edition 5 Exercise 10.4 Question 8 (Page No. 273)
Suppose that $S_1$ and $S_2$ are countable sets. Show that then $S_1\cup S_2$ and $S_1 \times S_2$ are also countable.
Suppose that $S_1$ and $S_2$ are countable sets. Show that then $S_1\cup S_2$ and $S_1 \times S_2$ are also countable.
Rishi yadav
127
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
proof
+
–
0
votes
0
answers
5077
Peter Linz Edition 5 Exercise 10.4 Question 7 (Page No. 273)
Show that the set of all triplets, $(i,j,k)$ with $i,j,k$ positive integers, is countable,
Show that the set of all triplets, $(i,j,k)$ with $i,j,k$ positive integers, is countable,
Rishi yadav
188
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
proof
+
–
0
votes
0
answers
5078
Peter Linz Edition 5 Exercise 10.4 Question 5 (Page No. 272)
Design a Turing machine that enumerates the following set in proper order $L = \{a^nb^n:n\geq 1\}$.
Design a Turing machine that enumerates the following set in proper order $L = \{a^nb^n:n\geq 1\}$...
Rishi yadav
174
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition5
turing-machine
+
–
0
votes
0
answers
5079
Peter Linz Edition 5 Exercise 10.4 Question 4 (Page No. 272)
$\text{Exercise 3:}$ Sketch a Turing machine program that enumerates the set {0,1}+{0,1}+ in proper order. $\text{Exercise 4:}$ What is the index of $0^i1^j$ in Exercise 3$?$
$\text{Exercise 3:}$ Sketch a Turing machine program that enumerates the set {0,1}+{0,1}+ in proper order.$\text{Exercise 4:}$ What is the index of $0^i1^j$ in Exercise 3...
Rishi yadav
187
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition5
turing-machine
+
–
0
votes
0
answers
5080
Peter Linz Edition 5 Exercise 10.4 Question 3 (Page No. 272)
Sketch a Turing machine program that enumerates the set $\{0,1\}^+$ in proper order.
Sketch a Turing machine program that enumerates the set $\{0,1\}^+$ in proper order.
Rishi yadav
136
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition5
turing-machine
+
–
0
votes
0
answers
5081
Peter Linz Edition 5 Exercise 10.4 Question 2 (Page No. 272)
Give a complete encoding, using the suggested method, for the Turing machine with $\delta(q_1,a_1) = (q_1,a_1,R)$, $\delta(q_1,a_2) = (q_3,a_1,L)$, $\delta(q_3,a_1) = (q_2,a_2,L)$,
Give a complete encoding, using the suggested method, for the Turing machine with $\delta(q_1,a_1) = (q_1,a_1,R)$...
Rishi yadav
139
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition5
turing-machine
+
–
0
votes
0
answers
5082
Peter Linz Edition 5 Exercise 10.4 Question 1 (Page No. 272)
Sketch an algorithm that examines a string in $\{0,1\}^+$ to determine whether or not it represents an encoded Turing machine.
Sketch an algorithm that examines a string in $\{0,1\}^+$ to determine whether or not it represents an encoded Turing machine.
Rishi yadav
207
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
theory-of-computation
peter-linz
peter-linz-edition5
turing-machine
+
–
0
votes
0
answers
5083
Peter Linz Edition 5 Exercise 10.3 Question 7 (Page No. 268)
$\text{Definition:}$ A $\text{nondeterministic pushdown acceptor (npda)}$ is defined by the septuple $M = (Q,\Sigma,\Gamma,\delta,q_0,z,F)$ where $Q$ ... being pushed on these two stacks. Show that the class of two-stack automata is equivalent to the class of Turing machines.
$\text{Definition:}$ A $\text{nondeterministic pushdown acceptor (npda)}$ is defined by the septuple $M = (Q,\Sigm...
Rishi yadav
194
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
proof
+
–
0
votes
0
answers
5084
Peter Linz Edition 5 Exercise 10.3 Question 6 (Page No. 268)
Design a nondeterministic Turing machine that accepts the language. $L = \{a^n: \text{n is not a prime number}\}$.
Design a nondeterministic Turing machine that accepts the language. $L = \{a^n: \text{n is not a prime number}\}$...
Rishi yadav
298
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5085
Peter Linz Edition 5 Exercise 10.3 Question 5 (Page No. 268)
Write a simple program for a nondeterministic Turing machine that accepts the language $L = \Big\{ xww^Ry:x,y,w\in\{a,b\}^+,|x|\geq |y|\Big\}$. How would you solve this problem deterministically$?$
Write a simple program for a nondeterministic Turing machine that accepts the language $L = \Big\{ xww^Ry:x,y,w\in\{a,b\...
Rishi yadav
118
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5086
Peter Linz Edition 5 Exercise 10.3 Question 4 (Page No. 268)
Outline how one would write a program for a nondeterministic Turing machine to accept the language $L=\{ww^Rw:w\in\{a,b\}^+\}$.
Outline how one would write a program for a nondeterministic Turing machine to accept the language $L=\{ww^Rw...
Rishi yadav
141
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
1
votes
0
answers
5087
Peter Linz Edition 4 Exercise 3.1 Question 24,25 (Page No. 77)
Formal languages can be used to describe a variety of two-dimensional figures. Chain-code languages are defined on the alphabet $Σ =$ {$u, d, r, l$ }, where these symbols stand for unit-length straight lines in ... is a closed contour in the sense that the beginning and ending points are the same? Are these conditions also necessary?
Formal languages can be used to describe a variety of two-dimensional figures. Chain-codelanguages are defined on the alphabet $Σ =$ {$u, d, r, l$ }, where these symbols...
Naveen Kumar 3
508
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
5088
Peter Linz Edition 5 Exercise 10.3 Question 3 (Page No. 268)
Write a program for a nondeterministic Turing machine that accepts the language. $L = \{ww:w\in \{a,b\}^+\}$ Contrast this with a deterministic solution.
Write a program for a nondeterministic Turing machine that accepts the language. $L = \{ww:w\in \...
Rishi yadav
188
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5089
Peter Linz Edition 4 Exercise 3.1 Question 23 (Page No. 77)
For the case of a regular expression $r$ that does not involve $λ$ or $Ø$, give a set of necessary and sufficient conditions that $r$ must satisfy if $L(r)$ is to be infinite.
For the case of a regular expression $r$ that does not involve $λ$ or $Ø$, give a set of necessary and sufficient conditions that $r$ must satisfy if $L(r)$ is to be in...
Naveen Kumar 3
303
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
5090
Peter Linz Edition 4 Exercise 3.1 Question 22 (Page No. 77)
Prove rigorously that the expressions in $r= (1^*011^*)^* (0 + λ) + 1^* (0 + λ)$ do indeed denote the specified language.
Prove rigorously that the expressions in $r= (1^*011^*)^* (0 + λ) + 1^* (0 + λ)$ do indeed denote the specified language.
Naveen Kumar 3
198
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
5091
Peter Linz Edition 5 Exercise 10.3 Question 2 (Page No. 267)
Show how a two-dimensional nondeterministic Turing machine can be simulated by a deterministic machine.
Show how a two-dimensional nondeterministic Turing machine can be simulated by a deterministic machine.
Rishi yadav
187
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
proof
+
–
0
votes
0
answers
5092
Peter Linz Edition 5 Exercise 10.3 Question 1 (Page No. 267)
Discuss in detail the simulation of a nondeterministic Turing machine by a deterministic one. Turing machine by a deterministic one. Indicate explicitly how new machines are created, how active machines are identified, and how machines that halt are removed from further consideration.
Discuss in detail the simulation of a nondeterministic Turing machine by a deterministic one. Turing machine by a deterministic one. Indicate explicitly how new machines ...
Rishi yadav
135
views
Rishi yadav
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition5
theory-of-computation
turing-machine
+
–
0
votes
0
answers
5093
Peter Linz Edition 4 Exercise 3.1 Question 19 (Page No. 77)
Repeat parts (a), (b), and (c) of Peter Linz Edition 4 Exercise 3.1 Question 18 (Page No. 76) with $Σ =$ {$a, b, c$}.
Repeat parts (a), (b), and (c) of Peter Linz Edition 4 Exercise 3.1 Question 18 (Page No. 76) with $Σ =$ {$a, b, c$}.
Naveen Kumar 3
200
views
Naveen Kumar 3
asked
Apr 2, 2019
Theory of Computation
peter-linz
peter-linz-edition4
theory-of-computation
regular-expression
+
–
0
votes
0
answers
5094
self doubt
In this answer, how is the number of conflict equivalent schedule equal to T1->T2 equal to 1(How is it being calculated). And how is the number of conflict equivalent schedule equal to T2->T1 being calculated??It is very confusing please Help!!!!!
In this answer, how is the number of conflict equivalent schedule equal to T1->T2 equal to 1(How is it being calculated). And how is the number of conflict equivalent sch...
_Bash_
486
views
_Bash_
asked
Apr 2, 2019
Databases
conflict-serializable
databases
self-doubt
+
–
0
votes
0
answers
5095
Self doubt
The time complexity required to find the number of cut vertex in a undirected simple graph is?If adjacency list representation is given? Is O(V+E) OR O(E)
The time complexity required to find the number of cut vertex in a undirected simple graph is?If adjacency list representation is given? Is O(V+E) OR O(E)
Doraemon
526
views
Doraemon
asked
Apr 2, 2019
Algorithms
cut-vertex
+
–
0
votes
0
answers
5096
Morris Mano Edition 3 Exercise 4 Question 20 (Page No. 151)
Convert the logic diagram of the code converter shown in the figure to a multilevel NAND gate Circuits
Convert the logic diagram of the code converter shown in the figure to a multilevel NAND gate Circuits
ajaysoni1924
696
views
ajaysoni1924
asked
Apr 2, 2019
Digital Logic
digital-logic
morris-mano
digital-circuits
combinational-circuit
+
–
1
votes
0
answers
5097
Morris Mano Edition 3 Exercise 4 Question 19 (Page No. 151)
Draw the NAND Gate Logic Diagram for each of the following Expressions using multilevel NAND gate Circuits. (AB’ + CD’)E + BC(A + B) w(x + y + z) + xyz
Draw the NAND Gate Logic Diagram for each of the following Expressions using multilevel NAND gate Circuits.(AB’ + CD’)E + BC(A + B)w(x + y + z) + xyz
ajaysoni1924
451
views
ajaysoni1924
asked
Apr 2, 2019
Digital Logic
digital-logic
morris-mano
digital-circuits
combinational-circuit
+
–
2
votes
0
answers
5098
Morris Mano Edition 3 Exercise 4 Question 17,18 (Page No. 150)
Analyze the two output combinational circuit shown in the figure. find the boolean fi=unction for the two outputs as the function of the three inputs and explain the circuit operation. derive the truth table of the circuit shown in the figure.
Analyze the two output combinational circuit shown in the figure. find the boolean fi=unction for the two outputs as the function of the three inputs and explain the circ...
ajaysoni1924
648
views
ajaysoni1924
asked
Apr 2, 2019
0
votes
0
answers
5099
Morris Mano Edition 3 Exercise 4 Question 15 (Page No. 150)
Design a combinational Circuit that converts a binary number of 4-bits to decimal number in BCD. Note that the BCD number is the same as the binary number as long as the digit is 9 or less than 9. binary numbers from 1010 to 1111 converts into BCD numbers from 1 0000 to 1 0101.
Design a combinational Circuit that converts a binary number of 4-bits to decimal number in BCD. Note that the BCD number is the same as the binary number as long as the...
ajaysoni1924
742
views
ajaysoni1924
asked
Apr 2, 2019
Digital Logic
digital-logic
morris-mano
digital-circuits
combinational-circuit
+
–
1
votes
0
answers
5100
Morris Mano Edition 3 Exercise 4 Question 14 (Page No. 150)
Design a combinational Circuit that can convert a decimal digit from the 2 -4- 2- 1 code to the 8 -4- 2- 1.
Design a combinational Circuit that can convert a decimal digit from the 2 -4- 2- 1 code to the 8 -4- 2- 1.
ajaysoni1924
255
views
ajaysoni1924
asked
Apr 2, 2019
Digital Logic
digital-logic
morris-mano
digital-circuits
combinational-circuit
+
–
Page:
« prev
1
...
165
166
167
168
169
170
171
172
173
174
175
...
593
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register