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

GATE 2015 (Session 1)

65 questions

MCQ 45 · NAT 201-mark 30 · 2-mark 35

Questions 11–15 of 65

Q11Functions1 markMCQ−0.33 if wrong
If g(x)=1−xg(x)=1-x and h(x)=xx−1h(x)=\frac{x}{x-1}, then g(h(x))h(g(x))\frac{g(h(x))}{h(g(x))} is:

Q12Limits, Continuity and Differentiability1 markMCQ−0.33 if wrong
lim⁡x→∞x1/x\lim_{x\rightarrow \infty }x^{1/x} is

Q13Divide and Conquer1 markMCQ−0.33 if wrong
Match the following:
(P) Prim’s algorithm for minimum spanning tree (Q) Floyd-Warshall algorithm for all pairs shortest paths (R) Mergesort (S) Hamiltonian circuit (i) Backtracking (ii) Greedy method (iii) Dynamic programming (iv) Divide and conquer

Q14Sorting1 markMCQ−0.33 if wrong
Which one of the following is the recurrence equation for the worst case time complexity of the Quicksort algorithm for sorting n ( ≥\geq2) numbers? In the recurrence equations given in the options below, c is a constant.

Q15Binary Tree1 markMCQ−0.33 if wrong
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