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

GATE 2014 (Session 3)

65 questions

MCQ 47 · NAT 181-mark 30 · 2-mark 35

Questions 16–20 of 65

Q16Definite and Improper Integrals1 markNAT
If ∫02π∣xsinx∣dx=kπ\int_{0}^{2\pi}|x sinx| dx=k \pi, then the value of k is equal to _______.

Q17Boolean Algebra1 markMCQ−0.33 if wrong
Consider the following minterm expression for F.
F(P,Q,R,S) = Σ\Sigma 0, 2, 5, 7, 8, 10, 13, 15
The minterms 2, 7, 8 and 13 are 'do not care terms. The minimal sum of-products form for F is

Q18Combinational Circuit1 markMCQ−0.33 if wrong
Consider the following combinational function block involving four Boolean variables x, y, a, b where x, a, b are inputs and y is the output.
 f (x, y, a, b)
{
    if (x is 1) y = a; 
    else y = b;
} 
Which one of the following digital logic blocks is the most suitable for implementing this function?

Q19Pipeline Processor1 markMCQ−0.33 if wrong
Consider the following processors (ns stands for nanoseconds). Assume that the pipeline registers have zero latency.
P1: Four-stage pipeline with stage latencies 1 ns, 2 ns, 2 ns, 1 ns.
P2: Four-stage pipeline with stage latencies 1 ns, 1.5 ns, 1.5 ns, 1.5 ns.
P3: Five-stage pipeline with stage latencies 0.5 ns, 1 ns, 1 ns, 0.6 ns, 1 ns.
P4: Five-stage pipeline with stage latencies 0.5 ns, 0.5 ns, 1 ns, 1 ns, 1.1 ns.
Which processor has the highest peak clock frequency?

Q20Matrix Algebra1 markMCQ−0.33 if wrong
Let A be a square matrix size n x n. Consider the following pseudocode. What is the expected output?
 C = 100;
for i = 1 to n do
   for j = 1 to n do
   {
      Temp = A[ i ] [ j ] + C ;
      A [ i ] [ j ] = A [ j ] [ i ] ;
      A [ j ] [ i ] = Temp ? C ;
   }
for i = 1 to n do
    for j = 1 to n do
         output (A[ i ] [ j ]);