GATE 2014 (Session 2) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2014 (Session 2)

65 questions

MCQ 42 · NAT 231-mark 30 · 2-mark 35

Questions 51–55 of 65

Q51Queue2 marksMCQ−0.67 if wrong
Suppose a stack implementation supports an instruction REVERSE, which reverses the order of elements on the stack, in addition to the PUSH and POP instructions. Which one of the following statements is TRUE with respect to this modified stack?

Q52Function2 marksMCQ−0.67 if wrong
Consider the C function given below
 int f(int j)
{
static int i = 50;
int k;
if (i == j)
{
printf("something");
k = f(i);
return 0;
}
else return 0;
} 
Which one of the following is TRUE?

Q53Cache Memory2 marksMCQ−0.67 if wrong
In designing a computer's cache system, the cache block (or cache line) size is an important Parameter. Which one of the following statements is correct in this context?

Q54Cache Memory2 marksMCQ−0.67 if wrong
If the associativity of a processor cache is doubled while keeping the capacity and block size unchanged, which one of the following is guaranteed to be NOT affected?

Q55Number System2 marksMCQ−0.67 if wrong
The value of a float type variable is represented using the single-precision 32-bit floating point format of IEEE-754 standard that uses 1 bit for sign, 8 bits for biased exponent and 23 bits for mantissa. A float type variable x is assigned the decimal value of -14.25. The representation of x in hexadecimal notation is