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 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 …
Let be the specification: "Instructors teach courses. Students register for courses. Courses are allocated classrooms. Instructors guide students." Which one of the following diagrams CORRECTLY represents ?
In a tree, the requirement of at least half-full node occupancy is relaxed for which one of the following cases?
Which of the following statements about a relation in first normal form is/are TRUE?
Let be two regular languages and a language which is not regular. Which of the following statements is/are always TRUE?
Which of the following statements about threads is/are TRUE?
Which of the following process state transitions is/are NOT possible?
Which of the following is/are Bottom-Up Parser(s)?
Let and be two events in a probability space with , and . Which of the following statements is/are TRUE?
Consider the circuit shown below where the gates may have propagation delays. Assume that all signal transitions occur instantaneously and that wires have no delays. Which of the following statements about the circuit is/are CORRECT?
client successfully establishes a connection to server . Let denote the sequence number in the sent from to . Let denote the acknowledgement number in the SYN ACK from to . Which of the following …
Consider a -stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID), Execute (EX), Memory Access (MEM), and Register Writeback (WB) stages. Which of the following statements about forwarding is/are CORRECT?
