GATE 2017 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2017 (Session 1)

64 questions

MCQ 44 · NAT 201-mark 30 · 2-mark 34

Questions 26–30 of 64

Q26Normal Form1 markMCQ−0.33 if wrong
The following functional dependencies hold true for the relational schema R{V,W,X,Y,Z}:
V →\rightarrowW
VW →\rightarrowX
Y→\rightarrow VX
Y →\rightarrowZ
Which of the following is irreducible equivalent for this set of functional dependencies ?

Q27Context Free Grammar1 markMCQ−0.33 if wrong
Consider the following grammar.

P→\rightarrowxQRS
Q→\rightarrowyz|z
R→\rightarroww|ε\varepsilon
S→\rightarrowy

What is FOLLOW (Q) ?

Q28Thread1 markMCQ−0.33 if wrong
Threads of a process share

Q29Probability Theory1 markNAT
Let X be a Gaussian random variable mean 0 and variance σ2\sigma ^{2} . Let Y=max(X, 0) where max (a,b) is the maximum of a and b. The median of Y is ____________.

Q30Graph Theory1 markNAT
Let T be a tree with 10 vertices. The sum of the degrees of all the vertices in T is _________.