πŸ“š

GATE CS - Previous Year Questions

Previous-year GATE CS prompts for practice β€” options only until official keys are verified

142 questions15 pages~213 min

Practice with previous-year prompts and options. Official answer keys are not shown here yet β€” mark your choice, then verify against the IIT key PDF.

Use this track for exam reading speed and elimination practice until verified keys are linked.

Progress: 0 / 1420%
Page 7 of 15 β€’ Questions 61-70 of 142
Practice mode: questions and options only. Official IIT answer keys are not linked here yet β€” mark your choice, then cross-check the official key yourself.
Q61medium

[GATE CS 2025 Set-2 Q42] Let β„± be the set of all functions from {1,…,𝑛} to {0,1}. Define the binary relation β‰Ό on β„± as follows: βˆ€π‘“,𝑔 ∈ β„±, 𝑓 β‰Ό 𝑔 if and only if βˆ€π‘₯ ∈ {1,…,𝑛}, 𝑓(π‘₯) ≀ 𝑔(π‘₯), where 0 ≀ 1. Which of the following statement(s) is/are TRUE?

Q62medium

[GATE CS 2025 Set-2 Q43] Given the following Karnaugh Map for a Boolean function 𝐹(𝑀,π‘₯,𝑦,𝑧): Which one or more of the following Boolean expression(s) represent(s) 𝐹?

Q63medium

[GATE CS 2025 Set-2 Q44] Consider a system of linear equations 𝑃𝑋 = 𝑄 where 𝑃 ∈ ℝ3Γ—3 and Q ∈ ℝ3Γ—1. Suppose 𝑃 has an LU decomposition, 𝑃 = πΏπ‘ˆ, where 1 0 0 𝑒 𝑒 𝑒 11 12 13 𝐿 = [𝑙 1 0] and π‘ˆ = [ 0 𝑒 𝑒 ]. 21 22 23 𝑙 𝑙 1 0 0 𝑒 31 32 33 Which of the following statement(s) is/are TRUE?

Q64medium

[GATE CS 2025 Set-2 Q45] Consider a stack data structure into which we can PUSH and POP records. Assume that each record pushed in the stack has a positive integer key and that all keys are distinct. We wish to augment the stack data structure with an 𝑂(1) time MIN operation that returns a pointer to the record with smallest key present in the stack 1) without deleting the corresponding record, and 2) without increasing the complexities of the standard stack operations. Which one or more of the following approach(es) can achieve it?

Q65medium

[GATE CS 2025 Set-2 Q46] Consider the following relational schema along with all the functional dependencies that hold on them. R1(A, B, C, D, E): { 𝐷 β†’ 𝐸, 𝐸𝐴 β†’ 𝐡, 𝐸𝐡 β†’ 𝐢} R2(A, B, C, D): { 𝐴 β†’ 𝐷, 𝐴 β†’ 𝐡, 𝐢 β†’ 𝐴} Which of the following statement(s) is/are TRUE?

Q66medium

[GATE CS 2025 Set-2 Q47] 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): initially after - 1* 2* 3* 4* 5* 4 1 6* 4 5 1* 3* 2* - 1 1 1 1 1 1 1 6 6 6 6 6 2 - - 2 2 4 4 4 4 4 4 4 1 1 1 - - - 3 3 5 5 5 5 5 5 5 3 3 The *-marked references cause page replacements. Which one or more of the following could be the page replacement policy/policies in use?

Q67medium

[GATE CS 2025 Set-2 Q48] 𝑃 = {𝑃 ,𝑃 ,𝑃 ,𝑃 } consists of all active processes in an operating system. 1 2 3 4 𝑅 = {𝑅 ,𝑅 ,𝑅 ,𝑅 } consists of single instances of distinct types of resources in the 1 2 3 4 system. The resource allocation graph has the following assignment and claim edges. Assignment edges: 𝑅 β†’ 𝑃 , 𝑅 β†’ 𝑃 , 𝑅 β†’ 𝑃 , 𝑅 β†’ 𝑃 (the assignment edge 1 1 2 2 3 3 4 4 𝑅 β†’ 𝑃 means resource 𝑅 is assigned to process 𝑃 , and so on for others) 1 1 1 1 Claim edges: 𝑃 β†’ 𝑅 , 𝑃 β†’ 𝑅 , 𝑃 β†’ 𝑅 , 𝑃 β†’ 𝑅 , 𝑃 β†’ 𝑅 (the claim edge 1 2 2 3 3 1 2 4 4 2 𝑃 β†’ 𝑅 means process 𝑃 is waiting for resource 𝑅 , and so on for others) 1 2 1 2 Which of the following statement(s) is/are CORRECT?

Q68medium

[GATE CS 2025 Set-2 Q49] Three floating point numbers 𝑋,π‘Œ, and 𝑍 are stored in three registers R , R , and X Y R , respectively in IEEE 754 single precision format as given below in Z hexadecimal: R = 0xC1100000, R = 0x40C00000, and R = 0x41400000 X Y Z Which of the following option(s) is/are CORRECT?

Q69medium

[GATE CS 2025 Set-2 Q50] Which of the following Boolean algebraic equation(s) is/are CORRECT?

Q70medium

[GATE CS 2025 Set-2 Q51] Consider two grammars 𝐺 and 𝐺 with the production rules given below: 1 2 𝐺 : 𝑆 β†’ 𝑖𝑓 𝐸 π‘‘β„Žπ‘’π‘› 𝑆 | 𝑖𝑓 𝐸 π‘‘β„Žπ‘’π‘› 𝑆 𝑒𝑙𝑠𝑒 𝑆 | π‘Ž 1 𝐸 β†’ 𝑏 𝐺 :𝑆 β†’ 𝑖𝑓 𝐸 π‘‘β„Žπ‘’π‘› 𝑆 | 𝑀 2 𝑀 β†’ 𝑖𝑓 𝐸 π‘‘β„Žπ‘’π‘› 𝑀 𝑒𝑙𝑠𝑒 𝑆 | 𝑐 𝐸 β†’ 𝑏 where 𝑖𝑓,π‘‘β„Žπ‘’π‘›,𝑒𝑙𝑠𝑒,π‘Ž,𝑏,𝑐 are the terminals. Which of the following option(s) is/are CORRECT?