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
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?
In the given matrix , one of the eigenvalues is The eigenvectors corresponding to the eigenvalue are
Consider a machine with a byte addressable main memory of bytes, block size of bytes and a direct mapped cache having cache lines. Let the addresses of two consecutive bytes in main memory be and . What are the tag and cache line addresses ( in hex) for main memory address …
While inserting the elements in an empty binary search tree (BST) in the sequence shown, the element in the lowest level is
The result evaluating the postfix expression is
Consider a software program that is artificially seeded with 100 faults. While testing this program, 159 faults are detected, out of which 75 faults are from those artificially seeded faults. Assuming that both real and seeded faults are of same nature and have same distribution, the estimated number of undetected real faults is _______.
Two processes and need to access a critical section. Consider the following synchronization construct used by both the processes …
The value of is
In a web server, ten WebPages are stored with the URLs of the form http://www.yourname.com/var.html; where var is a different number from 1 to 10 for each Webpage. Suppose the client stores the Webpage with var = 1 (say W1) in the local machine, edits and then tests. Rest of the Webpages remains on the web server. W1 contains several relative URLs of the …
Consider the following C program segment. # include <stdio.h> int main() { char s1[7] = "1234", *p; p = s1 + 2; *p = '0'; printf("%s", s1); } What will be printed by the program?
Consider a CSMA/CD network that transmits data at a rate of per second) over a (kilometre) cable with no repeaters. If the minimum frame size required for this network is What is the signal speed in the cable?
The number of digit numbers having their digits in non-decreasing order (from left to right) constructed by using the digits belonging to the set is ________.
