U.G.C. NET Exam. December 2022 Paper-II (COMPUTER SCIENCE) and Applicatations.

Total Questions: 100

1. Which of the following is NOT logically equivalent to P → Q?

Correct Answer: (d) ~ Q → P
Solution:

By using truth table

2. Seven people enter a lift. The lift stops only at three floors (which are unspecified). At each of the three floors no one enters the lift, but at least one person leaves the lift. After the three floor stops the lift is empty in how many ways this can happen?

Correct Answer: (c) 1806
Solution:

3. Answer the following question

Correct Answer: (b) C(7, 2) * C(5, 3)
Solution:

4. What is the minimum number of students in discrete mathematics class to be sure that at least six will receive the same grade, if there are seven possible grades : S, A, B, C, D, P and F?

Correct Answer: (c) 36
Solution:

The given data Seven possible grades = {S, A, B, C, D, P, F}
n = 7
get the same grade
K + 1 = 6
K = 5
By pigeonhole principle
The minimum number of student = kn+1
= 5 × 7 + 1 = 35 + 1 = 36
So option (c) is correct.

5. In 16-bit 2's Complementation representation, the decimal number 28 is

Correct Answer: (c) 1111 1111 1110 0100
Solution:

6. Simplify the following using K-Map F(A, B, C, D) = ∑(3, 4, 5, 6, 7, 11, 15)

Correct Answer: (b) A'B + CD
Solution:

7. Consider a 3-bit counter, designed using T flip flops as shown below :

Correct Answer: (a) 011, 101, 000
Solution:

8. Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1+ R2 which one of the following values of R1 and R2 gives an arithmetic overflow?

Correct Answer: (b) R1 = 1100 and R2 = 1010
Solution:

9. In the context of Binding which one of the following is incorrect?

Correct Answer: (c) Internal functions are known at link time
Solution:

Static binding is done at compile time. This is correct. Static binding also known as early binding, occurs the competation phase. The compiler resolves the method of function calls at compile time and the binding is fixed.

10. Given int arr[3][4][2] = {{{2, 4}, {7, 8}, (3, 4}, {5, 6}}, {{7, 6}, {3, 4}, {5, 3}, {2, 3}}}, {{8, 9}, {7, 2}, {3, 4}, {5,1}}}};

Correct Answer: (b) *(*(*(arr+2)+3)+1)
Solution: