UGC NET Previous Year Papers
COMPUTER SCIENCE AND APPLICATIONS
Paper II – June-2015
1. How many strings of 5 digits have the property that the sum of their digits is 7 ?
(1) 66
(2) 330
(3) 495
(4) 99
Ans: (2)
2. Consider an experiment of tossing two fair dice, one black and one red. What is the probability that the number on the black die divides the number on red die ?
(1)
(2)
(3)
(4)
Ans: (3)
3. In how many ways can 15 indistinguishable fish be placed into 5 different ponds, so that each pond contains at least one fish ?
(1) 1001
(2) 3876
(3) 775
(4) 200
Ans: (1)
4. Consider the following statements:
(a) Depth – first search is used to traverse a rooted tree.
(b) Pre – order, Post-order and Inorder are used to list the vertices of an ordered rooted tree.
(c) Huffman’s algorithm is used to find an optimal binary tree with given weights.
(d) Topological sorting provides a labelling such that the parents have larger labels than their children.
Which of the above statements are true ?
(1) (a) and (b)
(2) (c) and (d)
(3) (a) , (b) and (c)
(4) (a), (b) , (c) and (d)
Ans: (4)
5. Consider a Hamiltonian Graph (G) with no loops and parallel edges. Which of the following is true with respect to this Graph (G) ?
(a) deg(v) ≥ n/2 for each vertex of G
(b) |E(G)| ≥ 1/2 (n-1)(n-2)+2 edges
(c) deg(v) + deg(w) ≥ n for every v and ω not connected by an edge
(1) (a) and (b)
(2) (b) and (c)
(3) (a) and (c)
(4) (a), (b) and (c)
Ans: (4)
6. Consider the following statements :
(a) Boolean expressions and logic networks correspond to labelled acyclic digraphs.
(b) Optimal Boolean expressions may not correspond to simplest networks.
(c) Choosing essential blocks first in a Karnaugh map and then greedily choosing the largest remaining blocks to cover may not give an optimal expression.
Which of these statement(s) is/ are correct?
(1) (a) only
(2) (b) only
(3) (a) and (b)
(4) (a), (b) and (c)
Ans: (4)
7. Consider a full-adder with the following input values:
(a) x=1, y=0 and C_{i}(carry input) = 0
(b) x=0, y=1 and C_{i} = 1
Compute the values of S(sum) and C_{°} (carry output) for the above input values.
(1) S=1 , C_{°}= 0 and S=0 , C_{°}= 1
(2) S=0 , C_{°}= 0 and S=1 , C_{°}= 1
(3) S=1 , C_{°}= 1 and S=0 , C_{°}= 0
(4) S=0 , C_{°}= 1 and S=1 , C_{°}= 0
Ans: (1)
8. “lf my computations are correct and I pay the electric bill, then I will run out of money. If I don’t pay the electric bill, the power will be turned off. Therefore, if I don’t run out of money and the power is still on, then my computations are incorrect.”
Convert this argument into logical notations using the variables c, b, r, p for propositions of computations, electric bills, out of money and the power respectively. (Where ¬ means NOT)
(1) if (c∧b) → r and ¬b → ¬p, then (¬r∧p)→¬c
(2) if (c∨b) → r and ¬b → ¬p, then (r∧p)→c
(3) if (c∧b) → r and ¬p → ¬b, then (¬r∨p)→¬c
(4) if (c∨b) → r and ¬b → ¬p, then (¬r∧p)→¬c
Ans: (1)
9. Match the following:
List – I |
List – II |
(a) (p →q) ⇔ (¬q→¬p) (b) [(p∧q)→r]⇔[p→ (q→r)] (c) (p→q)⇔[(p∧¬q)→o] (d) (p↔q)⇔[(p→q)∧(q→p)] |
(i) Contrapositive (ii) Exportation law (iii) Reductio ad absurdum (iv) Equivalence |
Codes:
(a) (b) (c) (d)
(1) (i) (ii) (iii) (iv)
(2) (ii) (iii) (i) (iv)
(3) (iii) (ii) (iv) (i)
(4) (iv) (ii) (iii) (i)
Ans: (1)
10. Consider a proposition given as:
“x≥6, if x^{2}≥25 and its proof as:
If x≥6, then x^{2}=x.x=6.6=36≥25
Which of the following is correct w.r.to the given proposition and its proof ?
(a) The proof shows the converse of what is to be proved.
(b) The proof starts by assuming what is to be shown.
(c) The proof is correct and there is nothing wrong.
(1) (a) only
(2) (c) only
(3) (a) and (b)
(4) (b) only
Ans: (3)