• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

GATE-CS-2017 (Set 2)

Question 51

P and Q are considering to apply for job. The probability that p applies for job is 1/4. The probability that P applies for job given that Q applies for the job 1/2 and The probability that Q applies for job given that P applies for the job 1/3.The probability that P does not apply for job given that Q does not apply for the job .
  • 4/5
  • 5/6
  • 7/8
  • 11/12

Question 52

If the ordinary generating function of a sequence is: then a3-a0 is equal to:
  • 8
  • 10
  • 15
  • 20

Question 53

Consider the following program
#include<stdio.h>
#include<string.h>

int main()
{
    char * c = "GATECSIT2017";
    char *p = c;
    printf("%d", (int)strlen(c+2[p]-6[p]-1));
    return 0;
}
The Output of the following program is____

Note: This question appeared as Numerical Answer Type.
  • 1
  • 2
  • 4
  • 6

Question 54

Consider a machine with byte addressable memory of 232 bytes divided into blocks of size 32 bytes. Assume a direct mapped cache having 512 cache lines is used with this machine. The size of tag field in bits is _____
  • 12
  • 16
  • 18
  • 24

Question 55

Consider a binary code that consists only four valid codewords as given below.
00000, 01011, 10101, 11110
Let minimum Hamming distance of code be p and maximum number of erroneous bits that can be corrected by the code be q. The value of p and q are:
  • p = 3 and q = 1
  • p = 3 and q = 2
  • p = 4 and q = 1
  • p = 4 and q = 2

Question 56

Gate_4
  • θ(log log n)
  • θ(log n)
  • θ(sqrt(n))
  • θ(n)

Question 57

The next state table of a 2 bit saturating up-counter is given below.


[caption width="800"] [/caption]


The counter is built as synchronous sequential circuit using T flip-flops. The value for T

1

and T

0

are

  • T

    1

    = Q

    0

    Q

    1

    T

    0

    = Q\'

    0

    Q\'

    1

  • T

    1

    = Q\'

    1

    Q

    0

    T

    0

    = Q\'

    1

    + Q\'

    0

  • T

    1

    = Q

    1

    + Q

    0

    T

    0

    = Q\'

    1

    + Q\'

    0

  • T

    1

    = Q\'

    1

    Q

    0

    T

    0

    = Q

    1

    + Q

    0

Question 58

A message is made up entirely of characters from the set X = {P,Q,R,S,T} . The table of probabilities of each character is shown below : Gate_6 A message of 100 characters over X is encoded using Huffman coding. Then the excepted length of the encoded message in bits is _____
  • 225
  • 226
  • 227
  • 228

Question 59

Gate_7
  • Nβ(1-β)
  • N((1-β))
  • Not expressible in terms of N and β

Question 60

In a B+ tree, if the search-key value is 8 bytes long, the block size is 512 bytes and the block pointer is 2 bytes, then the maximum order of the B+ tree is ____.

Note: This question appeared as Numerical Answer Type.
  • 51
  • 52
  • 53
  • 54

There are 65 questions to complete.

Last Updated :
Take a part in the ongoing discussion