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
Consider the equation where and are unknown. The number of possible solutions is _____
For the processes listed in the following table, which of the following scheduling schemes will give the lowest average turnaround time? …
Which of the following languages are context-free?
If the following system has non-trivial solution, , then which one of the following options is TRUE?
Consider the following grammar G Where , , and are non-terminal symbols, , and are terminal symbols. Which of the following statement(s) is/are correct? S1: LL(1) can parse all strings that are generated using grammar G S2: LR(1) can parse all …
Consider the following two C code segments. and are one and two dimensional arrays of size and respectively, where . Assume that in both code segments, elements of are initialized to and each element of array is initialized to . Further assume that when stored in main …
Consider the partial Schedule involving two transactions and . Only the and the operations have been shown. The operation on data item is denoted by and operation on data item is denoted by . …
Consider a network connecting two systems located apart. The bandwidth of the network is per second. The propagation speed of the media is per second. It needs to design a Go-Back- sliding window protocol for this network. The average packet size is …
Consider the following C program #include<stdio.h> int main() { static int a[] = {10, 20, 30, 40, 50}; static int *p[] = {a, a+3, a+4, a+1, a+2}; int **ptr = p; ptr++; printf("%d%d", ptr-p, **ptr); } The output of the program is _______.
Assume that a mergesort algorithm in the worst case takes seconds for an input of size . Which of the following most closely approximates the maximum input size of a problem that can be solved in minutes?
Consider a binary tree T that has leaf nodes. Then the number of nodes in T that have exactly two children are ______.
In a room there are only two types of people, namely and . people always tell the truth and people always lie. You give a fair coin to a person in that room, without knowing which type he is from and tell him to toss it and hide the result from you till you ask for it. Upon asking the …
Suppose is the power set of the set . For any , let denote the number of elements in and denote the complement of . For any be the set of all elements in which are not in . Which one of the following is true?
Consider the following statements. TCP connections are full duplex TCP has no option for selective acknowledgement TCP connections are message streams
Consider a software project with the following information domain characteristics for calculation of function point metric. Number of external inputs (I) = 30 Number of external outputs (O) = 60 Number of external inquiries (E) = 23 Number of files (F) = 08 Number of external interfaces (N) = 02 It is given that the complexity weighting factors for I, O, E, …
Consider the relation with the following set of functional dependencies Which of the following is the trivial functional dependency in , where is closure to F?
Consider the following array of elements. The minimum number of interchanges needed to convert it into a max-heap is
Let be the language represented by the regular expression where . What is the minimum number of states in a DFA that recognizes (complement of )?
Given that hash table with slots that stores elements, the load factor for is _________.
Among simple LR (SLR), canonical LR, and look-ahead LR (LALR), which of the following pairs identify the method that is very easy to implement and the method that is the most powerful, in that order?
