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
Consider the following statements regarding the front-end and back-end of a compiler. S1: The front-end includes phases that are independent of the target hardware. S2: The back-end includes phases that are specific to the target hardware. S3: The back-end includes phases that are specific to the programming language used in the source code. Identify the …
Which one of the following sequences when stored in an array at locations forms a max-heap?
Let be a function that deletes a node in a singly-linked list given a pointer to the node and a pointer to the head of the list. Similarly, let be another function that deletes a node in a doubly-linked list given a pointer to the node and a pointer to the head of the list. Let denote the number of nodes in each …
Consider the Deterministic Finite-state Automaton () shown below. The runs on the alphabet , and has the set of states , with being the start state and being the only final state. Which one of the following regular expressions correctly describes the language accepted by …
The Lucas sequence is defined by the recurrence relation: with and . Which one of the options given is TRUE?
Which one of the options given below refers to the degree (or arity) of a relation in relational database systems?
Suppose two hosts are connected by a point-to-point link and they are configured to use protocol for reliable data transfer. Identify in which one of the following scenarios, the utilization of the link is the lowest.
Let and Let …
Consider the following definition of a lexical token for an identifier in a programming language, using extended regular expressions: …
An algorithm has to store several keys generated by an adversary in a hash table. The adversary is malicious who tries to maximize the number of collisions. Let be the number of keys, be the number of slots in the hash table, and . Which one of the following is the best hashing strategy to counteract the adversary?
The output of a -input multiplexer is connected back to one of its inputs as shown in the figure. Match the functional equivalence of this circuit to one of the following options.
Which one or more of the following need to be saved on a context switch from one thread of a process to another thread of the same process?
Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?
Which of the following statements is/are
Which of the following statements is/are about the routing protocol used in the Internet?
Geetha has a conjecture about integers, which is of the form where is a statement about integers, and is a statement about pairs of integers. Which of the following (one or more) option(s) would imply Geetha's conjecture?
Which one or more of the following scheduling algorithms can potentially cause starvation?
Let be a real-valued function. Which of the following statements is/are
Let and be functions of natural numbers given by and Which of the following statements is/are
Let be the adjacency matrix of the graph with vertices Let , and be the five eigenvalues of . Note that these eigenvalues need not be distinct. The value of ____________
