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 36–40 of 64

Q36Minimum Spanning Tree2 marksMCQ−0.67 if wrong
Let G = (V, E) be any connected undirected edge-weighted graph. The weights of the edges in E are positive and distinct. Consider the following statements:

(I) Minimum spanning tree of G is always unique.
(II) Shortest path between any two vertices of G is always unique.

Which of the above statements is/are necessarily true?

Q37Deadlock2 marksMCQ−0.67 if wrong
A multithreaded program P executes with x number of threads and uses y number of locks for ensuring mutual exclusion while operating on shared memory locations. All locks in the program are non-reentrant, i.e., if a thread holds a lock l, then it cannot re-acquire lock l without releasing it. If a thread is unable to acquire a lock, it blocks until the lock becomes available. The minimum value of x and the minimum value of y together for which execution of P can result in a deadlock are:

Q38Limits, Continuity and Differentiability2 marksMCQ−0.67 if wrong
The value of lim⁡x→1x7−2x5+1x3−3x2+2\lim_{x\rightarrow 1}\frac{x^{7}-2x^{5}+1}{x^{3}-3x^{2}+2}

Q39Propositional Logic2 marksMCQ−0.67 if wrong
Let p, q, and r be propositions and the expression (p→\rightarrowq)→\rightarrowr be a contradiction. Then, the expression (r→\rightarrowp)→\rightarrowq is

Q40Matrix Algebra2 marksMCQ−0.67 if wrong
Let u and v be two vectors in R2R^{2} whose Euclidean norms satisfy ||u||=2|| v|| . What is the value of α\alpha such that w=u+α\alphav bisects the angle between u and v ?