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
If , then which ONE of the following is ?
The value of such that , satisfying the equation is
Consider a binary tree in which every node has either zero or two children. Let be the number of nodes in . Which ONE of the following is the number of nodes in that have exactly two children?
Let , , and be non-singular matrices of order satisfying the equations , and . Which ONE of the following is the value of the deteminant of ?
Let be an arbitrary predicate over the domain of natural numbers. Which ONE of the following statements is TRUE?
Consider the following statements: Address Resolution Protocol (ARP) provides a mapping from an IP address to the corresponding hardware (link-layer) address. A single TCP segment from a sender to a receiver cannot carry both data from to and acknowledgement for a segment from to Which one of the following is CORRECT?
Consider the routing protocols given in List I and the names given in List II: …
A machine receives an datagram. The protocol field of the header has the protocol number of a protocol . Which ONE of the following is NOT a possible candidate for ?
Consider the following C program: #include <stdio.h> void stringcopy (char *, char *); int main() { char a[30] = "@#Hello World!"; stringcopy(a, a+2); printf("%s\n",a); return 0; } void stringcopy(char *s, char *t) { while (*t) *s++=*t++; } Which one of the following will be the output of the program?
Consider an unorders list of distinct integers. What is the minimum number of element comaparisons required to find an integer in the list that is NOT the largest in the list?
Consider the following statements about the use of backpatching in a compiler for intermediate code generation: Backpatching can be used to generate code for Boolean expression in one pass. Back[atching can be used to generate code for flow-of-control statements in one pass. Which ONE of the folloeing options is CORRECT?
Given the following syntax directed translation rules: Rule 1: Rule 2: Rule 3: Which ONE is the CORRECT option among the following?
Consider a network that uses Ethernet and . Assume that headers do not use any options field. Each Ethernet frame can carry a maximum of bytes in its data field. A UDP segment is transmitted. The payload (data) in the UDPO segment is bytes. Which ONE of the following choices has the CORRECT total number of fragments …
Which ONE of the following languages is accepted by a deteministic pushdown automaton?
Let be Context Free Grammars (CFGs) and be a regular expression. For a grammar , let denote the language generated by . Which ONE among the following questions is decidable?
Processes arrive in that order at times , and 8 milliseconds respectively, and have execution times of , and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times. Which ONE of the following correctly gives the average …
An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account attempted simultaneous transfers of Rs. each from account to account . Both transactions read the same value, Rs., as the initial balance in and were allowed to go through. was credited Rs. …
Which of the following is/are part of an Instruction Set Architecture of a processor?
Which of the following statements regarding Breadth First Search (BFS) and Depth First Search (DFS) on an undirected simple graph is/are TRUE?
Consider the two lists List I and List II given below: …
