# UGC NET Computer Science Paper II Solved Question Paper

1. How many strings of 5 digit have the property that the sum of their digits is 7 ?

Loading...

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 ?

Loading...

3. In how many ways can 15 indistinguishable fish be placed into 5 different ponds, so that each pond consist atleast one fish ?

Loading...

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 ?

(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 ?

Loading...

5. Consider the Hamiltonian Graph (G) with no loops and parallel edges. Which of the following is true with respect to this graph (G) ?

deg(v) ≥ n/2 for each vertex of G

|E(G)| ≥ 1/2 (n-1)(n-2) + 2 edges

deg(v) + deg(w) ≥ n for every v and w not connected by an edge

deg(v) ≥ n/2 for each vertex of G

|E(G)| ≥ 1/2 (n-1)(n-2) + 2 edges

deg(v) + deg(w) ≥ n for every v and w not connected by an edge

Loading...

6. Consider the following statements:

(a) Boolean expression and logic networks correspond to labelled acyclic digraphs.

(b) Optimal boolean expression 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 ?

(a) Boolean expression and logic networks correspond to labelled acyclic digraphs.

(b) Optimal boolean expression 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 ?

Loading...

7. Consider a full-adder with the following input values:

(a) x=1, y=0 and C

(b) x=0, y=1 and C

Compute the values of S(sum) and C0(carry output) for the above input values.

(a) x=1, y=0 and C

_{i}(carry input) = 0(b) x=0, y=1 and C

_{i}=1Compute the values of S(sum) and C0(carry output) for the above input values.

Loading...

8. "If 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 power is still on, then my computations are incorrect"

Convert this argument into logical notation using the variables c,b,r,p for propositions of computations, electric bills, out of money and power respectively. where ~ means NOT)

Convert this argument into logical notation using the variables c,b,r,p for propositions of computations, electric bills, out of money and power respectively. where ~ means NOT)

Loading...

9. Match the Following:

(a) (b) (c) (d)

(1) (i) (ii) (iii) (iv)

(2) (ii) (iii) (i) (iv)

(3) (iii) (ii) (iv) (i)

(4) (iv) (ii) (iii) (i)

List I |
List II |
||

(a) | (p->q) <=> (~q -> ~p) | (i) | Contrapositive |

(b) | [(p^q)->r]<=>[p->(q->r)] | (ii) | Exportation law |

(c) | (p->q) <=> [(p^~q) ->0] | (iii) | Reductio ad absurdum |

(d) | (p<->q) <=> [(p->q)^(q->p)] | (iv) | Equivalence |

(a) (b) (c) (d)

(1) (i) (ii) (iii) (iv)

(2) (ii) (iii) (i) (iv)

(3) (iii) (ii) (iv) (i)

(4) (iv) (ii) (iii) (i)

Loading...

10. Consider a proposition given as :

"x≥6, if x

if x≥6, then x

Which of the following is correct w.r.to the given proposition and its proof ?

The proof shows the converse of what is to be proved

The proof stats by assuming what is to be shown

The proof is correct and there is nothing wrong

"x≥6, if x

^{2}≥25 and its proof as:if x≥6, then x

^{2}=x.x≥6.6=36≥25Which of the following is correct w.r.to the given proposition and its proof ?

The proof shows the converse of what is to be proved

The proof stats by assuming what is to be shown

The proof is correct and there is nothing wrong

Loading...

**Are these questions helpful for you?**

## Related Quizzes

- National Biology Competition 2016
- MCCEE 2016
- UP Lekhpal 2015 Set B
- UP Lekhpal 2015 - Evening Shift
- CBSE UGC NET June 2015 - Paper I
- CBSE UGC NET June 2015 - Economics Paper II
- SSC GD Constable 2015 Question Paper - Morning Shift
- SSC GD Constable 2015 Question Paper - Evening Shift
- CBSE UGC NET June 2015 - Computer Science Paper II

Comments: (Your feedback is valuable to us)manpreet4 years ago ReplyHow to solve question no. 13 please explain it sir...