Question 23
Question 24
For Σ = {a, b}, let us consider the regular language
L = {x ∣ x = a2 + 3k or x = b10 + 12k, k ≥ 0}
Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for L?
Question 25
#include <unistd.h>
int main() {
int i;
for (i = 0; i < 10; i++)
if (i % 2 == 0) fork();
return 0;
}
Question 26
#include <stdio.h>
int jumble(int x, int y) {
x = 2 * x + y;
return x;
}
int main() {
int x = 2, y = 5;
y = jumble(y, x);
x = jumble(y, x);
printf(\"%d\\n\", x);
return 0;
}
Question 27
S → Aa A → BD B → b|ε D → d|εLet a, b, d and $ be indexed as follows:
Question 28
Question 29
There are 65 questions to complete.