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 language and be its complement. Which one of the following is NOT a viable possibility?
A canonical set of items is given below On input symbol the set has
Assume that there are page frames which are initially empty. If the page reference string is the number of page faults using the optimal replacement policy is__________.
Consider the following set of processes that need to be scheduled on a single CPU. All the times are given in milliseconds. …
An operating system uses the Banker's algorithm for deadlock avoidance when managing the allocation of three resource types and to three processes and The table given below presents the current system state. Here, the Allocation matrix shows the current number of resources of each type allocated to each process and the Max …
Given the following two statements: S1: Every table with two single-valued attributes is in and S2: is a minimal cover for the set of functional dependencies . Which one of the following is CORRECT?
Consider the following four schedules due to three transactions (indicated by the subscript) using read and write on a data item x, denoted by and respectively. Which one of them is conflict serializable?
Consider a selective repeat sliding window protocol that uses a frame size of to send data on a link with a one-way latency of . To achieve a link utilization of , the minimum number of bits required to represent the sequence number field is ________.
Let the size of congestion window of a TCP connection be KB when a timeout occurs. The round trip time of the connection is msec and the maximum segment size used is KB. The time taken (in msec) by the TCP connection to get back to KB congestion window is _________.
Consider a token ring network with a length of 2 km having 10 stations including a monitoring station. The propagation speed of the signal is and the token transmission time is ignored. If each station is allowed to hold the token for , the minimum time for which the monitoring station should wait (in ) before assuming …
Identify the correct order in which the following actions take place in an interaction between a web browser and a web server. The web browser requests a webpage using HTTP. The web browser establishes a TCP connection with the web server. The web server sends the requested webpage using HTTP. The web browser resolves the domain name using DNS.
Which of the following are used to generate a message digest by the network security protocols? RSA SHA- DES MD5
Given the following statements: S1: A foreign key declaration can always be replaced by an equivalent check assertion in SQL. S2: Given the table where and together form the primary key, the following is a valid table definition. CREATE TABLE S ( a INTEGER, d INTEGER, e INTEGER, PRIMARY KEY (d), FOREIGN KEY (a) references R) Which …
Consider the following three statements about link state and distance vector routing protocols, for a large network with network nodes and links. [S1]: The computational overhead in link state protocols is higher than in distance vector protocols. [S2]: A distance vector protocol (with split horizon) avoids persistent routing loops, but not …
Consider the relation scheme and the set of functional dependencies on . What is the key for ?
Which one of the following is FALSE?
Suppose a disk has cylinders, numbered from to . At some time the disk arm is at cylinder , and there is a queue of disk access requests for cylinders and . If Shortest-Seek Time First (SSTF) is being used for scheduling the disk access, the request for cylinder is serviced after …
Match the following: 1) Waterfall model a) Specifications can be developed incrementally 2) Evolutionary model b) Requirements compromises are inevitable 3) Component-based software engineering c) Explicit recognition of risk 4) Spiral development d) Inflexible partitioning of the project into stages
Consider the finite automaton in the following figure: What is the set of reachable states for the input string ?
Which one of the following is TRUE?
