Recent questions tagged goclasses-cs-dpp-day-378

0 0 votes
1 1 answer
21
21 views
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...
0 0 votes
1 1 answer
19
19 views
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 ...
0 0 votes
1 1 answer
21
21 views
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...
0 0 votes
1 1 answer
21
21 views
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...
0 0 votes
1 1 answer
23
23 views
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...
0 0 votes
1 1 answer
37
37 views
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...
0 0 votes
1 1 answer
44
44 views
Consider the relations:$\mathrm{Authors(au\_id,au\_lname,au\_fname,phone,address,city,state,zip)}$$\mathrm{TitleAuthors(au\_id,title\_id,au\_ord,royaltyshare)}$$\mathrm{T...
0 0 votes
1 1 answer
25
25 views
Consider the relations:$\mathrm{Locations(locationid,name,state,altitude)}$ and $\mathrm{FallColors(week,year,locationid,color,peakpercent)}$.We want locations in New Y...
0 0 votes
1 1 answer
22
22 views
Consider the relations:$\mathrm{Posts(pid,folder,summary)}$ and $\mathrm{Postings(post,position,user,ptext)}$.Let $\mathrm{R_1}$ and $\mathrm{R_2}$ be two renamed copies ...
0 0 votes
1 1 answer
30
30 views
Consider the relation:$\mathrm{Marks(studentID,~courseID,~courseType,~score)}$Let, $\mathrm{M_1=\rho_{M_1}(Marks)}$ and $\mathrm{M_2=\rho_{M_2}(Marks)}$.Which expression ...
To see more, click for the full list of questions or popular tags.