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 of the following Boolean algebraic equation(s) is/are CORRECT?
Despite his initial hesitation, Rehman's ____________ to contribute to the success of the project never wavered. Select the most appropriate option to complete the above sentence.
Bird : Nest :: Bee : ______
If for all real values of , which one of the following statements is true?
The paper as showin the figure is folded to make a cube where each square corresponds to a particular face of the cube. Which one of the following options correctly represents the cube? Note: The figures showin are representative.
Let and denote two arbitrary prime numbers. Which one of the following statemetns is correct for all values of and ?
Based only on the conversation below, identify the logically correct inference: "Even if I had known that you were in the hospital, I would not have gone there to see you", Ramya told Josephine.
If IMAGE and FIELD are coded as FHBNJ and EMFJG respectively then, which one among the given options is the most appropriate code for BEACH?
Which one of the following options is correct for the given data in the table? …
In the Given figure, PQRS is a square of side cm and PLMN is a rectangle. The corner L of teh rectangle is on the side QR. Side MN of the rectangle passes through the corner S of the square. What is the area (in ) of the rectangle PLMN? Note: The figure shown is representative.
The diagram below shows a river system consisting of segments, marked and It splits the land into zones, marked and . We need to connect these zones using the least number of bridges, Out of the following options, which one is correct? Note: The figure shown is representative.
Let be a function such that , where is the set of all real numbers. The set of all points where is NOT differentiable is
The product of all eigenvalues of the matrix is
Consider a system that uses bits for representing signed integers in 's complement format. In this system, two integers and are represented as = and =. Which one of the following operations will result in either an arithmetic overflow or an arithmetic underflow?
Consider a permutation sampled uniformly at random from the set of all permutations of for some . Let be the event that occurs before in the permutation, and the event that occurs before . Which one of the following statements is TRUE?
Which one of the following statements is FALSE?
A user starts browsing a webpage hosted at a remote server. The browser opens a single TCP connection to fetch the entire webpage from the server. The webpage consists of a top-level index page with multiple embedded image objects. Assume that all caches (e.g., DNS cache, browser cache) are all initially empty. The following packets leave the user's computer …
Given an integer array of size , we want to check if the array is sorted (in either ascending or descending order). An algorithm solves this problem by making a single pass through the array and comparing each element of the array only with its adjacent elements. The worst-case time complexity of this algorithm is
Consider the following program: #include <stdio.h> int main() { int a=6; int b = 0; while (a<10) { a = a / 12+1 ; a += b ;} printf ("%d", a); return 0 ; } Which one of the following statements is CORRECT?
Consider the following program: #include <stdio.h> void fX (); int main(){ fX(); return 0 }; void fX () { char a; if ((a=g e t c h a r()) ! = '\n') fX(); if (a ! = '\n') putchar (a); } Assume that the input to the program from the command line is followed by a newline character. Which one of the following statements is …
