Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew

Search questions

42 questions
  1. GATE CSE 2026 | Set 1, Q51, NAT, Programming & Data StructuresConsider the recursive functions represented by the following code segment: [code]…
  2. GATE CSE 2026 | Set 2, Q26, MCQ, Discrete MathematicsConsider a complete graph K_n with n vertices ( n>4 ). Note that multiple spanning trees can be constructed over K_n. Each of these spanning trees is…
  3. GATE CSE 2026 | Set 2, Q31, MCQ, Compiler DesignConsider the canonical L R(0) parsing of the grammar below using terminals {a, b, c} and non-terminals {A, B, C, S} with S as the start symbol.…
  4. GATE CSE 2026 | Set 2, Q41, MSQ, Operating SystemConsider three processes P1, P2, and P3 running identical code, as shown in the pseudocode below. A and B are two binary semaphores initialized to 1 and 0,…
  5. GATE CSE 2025 | Set 1, Q34, MCQ, Theory of ComputationConsider the following two languages over the alphabet {a, b}:…
  6. GATE CSE 2025 | Set 2, Q54, NAT, Engineering MathematicsA quadratic polynomial (x-α)(x-β) over complex numbers is said to be square invariant if (x-α)(x-β)=(x-α^2)(x-β^2). Suppose from the set of all square invariant…
  7. GATE CSE 2024 | Set 2, Q35, MCQ, DatabasesThe relation schema, Person (pid, city), describes the city of residence for every person uniquely identified by pid. The following relational algebra operators…
  8. GATE CSE 2024 | Set 2, Q41, MSQ, Discrete MathematicsLet G be an undirected connected graph in which every edge has a positive integer weight. Suppose that every spanning tree in G has even weight. Which of the…
  9. GATE CSE 2024 | Set 2, Q55, NAT, Compiler DesignConsider the following augmented grammar, which is to be parsed with a SLR parser. The set of terminals is {a, b, c, d, #, @}…
  10. GATE CSE 2023, Q16, MSQ, Discrete MathematicsGeetha has a conjecture about integers, which is of the form [formula] where P is a statement about integers, and Q is a statement about pairs of integers.…
  11. GATE CSE 2023, Q27, MCQ, Compiler DesignConsider the control flow graph shown. [figure] Which one of the following choices correctly lists the set of live variables at the exit point of each basic…
  12. GATE CSE 2023, Q38, MCQ, Discrete MathematicsLet U={1,2, …, n}, where n is a large positive integer greater than 1000. Let k be a positive integer less than n. Let A, B be subsets of U with |A|=|B|=k and A…
  13. GATE CSE 2022, GA Q9, MCQ, General AptitudeThe corners and mid-points of the sides of a triangle are named using the distinct letters P, Q, R, S, T and U, but not necessarily in the same order. Consider…
  14. GATE CSE 2022, GA Q10, MCQ, General AptitudeA plot of land must be divided between four families. They want their individual plots to be similar in shape, not necessarily equal in area. The land has…
  15. GATE CSE 2022, Q30, MCQ, Digital LogicConsider a digital display system (DDS) shown in the figure that displays the contents of register X. A 16 - bit code word is used to load a word in X, either…
  16. GATE CSE 2022, Q40, MSQ, Discrete MathematicsThe following simple undirected graph is referred to as the Peterson graph. [figure] Which of the following statements is/are TRUE?
  17. GATE CSE 2022, Q44, MSQ, Computer Organization & ArchitectureConsider a system with 2 KB direct mapped data cache with a block size of 64 bytes. The system has a physical address space of 64 KB and a word length of 16…
  18. GATE CSE 2021 | Set 1, Q23, NAT, DatabasesA relation r(A, B) in a relational database has 1200 tuples. The attribute A has integer values ranging from 6 to 20, and the attribute B has integer values…
  19. GATE CSE 2021 | Set 1, Q35, MCQ, Engineering MathematicsConsider the two statements. S_1: There exist random variables X and Y such that ( E[(X- E(X))(Y- E(Y))])^2>Var[X]Var[Y] S_2: For all random…
  20. GATE CSE 2021 | Set 1, Q47, MSQ, AlgorithmsConsider a dynamic hashing approach for 4-bit integer keys: There is a main hash table of size 4. The 2 least significant bits of a key is used to index into…