Login
Register
Dark Mode
Brightness
Ambient Glow – Questions list
Register
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged multiple-selects
0
0 votes
1
1 answer
55
55 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
55
views
asked
1 day
ago
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
41
41 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
41
views
asked
1 day
ago
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
84
84 views
GO Classes DPP | GATE CS, DA | DBMS | Relational Algebra
Consider $\mathrm{Flights}(\mathrm{num},\mathrm{src},\mathrm{dst})$, where each tuple represents a directed flight from $\mathrm{src}$ to $\mathrm{dst}$.Let $\mathrm{F}_1...
GO Classes
84
views
asked
1 day
ago
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-283
goclasses-cs-dpp
goclasses-cs-dpp-day-381
databases
goclasses-databases-practice-questions
relational-algebra
multiple-selects
+
–
0
0 votes
1
1 answer
26
26 views
GO Classes DPP | GATE CS, DA | DBMS | Outer Join
Consider $\mathrm{Homes}(\mathrm{home\_id},\mathrm{city},\ldots)$ and $\mathrm{Transactions}(\mathrm{home\_id},\mathrm{sale\_price},\ldots)$.We want every home in Berkele...
GO Classes
26
views
asked
1 day
ago
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-282
goclasses-cs-dpp
goclasses-cs-dpp-day-380
databases
goclasses-databases-practice-questions
relational-algebra
outer-join
multiple-selects
+
–
0
0 votes
1
1 answer
32
32 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
32
views
asked
2 days
ago
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
31
31 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
31
views
asked
2 days
ago
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-380
goclasses-toc-practice-questions
grammar
multiple-selects
+
–
0
0 votes
1
1 answer
37
37 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
37
views
asked
3 days
ago
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
+
–
0
0 votes
1
1 answer
86
86 views
GO Classes DPP | GATE CS, DA | DBMS | Relational Algebra
Assume the expressions below are schema-valid and relations use set semantics.Which of the following are always true?$(\mathrm{R}\bowtie\mathrm{S})\bowtie\mathrm{T}=(\mat...
GO Classes
86
views
asked
4 days
ago
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-280
goclasses-cs-dpp
goclasses-cs-dpp-day-378
databases
goclasses-databases-practice-questions
joins
relational-algebra
multiple-selects
+
–
1
1 vote
2
2 answers
149
149 views
GO Classes DPP | GATE CS, DA | DBMS | Relational Algebra
Consider the relations:$\mathrm{Users(username, name, email, password, address)}$and$\mathrm{FriendsWith(username, username2, sincewhen)}$.A friendship tuple indicates th...
GO Classes
149
views
asked
5 days
ago
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-279
goclasses-cs-dpp
goclasses-cs-dpp-day-377
databases
goclasses-databases-practice-questions
projection
relational-algebra
multiple-selects
+
–
1
1 vote
1
1 answer
88
88 views
GO Classes DPP | GATE CS, DA | DBMS | Relational Algebra
Consider $\text{parts(pno, pname, price)}$.Which relational algebra expression returns exactly the names of all parts whose price is greater than $\$200$?$\pi_{\text{pnam...
GO Classes
88
views
asked
5 days
ago
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-279
goclasses-cs-dpp
goclasses-cs-dpp-day-377
databases
goclasses-databases-practice-questions
projection
relational-algebra
multiple-selects
+
–
2
2 votes
1
1 answer
76
76 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
76
views
asked
5 days
ago
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
54
54 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
54
views
asked
5 days
ago
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
59
59 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
59
views
asked
5 days
ago
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
51
51 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
51
views
asked
5 days
ago
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
49
49 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
49
views
asked
5 days
ago
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
95
95 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
95
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
83
83 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
83
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
75
75 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
75
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
66
66 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
66
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
78
78 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
78
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
73
73 views
GO Classes DPP | GATE CS, DA | DBMS | Decomposition
Consider $R(A,B,C,D,E,F,G)$ with $F=\{AB\to CF,\ CD\to EA,\ E\to ABC,\ B\to F,\ C\to D\}$.Suppose $R$ is decomposed into $R_1(A,B,C,D,E,G)$ and $R_2(B,F)$.Which statement...
GO Classes
73
views
asked
Sep 19
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-278
goclasses-cs-dpp
goclasses-cs-dpp-day-376
databases
goclasses-databases-practice-questions
decomposition
multiple-selects
+
–
1
1 vote
1
1 answer
69
69 views
GO Classes DPP | GATE CS, DA | DBMS | 3NF Synthesis Algorithm
Consider $R(A,B,C,D,E,F,G)$ with $F=\{BCD\to A,\ BC\to E,\ A\to F,\ F\to G,\ C\to D,\ A\to G\}$.Which of the following statements are correct after applying the $\text{3N...
GO Classes
69
views
asked
Sep 19
Databases
goclasses
goclasses-da-dpp
goclasses-da-dpp-day-278
goclasses-cs-dpp
goclasses-cs-dpp-day-376
databases
goclasses-databases-practice-questions
3nf
multiple-selects
+
–
2
2 votes
1
1 answer
84
84 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Classification
Let $P=\{a^n\mid n\text{ is prime}\}$.Which statements are correct?$P$ is regular. $P$ is CFL but not regular. If $P$ were CFL, then because it is unary, it would have to...
GO Classes
84
views
asked
Sep 18
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-375
goclasses-toc-practice-questions
cfl
multiple-selects
+
–
2
2 votes
1
1 answer
67
67 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Classification
Let $\text{COPY}=\{ww\mid w\in\{a,b\}^*\}$ and $\text{NOTCOPY}=\{x\in\{a,b\}^*\mid x\text{ is not of the form }ww\}$.Which statements are correct?$\text{COPY}$ is not CFL...
GO Classes
67
views
asked
Sep 18
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-375
goclasses-toc-practice-questions
cfl
multiple-selects
+
–
1
1 vote
1
1 answer
47
47 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Pumping Lemma
Let $B=\{0^n\#0^{2n}\#0^{3n}\mid n\ge0\}$.Which statements are correct for proving $B$ is not CFL using the pumping lemma?Choose $s=0^p\#0^{2p}\#0^{3p}$, where $p$ is the...
GO Classes
47
views
asked
Sep 18
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-375
goclasses-toc-practice-questions
cfl
pumping-lemma
multiple-selects
+
–
2
2 votes
1
1 answer
60
60 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Classification
Let $A=\{w\in\{a,b,c\}^*\mid \#a(w)=\#b(w)=\#c(w)\}$ and let $R=a^*b^*c^*$. Which statements are correct?$R$ is regular. If $A$ were CFL, then $A\cap R$ would be CFL. $A\...
GO Classes
60
views
asked
Sep 18
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-375
goclasses-toc-practice-questions
cfl
multiple-selects
+
–
2
2 votes
1
1 answer
51
51 views
GO Classes DPP | GATE CS | Theory of Computation | CFL Classification
Consider the following languages:$L_1=\{w\in\{a,b\}^*\mid \#a(w)=\#b(w)\}$$L_2=\{w\in\{a,b,c\}^*\mid \#a(w)=\#b(w)=\#c(w)\}$$L_3=\{a^m b^n\mid 5m+4n=44,\ m,n\ge0\}$Which ...
GO Classes
51
views
asked
Sep 18
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-375
goclasses-toc-practice-questions
cfl
multiple-selects
+
–
3
3 votes
1
1 answer
87
87 views
GO Classes DPP | GATE CS | Theory of Computation | DCFL
Let $L=\{w\in\{a,b\}^*\mid n_a(w)\ne n_b(w)\}$. Which statements are correct?$L$ is regular. $L$ is DCFL. $L$ is not CFL. A DPDA can maintain the current surplus using th...
GO Classes
87
views
asked
Sep 17
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-374
goclasses-toc-practice-questions
dcfl
multiple-selects
+
–
2
2 votes
1
1 answer
64
64 views
GO Classes DPP | GATE CS | Theory of Computation | DCFL
Let $L_1=\{wcw^R\mid w\in\{a,b\}^*\}$ and $L_2=\{ww^R\mid w\in\{a,b\}^*\}$. Which statements are correct?$L_1$ is a DCFL. $L_2$ is a DCFL. $L_2$ is a CFL. $L_2$ is not ac...
GO Classes
64
views
asked
Sep 17
Theory of Computation
goclasses
goclasses-cs-dpp
theory-of-computation
goclasses-cs-dpp-day-374
goclasses-toc-practice-questions
dcfl
multiple-selects
+
–
Page:
1
2
3
4
5
6
...
110
next »