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

Total Questions: 100

41. Consider the following statements :

A. A group can have zero elements.
B. A group cannot have any element which is idempotent except the identity element.
C. An isomorphism from a group <g, *=""> to <g, *=""> is called an automorphism
D. If every element in a group is its own inverse then the group must be abelian.
Choose the correct answer about the four statements given above. </g,></g,>

Correct Answer: (a) B, C and D are correct
Solution:

A group is a non-empty set with an operation that satisfies the associative, has an identity element, and every element of the set has an inverse element. So statements A is false.
B. A group cannot have any element which is idempotent except the identity element. This is true statement.
C. An isomorphism from a group <g, *=""> to <g, *=""> is called an automorphism This is true statement.
D. If every element in a group is its own inverse then the group must be abelian. This is true statement.
So option (a) is correct. </g,></g,>

42. Consider the following statements:

Correct Answer: (b) A, B and D only correct
Solution:

43. The relation R = {(1, 3), (1, 1), (3, 1), (1, 2), (3, 3), (4, 4)} defined in (1, 2, 3, 4) is _____

Correct Answer: (d) Not reflexive, not symmetric and not transitive
Solution:

The given relation
R = {(1, 3), (1, 1), (3, 1), (3, 1), (1, 2), (3, 3), (4,4)}
Check Reflexive
If the relation is reflexive
then (a, a) ∈ R for every a∈ {1, 2, 3, 4}
Since (1, 1) (3, 3) (4, 4) ∈ R but (2, 2) ∉ R
∴ R is not reflexive.
Check symmetric
To check whether symmetric or not
If (a, b) ∈R then (b, a) ∈ R Here (1, 2) ∈R,
but (2, 1) ∉ R ∴ R is not symmetric
Check transitive To check whether transitive or not
If (a, b) ∈R &(b, c) ∈R, then (a, c) ∈R
Here (1, 3) ∈R and (3, 2) ∉ R and (1, 2) ∈ R
∴R is not transitive
Hence, R are not reflexive, symmetric and transitive The correct Answer is (d)

44. Consider the Boolean expression given by F =(X+Y+Z)(X'+Y)(Y'+Z), Which of the following Boolean expressions is/are equivalent to F (Complement of F)?

A. (X'+Y' + Z') (X+Y') (Y+Z')
B. (XY' + Z')
C. (X+Z') (Y'+Z')
D. (XY'+YZ' + X'Y'Z')
Choose the correct answer from the options given below.

Correct Answer: (b) B, C, and D only
Solution:

45. Which of the following statement is/are True?

A. The processor has direct access to both primary and secondary memory.
B. Primary memory stores the active instructions and data for the program being executed on the process
C. Secondary memory is used as a backup memory
D. Memory system is implemented on a single level memory
Chose the correct answer from the options given below : 

Correct Answer: (b) B and C only
Solution:

46. Inheritance provides the benefits of _______

A. shared interfaces
B. run-time polymorphism
C. less redundant information
D. dynamic binding
Choose the Correct answer from the options given below :

Correct Answer: (a) A, B, C only
Solution:

47. Which of the following are correct using the constructor?

A. string s1;
B. string s2 (s1);
C. string s3{7};
D. string s4{'a'}
E. string s5{7, 'a'}
Choose the most appropriate answer from the options given below.

Correct Answer: (d) A and B only
Solution:

Statement A and B is correct but C, D and E is incorrect constructor does not use curly brackets.
So correct Answer is (d)

48. Suppose that a corporate website appearance varies according to the department that owns various documents. All the documents need to follow the corporate look and feel. The HR department does not need a separate style sheet. It needs only the sheet containing the difference from the corporate sheet. Which of the following statements justify the above scenario?

A. The styles sheets cannot stack on each other
B. The style sheets can stack on each other.
C. The style sheets can override each other.
D. The style sheets cannot override each other.
Choose the most appropriate answer from the options given below :

Correct Answer: (b) B, C only
Solution:

The given statement The HR department does not need a separate style sheet. When multiples style sheets are applied to a webpage, the rules defined in one style sheet can be overridden or modified by rule in another style sheet. This allows the HR department to have its own specific style sheet containing the differences from the corporate sheet. This rules in the HR style sheets will take precedence over the corresponding rules in the corporate style sheet, effectively customizing the appearance from that specific department while still maintaining the core corporate look and feel. Therefore the correct statement is B and C.
So option (b) is correct.

49. Let Ti be a transaction that transfer Rs. 50 from account A to account B. This transaction can be defined as follows :

Correct Answer: (b) May be temporarily inconsistent
Solution:

50. Consider the relation

Student (stuid, dept, clsroll)
The following functional dependencies are given :
FD1 : stuid → dept
FD2 : dept→stuid
FD3: stuid → clsroll
FD4: clsroll → stuid
FD5: dept → clsroll
Which functional dependencies should be removed to obtain the canonical cover of the set?
A. FD2 and FD3                   B. FD1 and FD5
C. FD5                                    D. FD1
Choose the correct answer from the options given below :

Correct Answer: (b) A, C only
Solution:

The given relation
Student (Stuid, dept, clsroll)
The following function dependencies are given
FD1 : Stuid → dept
FD2 : dept → stuid
FD3 : stuid → clsroll
FD4 : clsroll → stuid
FD5 : dept → clsroll
So stuid is primary key. It can not removed.
So option (b) is correct.