2 votes
1 answer
31
Answer is given as D. Not serializable, agreed. But how is it strict??
3 votes
1 answer
32
Consider the following schema:Student (Sid, Sname, age)Course Info (Cid, Cname, Instructor SSN)Enroll (Sid, Cid, grade).The relational algebra expression for “find the ...
5 votes
1 answer
34
Can there ever be a TLB hit and a page fault?
2 votes
4 answers
35
How come here deadlock is not possible?! It says each process needs a minimum of one instance to complete. So maximum could be anything greater than one and deadlock may...
17 votes
1 answer
37
Token Bucket mechanism is used for congestion control at router. Bucket capacity in 700 Bytes (initially full), token arrival rate is 200 Bytes/sec and maximum output rat...
0 votes
2 answers
38
L = {ai bj ck | i = k or j = k}Is it a DCFL or an NCFL?
6 votes
3 answers
39
S1: Every DCFL has unambiguous grammarS2: Every language accepted by DPDA with final state is also accepted by DPDA with empty stackS1 is given as true and S2 false.Expla...
1 votes
1 answer
40
L = { w | w $\epsilon$ (a,b)* and #a(w) - #b(w) $\leq$ 10}. Is L regular or a CFL?
1 votes
1 answer
41
L1 = {w | length of w is odd and its middle symbol is 0, w $\epsilon$ (0,1)*}Is it regular, a CFL or a CSL?
2 votes
1 answer
42
Mealy machines do not respond for epsilon whereas Moore machines do. Is this true? Please explain.
1 votes
3 answers
43
#include <stdio.h void f(int); int main() { int a=4; f(a); return 0; } void f(int n) { if(n>0) { f( n); printf("%d", n); f( n); } }Explain how function calls take place
0 votes
1 answer
44
main(){unsigned int num;int i;scanf("%u",num);for(i=0;i<16;i++)printf("%d", num << i & 1 <<15 ? 1 : 0);}This program calculates the binary equivalent of a number. Can a...
2 votes
3 answers
46
One of the disadvantage of pass by reference is that the called function may inadvertently corrupt the caller's data. This can be avoided by :a) declaring the actual para...
0 votes
1 answer
47
The difference between number of states in two equivalent mealy and moore machines is 1a) Trueb) False