GATE 2007 Computer Science and Information Technology (CS) Questions with Solutions

GATE 2007

184 questions

MCQ 1841-mark 184

Questions 26–30 of 184

Q26Discrete Mathematics1 markMCQ−0.33 if wrong
In a multi-user operating system on an average, 20 requests are made to use a particular resource per hour. The arrival of requests follows a Poisson distribution. The probability that either one, three or five requests are made in 45 minutes is given by :

Q27Discrete Mathematics1 markMCQ−0.33 if wrong
A depth-first search is performed on a directed acyclic graph. Let d[u] denote the time at which vertex u is visited for the first time and f[u] the time at which the DFS call to the vertex u terminates. Which of the following statements is always TRUE for all edges (u, v) in the graph ?

Q28Discrete Mathematics1 markMCQ−0.33 if wrong
A partial order P is defined on the set of natural numbers as follows. Here xy\frac{x}{y} denotes integer division.
i.(0,0)∈P.(0, 0) \in P.
ii.(a,b)∈P(a, b) \in P if and only if (a%10)≤(b%10)(a \% 10) \leq (b \% 10) and (a10,b10)∈P(\frac{a}{10},\frac{b}{10})\in P.

Consider the following ordered pairs:

i. (101, 22)
ii. (22, 101)
iii. (145, 265)
iv. (0, 153)

Which of these ordered pairs of natural numbers are contained in P?

Q29Discrete Mathematics1 markMCQ−0.33 if wrong
Which one of these first-order logic formulae is valid?

Q30Discrete Mathematics1 markMCQ−0.33 if wrong
Consider the XML document fragment given below:
<Book>
<Title>GATE 2K7 Example<Title>
<Content>
             One of many lines
</Content>
<TOC>
One of many content entries
</TOC>
</Book>
Consider the XPath expression: *[not (self ) : : TOC]
What would be the result of the given XPath expression when the current node is Book?