GATE CS question library
Practise GATE CS Computer Science previous year questions free. Browse by subject, syllabus topic, year and question type, with answers and available solutions.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
20 on this page
Let be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following diagrams CORRECTLY represents ?
In a tree, the requirement of at least half-full node occupancy is relaxed for which one of the following cases?
Which of the following statements about a relation in first normal form is/are TRUE?
Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?
Which of the following statements about threads is/are TRUE?
Which of the following process state transitions is/are NOT possible?
Which of the following is/are Bottom-Up Parser(s)?
Let and be two events in a probability space with , and . Which of the following statements is/are TRUE?
Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?
client successfully establishes a connection to server . Let denote the sequence number in the sent from to . Let denote the acknowledgement number in the SYN ACK from to . Which of the following …
Consider a -stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
Which of the following fields is/are modified in the header of a packet going out of a network address translation device from an internal network to an external network?
Let and be non-empty finite sets such that there exist one-to-one and onto functions from to and from to . The number of possible values of is ___________.
Consider the operator precedence and associativity rules for the integer arithmetic operators given in the table below. …
The number of spanning trees in a complete graph of vertices labelled and is _________.
Consider the following two relations, and : …
Consider a network path between nodes and via router . Node sends a file of size bytes to via this path by splitting the file into chunks of bytes each. Node sends these chunks one after the other without any wait time …
Consider the following syntax-directed definition . …
Consider the following pseudo-code. L 1: t1 = -1 L 2: t2 = 0 L 3: t3 = 0 L 4: t4 = 4 * t3 L 5: t5 = 4 * t2 L 6: t6 = t5 * M L 7: t7 = t4 + t6 L 8: t8 = a[t7] L 9: if t8 <= max goto L11 L 10: t1 = t8 L 11: t3 = t3 + 1 L 12: if t3 < M goto L4 L 13: t2 = t2 + 1 L 14: if t2 < N goto L3 L 15: max = t1 Which one of the following options CORRECTLY …
Consider the following two threads and that update two shared variables and . Assume that initially . Though context switching between threads can happen at any time, each statement of or is executed atomically without interruption. …
