# Computer Science and Information Technology - GATE 2015 Paper Solution

#### SET - 1

Didn’t you buy ______ when you went shopping?

Which of the following options is the closest in meaning to the sentence below?

Which one of the following combinations is incorrect?

Based on the given statements, select the most appropriate option to solve the given question. If two floors in a certain building are 9 feet apart, how many steps are there in a set of stairs that extends from the first floor to the second floor of the building?

Statements:

(I) Each step is ¾ foot high
(II) Each step is 1 foot wide.

Given Set A = {2, 3, 4, 5} and Set B = {11, 12, 13, 14, 15}, two numbers are randomly selected, one from each set. What is the probability that the sum of the two numbers equals 16?

Select the alternative meaning of the underlined part of the sentence.
The chain snatchers took to their heels when the police party arrived.

The given statement is followed by some courses of action. Assuming the statement to be true, decide the correct option.
Statement:
There has been a significant drop in the water level in the lakes supplying water to the city.
Course of action:
(I) The water supply authority should impose a partial cut in supply to tackle the situation.
(II) The government should appeal to all the residents through mass media for minimal use of water.
(III) The government should ban the water supply in lower areas.

The pie chart below has the breakup of the number of students form different departments in an engineering college for the year 2012. The proportion of male to female students in each department is 5:4. There are 40 males in Electrical Engineering. What is the difference between the numbers of female students in the Civil department and the female students in the Mechanical department?

The probabilities that a student passes in Mathematics, Physics and Chemistry are m, p, and c respectively. Of these subjects, the student has 75% chance of passing in atleast one, a 50% chance of passing in atleast two and a 40% chance of passing in exactly two. Following relation are drawn in m, p, and p, c.

 (I) p + m + c = 27/20 (II) p + m + c = 13/20 (III) ( p) X (m) X (C) = 1/10

The number of students in a class who have answered correctly, wrongly, or not attempted each question in exam, are listed in the table below. The marks for each question are also listed. There is no or partial marking.

 Q. No Marks Answered Correctly Answered Wrongly Not Attempted 1 2 21 17 6 2 3 15 27 2 3 1 11 29 4 4 2 23 18 3 5 5 31 12 1

What is the average of the marks obtained by the class in the examination?

If $h\left(x\right)=\frac{x}{x-1}$, then $\frac{g\left(h\left(x\right)\right)}{h\left(g\left(x\right)\right)}$ is:

$\underset{x\to \infty }{\mathrm{lim}}{x}^{1}{x}}$ is

Match the following:

 (P) Prim’s algorithm for minimum spanning tree (i) Backtracking (Q) Floyd – Warshal algorithm for all pairs shortest paths (ii) Greedy method (R) Mergesort (iii) Dynamic programming (S) Hamiltonian circuit (iv) Divide and conquer

Which one of the following is the recurrence equation for the worst case time complexity of the Quicksort algorithm for sorting $n\left(\geq2\right)$ numbers? In the recurrence equations given in the options below, $c$ is a constant.

The height of a tree is the length of the longest root-to-leaf path in it. The maximum and minimum number of nodes in a binary tree of height 5 are

Match the following:

 (P) Condition coverage (i) Black-box testing (Q) Equivalence class partitioning (ii) System testing (R) Volume testing (iii) White-box testing (S) Alpha testing (iv) Performance testing

Which of the following is/are correct inorder traversal sequence(s) of binary search tree(s)?

 I. 3, 5, 7, 8, 15, 19, 25 II. 5, 8, 9, 12, 10, 15, 25 III. 2, 7, 10, 8, 14, 16, 20 IV. 4, 6, 7, 9, 18, 20, 25

Which one of the following is TRUE at any valid state in shift – reduce parsing?

Which one of the following is NOT equivalent to $p↔q$?
For a set A, the power set of A is denoted by ${2}^{A}$. If A={5,{6},{7}},which of the following options are TRUE?
 I. $\varnothing \in {2}^{A}$ II. $\varnothing \subseteq {2}^{A}$ III. $\left\{5,\left\{6\right\}\right\}\in {2}^{A}$ IV. $\left\{5,\left\{6\right\}\right\}\subseteq {2}^{A}$