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
For a set , the power set of is denoted by . If , which of the following options are TRUE?
The binary operator is defined by the following truth table. …
Suppose the following disk request sequence (track numbers) for a disk with tracks is given: Assume that the initial position of the R/W head is on track . The additional distance that will be traversed by the R/W head when the Shortest Seek Time First (SSTF) algorithm is used compared to the SCAN …
Consider the following relation: …
The height of a tree is the length of the longest root-to-leaf path in it. The maximum and minimum number of nodes in a binary tree of height are
What are the worst-case complexities of insertion and deletion of a key in a binary search tree?
A file is organized so that the ordering of the data records is the same as or close to the ordering of data entries in some index. Then that index is called
Which of the following fields of an IP header is NOT modified by a typical IP router?
Consider a -bit Johnson counter with an initial value of The counting sequence of this counter is
Suppose two hosts use a TCP connection to transfer a large file. Which of the following statements is/are FALSE with respect to the TCP connection? If the sequence number of a segment is then the sequence number of the subsequent segment is always If the estimated round trip time at any given point of time is sec, the value of the …
In one of the pairs of protocols given below , both the protocols can use multiple connections between the same client and the server. Which one is that?
Which of the following statement is/are FALSE? XML overcomes the limitations in HTML to support a structured way of organizing content. XML specification is not case sensitive while HTML specification is case sensitive. XML supports user defined tags while HTML uses pre-defined tags. XML tags need not be closed while HTML tags must be closed.
Which one of the following is NOT equivalent to ?
Which one of the following is TRUE at any valid state in shift-reduce parsing?
Consider a system with byte-addressable memory, logical addresses, page size and page table entries of each. The size of the page table in the system in is___________.
The output of the following C program is_____________. void f1 ( int a, int b) { int c; c = a; a = b; b = c; } void f2 ( int * a, int * b) { int c; c = * a; *a = *b; *b = c; } int main () { int a = 4, b = 5, c = 6; f1 ( a, b); f2 (&b, &c); printf ("%d", c - a - b); }
Which of the following is/are correct in order traversal sequence(s) of binary search tree(s)?
The following two functions and that share a variable with an initial value of execute concurrently. The number of …
For computer based on three-address instruction formats, each address field can be used to specify which of the following: (S1) A memory operand (S2) A processor register (S3) An implied accumulator register
SELECT operation in SQL is equivalent to
