Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged goclasses-toc-practice-questions
1
1 vote
1
1 answer
118
118 views
GO Classes DPP | GATE CS | Theory of Computation | TM Recognition Behavior
Let $M$ be a Turing machine that recognizes language $L$, and suppose $w\notin L.$Which of the following behaviors are possible when $M$ is run on $w$?$M$ accepts $w$. $M...
GO Classes
118
views
asked
Sep 25
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-381
goclasses-toc-practice-questions
turing-machine
multiple-selects
+
–
0
0 votes
1
1 answer
79
79 views
GO Classes DPP | GATE CS | Theory of Computation | TM Execution Trace
Consider the following TM strategy for $L=\{b^ic^i\mid i\ge0\}.$It repeatedly:changes the leftmost unmatched $b$ to $\sqcup$ (blank symbol)$,$ scans right to the end of t...
GO Classes
79
views
asked
Sep 25
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-381
goclasses-toc-practice-questions
turing-machine
+
–
0
0 votes
1
1 answer
80
80 views
GO Classes DPP | GATE CS | Theory of Computation | Turing Machine
Consider $L=\{0^n1^n2^n\mid n\ge0\}.$Which of the following gives a correct high-level strategy for a single-tape Turing machine recognizing $L$?Repeatedly mark the leftm...
GO Classes
80
views
asked
Sep 25
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-381
goclasses-toc-practice-questions
turing-machine
+
–
0
0 votes
1
1 answer
81
81 views
GO Classes DPP | GATE CS | Theory of Computation | Configuration Transition
Suppose a Turing machine makes the following one-step move:$$011q_7\,00101 \;\vdash\; 0110q_7\,0101.$$What transition must have been used, and what is the next configurat...
GO Classes
81
views
asked
Sep 25
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-381
goclasses-toc-practice-questions
turing-machine
+
–
1
1 vote
1
1 answer
94
94 views
GO Classes DPP | GATE CS | Theory of Computation | TM Formal Definition
Consider a deterministic single-tape Turing machine$$M=(Q,\Sigma,\Gamma,\delta,q_0,q_{\text{accept}},q_{\text{reject}}).$$Which of the following are required in the stand...
GO Classes
94
views
asked
Sep 25
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-381
goclasses-toc-practice-questions
turing-machine
multiple-selects
+
–
0
0 votes
1
1 answer
82
82 views
GO Classes DPP | GATE CS | Theory of Computation | Infinite Intersection
Let \(I \subseteq \Sigma^*\) be any nonregular language.For every string \(w \notin I\), define $R_w = \Sigma^* - \{w\}.$Now consider $K = \bigcap_{w \notin I} R_w.$What ...
GO Classes
82
views
asked
Sep 24
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
regular-language
+
–
0
0 votes
1
1 answer
95
95 views
GO Classes DPP | GATE CS | Theory of Computation | Closure Property
For every $n\geq 0$, define $L_n=\{a^nb^n\}$.Which statement is correct?Every $L_n$ is nonregular, but $\bigcup_{n=0}^{\infty}L_n$ is regular. Every $L_n$ is regular, and...
GO Classes
95
views
asked
Sep 24
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
regular-language
closure-property
+
–
0
0 votes
1
1 answer
93
93 views
GO Classes DPP | GATE CS | Theory of Computation | Subset Superset
Let $\Sigma=\{0,1\}.$Which of the following are valid examples?$A=\{01\}, \qquad B=\{0^n1^n\mid n\ge0\}$where $A$ is regular, $B$ is nonregular, and $A\subseteq B$. $C=\{...
GO Classes
93
views
asked
Sep 24
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
regular-language
multiple-selects
+
–
0
0 votes
1
1 answer
81
81 views
GO Classes DPP | GATE CS | Theory of Computation | Chomsky Hierarchy
Let $L$ be a context-free language that is not regular.Which of the following must be true?$L$ is recursive. $L$ is not recursive. There exists a regular grammar $G$ such...
GO Classes
81
views
asked
Sep 24
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
chomsky-classification
+
–
0
0 votes
1
1 answer
93
93 views
GO Classes DPP | GATE CS | Theory of Computation | Grammar Classification
Consider the grammar $$S\rightarrow aS\mid Sb\mid b$$ Which of the following statements are correct?The given grammar is a Type $3$ grammar. The given grammar is a Type $...
GO Classes
93
views
asked
Sep 24
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
grammar
multiple-selects
+
–
1
1 vote
1
1 answer
83
83 views
GO Classes DPP | GATE CS | Theory of Computation | Nonregular Union
Suppose $L_1$ and $L_2$ are both nonregular languages.Which statement about $L_1\cup L_2$ is correct?It must be nonregular. It must be regular. It may be regular or nonre...
GO Classes
83
views
asked
Sep 23
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-379
goclasses-toc-practice-questions
closure-property
regular-language
context-free-language
+
–
1
1 vote
1
1 answer
76
76 views
GO Classes DPP | GATE CS | Theory of Computation | Nonregular Reversal
Let $L$ be a nonregular language.What can always be concluded about $L^R$?$L^R$ is regular. $L^R$ is nonregular. $L^R$ may be regular or nonregular. Nothing can be conclu...
GO Classes
76
views
asked
Sep 23
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-379
goclasses-toc-practice-questions
closure-property
regular-language
context-free-language
+
–
1
1 vote
2
2 answers
89
89 views
GO Classes DPP | GATE CS | Theory of Computation | DCFL Reversal
Suppose $L$ is a deterministic context-free language.Which of the following is always correct about$$L^R=\{w^R\mid w\in L\}?$$$L^R$ must be regular. $L^R$ must be determi...
GO Classes
89
views
asked
Sep 23
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-379
goclasses-toc-practice-questions
closure-property
dcfl
+
–
2
2 votes
2
2 answers
132
132 views
GO Classes DPP | GATE CS | Theory of Computation | DCFL Classification
Consider $$L= \{a^ib^jc^k\mid i=j\text{ or }j=k\}.$$ Which of the following correctly classifies $L$?$L$ is regular. $L$ is DCFL but not regular. $L$ is CFL but not DCFL....
GO Classes
132
views
asked
Sep 23
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-379
goclasses-toc-practice-questions
closure-property
dcfl
regular-and-context-free-languages
+
–
1
1 vote
1
1 answer
72
72 views
GO Classes DPP | GATE CS | Theory of Computation | DCFL Closure
Let $L_1,L_2$ be deterministic context-free languages and let $R$ be a regular language.Which of the following statements are always true?$L_1\cup L_2$ is deterministic c...
GO Classes
72
views
asked
Sep 23
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-379
goclasses-toc-practice-questions
closure-property
dcfl
regular-and-context-free-languages
multiple-selects
+
–
1
1 vote
1
1 answer
87
87 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Difference
Let $L$ be a context-free language and $R$ be a regular language.Consider the problem$$L-R=\varnothing?$$Which statement is correct?It is decidable because $L-R$ is conte...
GO Classes
87
views
asked
Sep 22
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-378
goclasses-toc-practice-questions
closure-property
cfl
regular-language
+
–
1
1 vote
1
1 answer
81
81 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Reversal Closure
For a language $L$, define$$L^R=\{w^R\mid w\in L\}.$$ If $L$ is context-free, which statement is correct?$L^R$ is always regular. $L^R$ is always context-free. $L^R$ may ...
GO Classes
81
views
asked
Sep 22
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-378
goclasses-toc-practice-questions
closure-property
cfl
+
–
1
1 vote
1
1 answer
77
77 views
GO Classes DPP | GATE CS | Theory of Computation | Kleene Star Closure
Suppose a language $L$ is accepted by some pushdown automaton.What can always be concluded about $L^*$?$L^*$ must be regular. $L^*$ must be context-free. $L^*$ need not b...
GO Classes
77
views
asked
Sep 22
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-378
goclasses-toc-practice-questions
closure-property
cfl
+
–
1
1 vote
1
1 answer
80
80 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Regular Union
Let $R$ be a regular language and $C$ be a context-free language over the same alphabet.Which statement about $R\cup C$ is always true?$R\cup C$ must be regular. $R\cup C...
GO Classes
80
views
asked
Sep 22
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-378
goclasses-toc-practice-questions
closure-property
cfl
+
–
1
1 vote
1
1 answer
77
77 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Closure
The class of context-free languages satisfies which one of the following?It is closed under intersection. It is closed under complementation. It is closed under concatena...
GO Classes
77
views
asked
Sep 22
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-378
goclasses-toc-practice-questions
closure-property
cfl
+
–
2
2 votes
1
1 answer
116
116 views
GO Classes DPP | GATE CS | Theory of Computation | Language Quotient
For languages $X,Y\subseteq\Sigma^*$, define$$X/Y = \{w:\exists y\in Y,\ wy\in X\}$$ Suppose $X$ is regular, but nothing is assumed about $Y$.Which statement is always tr...
GO Classes
116
views
asked
Sep 21
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-377
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
0
0 votes
1
1 answer
94
94 views
GO Classes DPP | GATE CS | Theory of Computation | Closure Properties
Let $X$ and $Y$ be regular languages. Their symmetric difference is$$X\triangle Y=\{w:w\text{ belongs to exactly one of }X,Y\}$$. Which expression correctly represents $X...
GO Classes
94
views
asked
Sep 21
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-377
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
2
2 votes
1
1 answer
101
101 views
GO Classes DPP | GATE CS | Theory of Computation | Regular Language
Let $M$ and $N$ be two DFAs. Define$$Z=\{u_1v_1u_2v_2\cdots u_kv_k : k\ge0, ~u_i\in L(M), ~v_i\in L(N)\}.$$Which regular-language expression describes $Z$?$L(M)^*L(N)^*$ ...
GO Classes
101
views
asked
Sep 21
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-377
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
1
1 vote
1
1 answer
90
90 views
GO Classes DPP | GATE CS | Theory of Computation | Reversal Transformation
Let $L$ be an arbitrary regular language over $\Sigma$, and define$$K=\{w\in\Sigma^*:w^Rw\in L\}$$.Which statement is correct?$K$ is always regular. $K$ is regular only i...
GO Classes
90
views
asked
Sep 21
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-377
goclasses-toc-practice-questions
regular-language
multiple-selects
+
–
0
0 votes
1
1 answer
82
82 views
GO Classes DPP | GATE CS | Theory of Computation | Regular Language
For an arbitrary language $L$, which of the following statements is correct?If $L^*$ is regular, then $L$ must be regular. If $L$ is nonregular, then $L^*$ must be nonreg...
GO Classes
82
views
asked
Sep 21
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-377
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
2
2 votes
1
1 answer
139
139 views
GO Classes DPP | GATE CS | Theory of Computation | Closure Properties
Let $L_1$ and $L_2$ be regular languages and let $L_3$ be non-regular. Which statements are always true?$L_1=L_2$ iff $L_1\cap\overline{L_2}=\emptyset$ $L_1\cup L_3$ is n...
GO Classes
139
views
asked
Sep 19
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-376
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
1
1 vote
1
1 answer
113
113 views
GO Classes DPP | GATE CS | Theory of Computation | De Morgan & NFA
Consider,Statement $1:$ If a language family is closed under union and complement, then it must also be closed under intersection. Statement $2:$ An NFA can be constructe...
GO Classes
113
views
asked
Sep 19
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-376
goclasses-toc-practice-questions
demorgans
finite-automata
multiple-selects
+
–
2
2 votes
1
1 answer
108
108 views
GO Classes DPP | GATE CS | Theory of Computation | State Complexity
Which statements are true?Every language recognized by an $n$-state DFA can be recognized by an NFA with $n$ states. Every language recognized by an $n$-state NFA can be ...
GO Classes
108
views
asked
Sep 19
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-376
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
1
1 vote
1
1 answer
96
96 views
GO Classes DPP | GATE CS | Theory of Computation | Closure Properties
Let $L_1$ be regular where specified. Which of the following languages are guaranteed to be regular?$\{ww\mid w\in{0,1}^*\}$ $\{ww\mid w\in L_1\}$ $\{w\mid ww\in L_1\}$ $...
GO Classes
96
views
asked
Sep 19
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-376
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
1
1 vote
1
1 answer
106
106 views
GO Classes DPP | GATE CS | Theory of Computation | Closure Properties
All languages are over $\{0,1\}$. Which statements are true?If $L_1\subseteq L_2$ and $L_2$ is regular, then $L_1$ must be regular. If $L_1$ and $L_2$ are both non-regula...
GO Classes
106
views
asked
Sep 19
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-376
goclasses-toc-practice-questions
closure-property
regular-language
multiple-selects
+
–
Page:
« prev
1
2
3
4
5
6
7
8
...
11
next »