U.G.C. NET Exam. December 2022 Paper II (COMPUTER SCIENCE) And Applicatation.

Total Questions: 100

1. The negation of "Some students like hockey" is :

Correct Answer: (b) Every student dislike hockey
Solution:

2. A relation 'R' is defined on ordered pairs of integers as :

(x, y) R (u, v) if x<u and y>v. Then R is

Correct Answer: (a) Neither a partial order nor an equivalence relation
Solution:

An equivalence relation on set x is a subset of x*x, i.e., a collection R of ordered pairs of elements of x, satisfying certain properties. Write "xRy" to mean (x, y) is an element of R and We say "x is related to y. Then the properties are Reflexive, Symmetric, Transitive.
An partial order relation on a set x is a subset of x*x, satisfying certain properties. The properties are Reflexive, Anti-Symmetric, Transitive.
An total order relation a set x is a subset of x*x, satisfying certain properties. The properties are Reflexive, Anti-Symmetric, Transitive, Comparability. As given in question, a relation "R" is defined on ordered pairs of integers as : (x, y) R (u, v) if x < u and y > v, Reflexive property is not satisfied here, because there is > or = v (or x = v and y = v) kind of relation among elements of sets then reflexive property could have been satisfied. Since reflexive property in not satisfied here, so given relation cannot be equivalence, partial order or total order relation. So, option (a) is correct.

3. Suppose you are married and you and your partner attend a party with three other married couples. Several handshakes took place. No one shook hands with himself (or herself) or with their partner, and no one shook hands with the same person more than once. After all hand shaking was completed, suppose you asked each person, including your partner, how many hands they had shaken. Each person gave a different answer. How many hands did your spouse shake?

Correct Answer: (c) 3
Solution:

4. Consider the following conditional code, which returns a Boolean values

Correct Answer: (b) x ≤ 25
Solution:

Given conditional code, which returns a Boolean Values
if ((x > 25) & & (y> 100))
return 'false';
else if ((x < 25) && (y < 100)
return 'true';
else if ((x > 25) && (y < 100))
else return 'true';
by conditional
if (x < 25)
return 'true'; else return 'false';

5. Which one of the following types of memory is fastest

Correct Answer: (b) Register Memory
Solution:

Register memory is the smallest and fastest memory in a computer. It is not a part of the main memory and located in the CPU in the form of registers, which are the smallest data holding elements. A register temporarily holds frequently used data instruction and memory address that are to be used by CPU.

6. The memory size for n address lines and m data lines is given by

Correct Answer: (c)
Solution:

We know that ROM memory size = 2ⁿ × m.
n = Number of address lines.
m = Number of data lines.

7. Simplify the following using K-Map

F(A, B, C, D) = ∑(0, 2, 5, 7, 8, 10, 13, 15)

Correct Answer: (a) BD + B'D'
Solution:

8. Consider an unpipelined machine with 10nsec clock cycles which uses four cycles for ALU operations and branches where as five cycles for memory operation. Assume that the relative frequencies of these operations are: 40%, 20% and 40% respectively. Due to clock skew and setup pipeline let us consider that the machine adds one nsec overhead to the clock. How much speedup is observed in the instruction execution rate when a pipelined machine is considered.

Correct Answer: (b) 4 times
Solution:

Consider the unpipelined machine with 10 ns clock cycles. ItTotal clock cycle = 0.40 × 4 + 0.20 × 4 + 0.40 × 5
= 1.6 + 0.8 + 2
= 4.4 clock cycle
c

9. Machine Level Language is a/an

Correct Answer: (b) Low Level Language
Solution:

Machine Level Language Machine language is a low-level language made up of binary numbers or bits that a computer can understand. It is also know as machine code or object code and extremely tough to comprehend. The only language that the computer understands is machine language.

10. Which of the following is wrong about the data typies?

Correct Answer: (c) The range of values for signed data types is more than that of unsigned data types
Solution:

In C language, unsigned is also one data type in which is a variable type of int data type can hold zero and positive numbers. There is also a signed int data type which is a variable type of int data type that can hold negative zero and positive number. This unsigned int data type cannot represent a negative number. Unsigned integers range from 0 to 4 billion in 32-bit integers signed version ranges from around 2 billion to +2 billion.
So option C is correct answer.