3 answers
3
Consider the grammar G given byS→0SA2S→0122A→A21A→11Test whether (a)00112∈L(G) and(b)001122∈L(G)
4 answers
14
A process, has been allocated $3$ page frames. Assume that none of the pages of the process are available in the memory initially. The process makes the following sequenc...
1 answer
18
What are the topics and books one should refer to score good in aptitude in gate
2 answers
19
void fun(int n, int k) { for (int i=1; i<=n; i++) { int p = pow(i, k); for (int j=1; j<=p; j++) { // Some O(1) work } }}