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 numbers represented in 4-bit Gray code. Let be the Gray code representation of a number and let be the Gray code of value of the number. Which one of the following functions is correct?
We consider the addition of two complement numbers and . A binary adder for adding unsigned binary numbers is used to add the two numbers. The sum is denoted by and the carry-out by . Which one of the following options correctly identifies the overflow …
Consider a Boolean function . Suppose that exactly one of its inputs is allowed to change at a time. If the function happens to be true for two input vectors and , we would like the function to remain true as the input …
Consider the circuit in the diagram. The operator represents Ex-OR. The D flip-flops are initialized to zeroes (cleared). The following data: is supplied to the “data” terminal in nine clock cycles. After that the values of are:
Given two three bit numbers and and the carry in, the function that represents the carry generate function when these two numbers are added is:
Consider the circuit above. Which one of the following options correctly represents
Consider the regular language The minimum number of states in any DFA accepting this languages is:
Let be a regular language, be a deterministic context-free language and a recursively enumerable, but not recursive, language. Which one of the following statements is false?
Consider the following statements about the context free grammar is ambiguous produces all strings with equal number of ’s and ’s can be accepted by a deterministic PDA. Which combination below expresses all the true statements …
Let SHAM be the problem of finding a Hamiltonian cycle in a graph with divisible by and DHAM be the problem of determining if a Hamiltonian cycle exists in such graphs. Which one of the following is true?
For let denote the decimal value of e.g. Let Which one of the following statements is true?
If is a string over then let denote the number of ’s in and the number of ’s in . Which one of the following languages is not regular?
A logical binary relation , is defined as follows: …
Consider the following propositional statements: Which one of the following is true?
Which one of the first order predicate calculus statements given below correctly expresses the following English statement? Tigers and lions attack if they are hungry or threatened.
Let Let be subsets of each of size Define a function from to the set of natural numbers as, is the number of sets that contain the element That is then is:
Given a set of elements and two arbitrary subsets and , how many of the n! permutations from to satisfy , where is the smallest integer in the set of integers , and (S) is the set of integers obtained by applying permutation to each …
is an real matrix. is an real vector. Suppose there are two vectors, and such that, and . Which one of the following statements is false?
Let and be finite sets. Let and . Which one of the following is true?
For each element in a set of size , an unbiased coin is tossed. The coin tosses are independent. An element is chosen if the corresponding coin toss was a head. The probability that exactly elements are chosen is
