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
Given , what will be the evaluation of the definite integral ?
On a non-pipelined sequential processor, a program segment, which is the part of the interrupt service routine, is given to transfer bytes from an I/O device to memory. Initialize the address register Initialize the count to 500 LOOP: Load a byte from device Store in memory at address given by address register Increment the address register Decrement …
Consider two binary operators and with the precedence of operator being lower than that of the operator . Operator is right associative while operator is left associative. Which one of the following represents the parse tree for expression …
Consider the languages as given below. Which of the following statements is NOT TRUE?
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?
