For the following questions answer them individually
Consider a 33 MHz CPU based system. What is the numberof wait states required ifit is interfaced with a 60ns memory? Assume a maximum of 10ns delay for additional circuitry like buffering and decoding.
The number of states required by a Finite State Machine, to simulate the behaviour of a computer with a memory capable of storing ‘m’ words, with each word being ‘n’ bits long is
What is the output of the following C program?
#include <stdio.h>
#define SQR(x) (x*x)
int main()
{
int a;
int b = 4;
a = SQR(b + 2);
printf("%d \n", a);
return 0;
}
Consider the following pseudo-code
while (m < n)
if(x > y) and (a > b) then
a = a + 1
y = y - 1
end if
m = m + 1
end while
What is the cyclomatic complexity of the above pseudo-code?
What is the number of steps required to derive the string ((() ()) ()) for the following grammar.
$$S \rightarrow SS$$
$$S \rightarrow (S)$$
$$S \rightarrow ε$$
The process of modifying IP address information in IP packet headers while in transit across a traffic routing deviceis called
In the standard IEEE 754 single precision floating point representation,there is 1 bit for sign, 23 bits for fraction and 8 bits for exponent. Whatis the precision in terms of the numberof decimal digits?
Let R be the radius of a circle. Whatis the angle subtended by an arcof length R at the centre of the circle?
The number of logical CPUs in a computer having two physical quad-core chips with hyperthreading enabled is ..................