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
Which one of the following statements is for all positive functions
Which one of the following regular expressions correctly represents the language of the finite automaton given below?
Which one of the following statements is
Consider the problem of reversing a singly linked list. To take an example, given the linked list below, the reversed linked list should look like Which one of the following statements is about the time complexity of algorithms that solve the above problem in space?
In a relational data model, which one of the following statements is
Suppose we are given keys, hash table slots, and two simple uniform hash functions and Further suppose our hashing scheme uses for the odd keys and for the even keys. What is the expected number of keys in a slot?
Consider the following threads, and executing on a single processor, synchronized using three binary semaphore variables, and operated upon using standard and The threads can be context switched in any order and at any …
Let and be two registers that store numbers in complement form. For the operation which one of the following values of and gives an arithmetic overflow?
Consider the following two statements with respect to the matrices and Statement Statement where represents the trace of a matrix. Which one of the following holds?
Which one of the following facilitates transfer of bulk data from hard disk to main memory with the highest throughput?
What is printed by the following program? #include<stdio.h> int main(int argc, char *argv[]) { int x = 1, z[2] = {10, 11}; int *p = NULL; p = &x; *p = 10; p = &z[1]; *(&z[0] + 1) += 3; printf(“%d, %d, %d\n”, x, z[0], z[1]); return 0; }
Consider an enterprise network with two Ethernet segments, a web server and a firewall, connected via three routers as shown below. What is the number of subnets inside the enterprise network?
Let and be two set associative cache organizations that use algorithm for cache block replacement. is a write back cache and is a write through cache. Which of the following statements is/are
Which of the following statements is/are
Which of the following statements is/are with respect to deadlocks?
Consider the following three relations in a relational database. Which of the following relational algebra expressions return the set of who own all the brands?
Which of the following statements is/are for a group
Suppose a binary search tree with distinct elements is also a complete binary tree. The tree is stored using the array representation of binary heap trees. Assuming that the array indices start with the largest element of the tree is stored at index ______________ .
Consider the augmented grammar with as the set of terminals. If is the set of two items , then …
Consider a simple undirected graph of vertices. If the graph is disconnected, then the maximum number of edges it can have is _______________ .
