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
An algorithm to find the length of the longest monotonically increasing sequence of numbers in an array is given below. Let , denote the length of the longest monotonically increasing sequence starting at index in the array. Initialize . For all such that …
A max-heap is a heap where the value of each parent is greater than or equal to the value of its children. Which of the following is a max-heap?
Consider a hypothetical processor with an instruction of type , which during execution reads a word from memory and stores it in a register . The effective address of the memory location is obtained by the addition of a constant and the contents of register . Which …
What does the following fragment of C program print? char c[] = "GATE2011"; char *p = c; printf("%s", p + p[3] - p[1]);
Let the page fault service time be milliseconds(ms) in a computer with average memory access time being nanoseconds (ns). If one page fault is generated every memory accesses, what is the effective access time for memory?
The lexical analysis for a modern computer language such as Java needs the power of which one of the following machine models in a necessary and sufficient sense?
K4 and Q3 are graphs with the following structures. Which one of the following statements is TRUE in relation to these graphs?
A thread is usually defined as a "light weight process" because an Operating System (OS) maintains smaller data structure for a thread than for a process. In relation to this, which of the following statement is TRUE?
If the difference between the expectation of the square of a random variable and the square of the expectation of the random variable is denoted by , then
The minimum number of flip-flops needed to design a mod-258 counter is
The simplified SOP (Sum of Product) from the Boolean expression is
Consider a relational table with a single record for each registered student with the following attributes: Unique registration number for each registered student Unique identity number, unique at the national level for each citizen Unique account number at the bank. A student can …
A computer handles several interrupt sources of which of the following are relevant for this question. Interrupt from CPU temperature sensor (raises interrupt if CPU temperature is too high) Interrupt from Mouse (raises Interrupt if the mouse is moved or a button is pressed) Interrupt from Keyboard (raises Interrupt if a key is pressed or released) Interrupt …
Which one of the following is NOT desired in a good Software Requirement Specifications (SRS) document?
HTML (HyperText Markup Language) has language element which permit certain actions other than describing the structure of the web document. Which one of the following actions is NOT supported by pure HTML (without any server or client side scripting) pages?
Which of the following pairs have DIFFERENT expressive power?
A company needs to develop a digital signal processing software for one of its newest inventions. The software is expected to have 40000 lines of code. The company needs to determine the effort in person-months needed to develop this software using the basic COCOMO model. The multiplicative factor for this model is given as 2.8 for the software development …
Let the time taken to switch from user mode to kernel mode of execution be while time taken to switch between two user processes be . Which of the following is correct?
A company needs to develop a strategy for software product development for which it has a choice of two programming languages L1 and L2. The number lines of code (LOC) developed using L2 is estimated to be twice of the LOC developed with L1. The product will have to be maintained for five years. Various parameters for the company are given in the table …
Consider the different activities related to email. Send an email from mail client to mail server Download an email from mailbox server to a mail client Checking email in a web browser Which is the application level protocol used in each activity?
