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
Let be a matrix as given. What are the eigenvalues of the matrix ?
Consider the following four variable Boolean function in sum-of-product form where the value of the function is computed by considering as a -bit binary number, where denotes the most significant bit and denotes the least significant bit. …
Let be an undirected and unweighted graph with vertices. Let denote the number of edges in a shortest path between vertices and in . Let the maximum value of such that , be . Let be any breadth-first-search tree of . Which ONE of the given options is CORRECT …
Consider the following two languages over the alphabet : Which ONE of the following statements is CORRECT?
Consider the following two languages over the alphabet , where and are natural numbers. Which ONE of the following statements is CORRECT?
Which of the following statement(s) is/are TRUE while computing and during top down parsing by a compiler?
Which of the following predicate logic formulae/formula is/are CORRECT representation(s) of the statement: "Everyone has exactly one mother"? The meanings of the predicates used are: mother is the mother of noteq and are not equal
Consider a relational schema team , with functional dependencies . The relation team is decomposed into two relations, and . Which of the following statement(s) is/are TRUE?
is the set of non-negative integers. Let be the set of functions from to itself. For any two functions, , we define for every number in . Which of the following is/are CORRECT about the mathematical structure …
A disk of size bytes is divided into blocks of bytes. A file is stored in the disk using linked allocation. In linked allocation, each data block reserves bytes to store the pointer to the next data block. The link part of the last data block contains a NULL pointer (also of bytes). Suppose a file of …
Consider the following deterministic finite automaton (DFA) defined over the alphabet, . Identify which of the following language(s) is/are accepted by the given DFA.
Refer to the given -address code sequence. This code sequence is split into basic blocks. The number of basic blocks is ________. (Answer in integer) 1001: i = 1 1002: j = 1 1003: t1 = 10*i 1004: t2 = t1+j 1005: t3 = 8*t2 1006: t4 = t3-88 1007: a[t4] = 0.0 1008: j = j+1 1009: if j <= 10 goto 1003 1010: i = i+1 1011: if i <= 10 goto 1002 1012: i = …
A computer has a memory hierarchy consisting of two-level cache and and a main memory. If the processor needs to access data from memory, it first looks into cache. If the data is not found in cache, it goes to cache. If it fails to get the data from cache, it goes to main …
In optimal page replacement algorithm, information about all future page references is available to the operating system (OS). A modification of the optimal page replacement algorithm is as follows: The OS correctly predicts only up to next page references (including the current page) at the time of allocating a frame to a page. A process accesses the …
Consider the following database tables of a sports league. player (pid, pname, age) team(tid, tname, city, cid) coach (cid, cname) members (pid,tid) An instance of the table and an SQL query are given. …
Suppose a -bit message is transmitted from a source to a destination through a noisy channel. The probability that a bit of the message gets flipped during transmission is . Flipping of each bit is independent of one another. The probability that the message is delivered error-free to the destination is ___________ (rounded off to three decimal …
Suppose a message of size bytes is transmitted from a source to a destination using IPv4 protocol via two routers as shown in the figure. Each router has a defined maximum transmission unit (MTU) as shown in the figure, including IP header. The number of fragments that will be delivered to the destination is _________. (Answer in integer)
Consider a probability distribution given by the density function . The probability that lies between and , i.e., is _________. (rounded off to three decimal …
Consider a finite state machine (FSM) with one input and one output , represented by the given state transition table. The minimum number of states required to realize this FSM is _______. (Answer in integer). …
Consider the given sequential circuit designed using D-Flip-flops. The circuit is initialized with some value (initial state). The number of distinct states the circuit will go through before returning back to the initial state is ___________. (Answer in integer)
