GATE 2025 (Session 2) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2025 (Session 2)

65 questions

MCQ 32 · MSQ 18 · NAT 151-mark 30 · 2-mark 35

Questions 46–50 of 65

Q46Relational Schema2 marksMSQ
Consider the following relational schema along with all the functional dependencies that hold on them.

R1(A,B,C,D,E):{D→E,EA→B,EB→C}R1(A, B, C, D, E): \{ D \to E, EA \to B, EB \to C \}
R2(A,B,C,D):{A→D,A→B,C→A}R2(A, B, C, D): \{ A \to D, A \to B, C \to A \}

Which of the following statement(s) is/are TRUE?

One or more options are correct.

Q47Memory Management2 marksMSQ
Consider a demand paging system with three frames, and the following page reference string: 1 2 3 4 5 4 1 6 4 5 1 3 2. The contents of the frames are as follows initially and after each reference (from left to right):
initiallyafter -1*2*3*4*5*416*451*3*2* -1111111666662 --224444444111 ---33555555533
The *-marked references cause page replacements.
Which one or more of the following could be the page replacement policy/policies in use?

One or more options are correct.

Q48Deadlock2 marksMSQ
P={P1,P2,P3,P4}P = \{P_1, P_2, P_3, P_4\} consists of all active processes in an operating system. R={R1,R2,R3,R4}R = \{R_1, R_2, R_3, R_4\} consists of single instances of distinct types of resources in the system.
The resource allocation graph has the following assignment and claim edges.

Assignment edges: R1→P1,R2→P2,R3→P3,R4→P4\text{Assignment edges: } R_1 \to P_1, R_2 \to P_2, R_3 \to P_3, R_4 \to P_4 (the assignment edge R1→P1R_1 \to P_1 means resource R1R_1 is assigned to process P1P_1, and so on for others)

Claim edges: P1→R2,P2→R3,P3→R1,P2→R4,P4→R2\text{Claim edges: } P_1 \to R_2, P_2 \to R_3, P_3 \to R_1, P_2 \to R_4, P_4 \to R_2 (the claim edge P1→R2P_1 \to R_2 means process P1P_1 is waiting for resource R2R_2, and so on for others)

Which of the following statement(s) is/are CORRECT?

One or more options are correct.

Q49Number System2 marksMSQ
Three floating point numbers X,Y,ZX, Y, Z are stored in three registers RX,RY,RZRX, RY, RZ, respectively in IEEE 754 single precision format as given below in hexadecimal:

RX=0×C1100000,RY=0×40C00000,RZ=0×41400000RX = 0\times C1100000, \quad RY = 0\times 40C00000, \quad RZ = 0 \times 41400000

Which of the following option(s) is/are CORRECT?

One or more options are correct.

Q50Boolean Algebra2 marksMSQ
Which of the following Boolean algebraic equation(s) is/are CORRECT?

One or more options are correct.