Professional Documents
Culture Documents
Q.1 What will be the output of the following program using dynamic scope and call by
reference respectively?
int n;
x++;
printf(“%d”,x);
n=10;
a(n);
main(){
int n=2;
a(n);
b(n);
Q.2 Consider a 256KB direct mapped byte addressable cache. If one word is 4 bytes and each
cache block contains 16 words, then determine the number of bits required for tag. (Assume the
physical address of computer is 32 bits)
Q.5 What will the buffer frames in the current window of „A‟ just after the time-out and what
are the values of X and Y if go-back-n ARQ sliding window protocol is used?
Q.7
How many parse trees can be generated to get the string “aabbccdd” from above grammar?
IF ID ALU MEM WB
Q.9 What will be the change in speedup if ALU operation takes 10% more time?
A company is planning to design a JAVA compiler and has estimated the total source
Code to be of 1,00,000 LOC. Assume that the project follows Basic COCOMO model
and has to be developed within tight constraints.
Q.1 C
Q.2 C
Q.3 D
Q.4 C
Q.5 C
Q.6 D
Q.7 B
Q.8 C
Q.9 B
Q.10 A
Q.11 B