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
Let be a weighted graph with edge weights greater than one and be the graph constructed by squaring the weights of edges in . Let and be the minimum spanning trees of and , respectively, with total weights and . Which of the following statements is TRUE?
Let be a complete undirected graph on vertices. If vertices of are labeled, then the number of distinct cycles of length in is equal to
Register renaming is done in pipelined processors:
The amount of ROM needed to implement a multiplier is
Let and denote respectively, the worst case and average case running time of an algorithm executed on an input of size . Which of the following is ALWAYS TRUE?
Let be a simple undirected planar graph on vertices with edges. If is a connected graph, then the number of bounded faces in any embedding of on the plane is equal to
The recurrence relation capturing the optimal execution time of the problem with discs is
Which of the following statements are TRUE about an SQL query? P : An SQL query can contain a HAVING clause even if it does not have a GROUP BY clause Q : An SQL query can contain a HAVING clause only if it has a GROUP BY clause R : All attributes used in the GROUP BY clause must appear in the SELECT clause S : Not all attributes used in the GROUP BY clause …
What is the correct translation of the following statement into mathematical logic? “Some real numbers are rational”
What is the complement of the language accepted by the NFA shown below? Assume and is the empty string.
Let A be the matrix with elements and . Then the eigenvalues of the matrix are
Given the basic ER and relational models, which of the following is INCORRECT?
The protocol data unit (PDU) for the application layer in the Internet stack is:
Consider the function in the interval . The number and location(s) of the local minima of this function are
The decimal value in IEEE single precision floating point representation has
A process executes the code fork(); fork(); fork(); The total number of child processes created is
The truth table represents the Boolean function
The worst case running time to search for an element in a balanced binary search tree with elements is
What will be the output of the following C program segment? char inChar = 'A'; switch ( inChar ) { case 'A' : printf ("Choice A \ n"); case 'B' : case 'C' : printf ("Choice B"); case 'D' : case 'E' : default : printf ("No Choice"); }
Assuming , which of the following is TRUE?
