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
Database table by name is given below. …
A deterministic finite automaton () with alphabet is given below. Which of the following finite state machines is a valid minimal which accepts the same languages as ?
An application loads libraries at startup. Loading each library requires exactly one disk access. The seek time of the disk to a random location is given as ms. Rotational speed of disk is rpm. If all libraries are loaded from random locations on the disk, how long does it take to load all libraries? (The time to transfer data …
An direct-mapped write-back cache is organized as multiple blocks, each size of . The processor generates addresses. The cache controller contains the tag information for each cache block comprising of the following. valid bit modified bit As many bits as the minimum needed to identify the …
Definition of a language with alphabet is given as following.What is the minimum number of states needed in a DFA to recognize ?
Consider the matrix as given below. Which one of the following options provides the CORRECT values of the eigenvalues of the matrix?
Consider an instruction pipeline with four stages each with combinational circuit only. The pipeline registers are required between each stage and at the end of the last stage. Delays for the stages and for the pipeline registers are as given in the figure. What is the approximate speed up of the pipeline in steady state under …
Consider a relational table with sufficient number of records, having attributes and let . Two queries and are given below. where is a constant …
Four Matrices and of dimensions and respectively can be multiplied in several ways with different number of total scalar multiplications. For example when multiplied as , the total number of scalar multiplications is …
Which of the given options provides the increasing order of asymptotic complexity of functions and ?
Consider evaluating the following expression tree on a machine with load-store architecture in which memory can be accessed only through load and store instructions. The variables and are initially stored in memory. The binary operators used in this expression tree can be evaluated by the machine only when operands are in registers. The …
A deck of cards (each carrying a distinct number from to ) is shuffled thoroughly. Two cards are then removed one at a time from the deck. What is the probability that the two cards are selected with the number on the first card being one higher than the number on the second card?
Consider a finite sequence of random values . Let be the mean and be the standard deviation of . Let another finite sequence of equal length be derived from this as , where and are positive constants. Let be the mean and be the standard deviation of …
Consider a database table T containing two columns and each of type . After the creation of the table, one record is inserted in the table. Let and denote the respective maximum values of and among all records in the table at any point in …
We are given a set of distinct elements and an unlabeled binary tree with nodes. In how many ways can we populate the tree with the given set so that it becomes a binary search tree?
Which one of the following options is CORRECT given three positive integers and , and a predicate
Given , what will be the evaluation of the definite integral ?
On a non-pipelined sequential processor, a program segment, which is the part of the interrupt service routine, is given to transfer bytes from an I/O device to memory. Initialize the address register Initialize the count to 500 LOOP: Load a byte from device Store in memory at address given by address register Increment the address register Decrement …
Consider two binary operators and with the precedence of operator being lower than that of the operator . Operator is right associative while operator is left associative. Which one of the following represents the parse tree for expression …
Consider the languages as given below. Which of the following statements is NOT TRUE?
