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
When six unbiased dice are rolled simultaneously, the probability of getting all distinct numbers is
Once the informs the user that a transaction has been successfully completed, its effect should persist even if the system crashes before all its changes are reflected on disk. This property is called
In the context of owner and weak entity sets in the (Entity-Relationship) data model, which one of the following statements is TRUE?
Consider the following two sets: …
Which one of the following regular expressions is equivalent to the language accepted by the given below?
Node has a connection open to node . The packets from to go through an intermediate router . Ethernet switch is the first switch on the network path between and . Consider a packet sent from to …
Which of the following tasks is/are the responsibility/responsibilities of the memory management unit in a system with paging-based memory management?
Consider a process running on a . Which one or more of the following events will always trigger a context switch by the that results in process moving to a non-running state (e.g., ready, blocked)?
Which of the following file organizations is/are efficient for the scan operation in ?
Which of the following statements about the Two Phase Locking () protocol is/are TRUE?
Which of the following statements about fragmentation is/are TRUE?
An instruction format has the following structure: Instruction Number: Opcode destination reg, source reg-, source reg- Consider the following sequence of instructions to be executed in a pipelined processor: Which of the …
Which of the following fields of an header is/are always modified by any router before it forwards the packet?
Which of the following statements is/are FALSE?
For a Boolean variable , which of the following statements is/are FALSE?
Consider the following function definition. int fX(char *a) { char *b = a; while (*b) b++; return b - a; } Which of the following statements is/are TRUE?
Let be the partial order defined on the set as follows The number of total orders on that contain is __________.
Let be an array containing integer values. The distance of is defined as the minimum number of elements in that must be replaced with another integer so that the resulting array is sorted in non-decreasing order. The distance of the array is ___________.
What is the output of the following program? #include <stdio.h> int main() { double a[2]={20.0,25.0},* p,* q; p=a ; q=p+1 ; printf("%d,%d", (int) (q-p),( int)(* q- * p)); return 0;}
Consider a single processor system with four processes and , represented as given below, where for each process the first value is its arrival time, and the second value is its burst time. , and . Which one of the following options …
