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
A hard disk has sectors per track, platters each with recording surfaces and cylinders. The address of a sector is given as a triple , where is the cylinder number, is the surface number and is the sector number. Thus, the 0 sector is addresses as , …
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences and of lengths and , respectively with indexes of and starting from . We wish to find the length of the longest common sub-sequence (LCS) of and as …
Consider the following relational schema: Assume that, in the suppliers relation above, …
Frames of are sent over a bps duplex link between two hosts. The propagation time is . Frames are to be transmitted into this link to maximally pack them in transit (within the link). Let be the minimum number of bits that will be required to represent the sequence numbers distinctly assuming that no time …
Consider a binary max-heap implemented using an array. Which one of the following array represents a binary max-heap?
Consider a binary max-heap implemented using an array. What is the content of the array after two delete operations on
Frames of are sent over a duplex link between two hosts. The propagation time is . Frames are to be transmitted into this link to maximally pack them in transit (within the link). What is the minimum number of bits that will be required to represent the sequence numbers distinctly? Assume …
A sub-sequence of a given sequence is just the given sequence with some elements (possibly none or all) left out. We are given two sequences and of lengths and , respectively with indexes of and starting from . We wish to find the length of the longest common sub-sequence (LCS) of and as …
Consider the following relational schema: Consider the following relational query on the …
Which of the following statements are TRUE? The context diagram should depict the system as a single bubble. External entities should be identified clearly at all levels of DFDs. Control information should not be represented in a DFD. A data store can be connected wither to another data store or to an external entity.
Consider the following statements about the cyclomatic complexity of the control flow graph of a program module. Which of these are TRUE? The cyclomatic complexity of a module is equal to the maximum number of linearly independent circuits in the graph. The cyclomatic complexity of a module is the number of decisions in the module plus one, where a decision …
A hard disk has sectors per track, platters each with recording surfaces and cylinders. The address of a sector is given as a triple , where is the cylinder number, is the surface number and is the sector number. Thus, the 0 sector is addresses as , …
Let be the generator polynomial used for CRC checking. What is the condition that should be satisfied by to detect odd number of bits in error?
In the RSA public key cryptosystem, the private and public keys are and respectively, where and and are large primes. Besides, is public and and are private. Let be an integer such that and . Now consider the following equations. …
While opening a connection, the initial sequence number is to be derived using a time-of-day (ToD) clock that keeps running even when the host is down. The low order bits of the counter of the ToD clock is to be used for the initial sequence numbers. The clock counter increments once per milliseconds. The maximum packet lifetime is given to be …
Consider two transactions and , and four schedules , of and as given below: …
The following key values are inserted into a - tree in which order of the internal nodes is , and that of the leaf nodes is , in the sequence given below. The order of internal nodes is the maximum number of tree pointers in each node, and the order of leaf nodes is the maximum number of data items that can be stored in it. The - …
Let and be relational schemes such that and Now consider the following queries on the database: …
Which of the following statements are TRUE? There exist parsing algorithms for some programming languages whose complexities are less than A programming language which allows recursion can be implemented with static storage allocation. No L-attributed definition can be evaluated in the framework of bottom-up parsing. Code improving …
The above DFA accepts the set of all strings over that
