## GATE | GATE-CS-2017 (Set 1) | Question 65

Instruction execution in a processor is divided into 5 stages. Instruction Fetch(IF), Instruction Decode (ID), Operand Fetch(OF), Execute(EX), and Write Back(WB), These stages take 5,4,20,… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 64

The output of executing the following C program is ________. # include int total(int v) { static int count = 0; while (v) { count… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 63

Recall that Belady’s anomaly is that the pages-fault rate may increase as the number of allocated frames increases. Now consider the following statements: S1: Random… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 62

Let A and B be infinite alphabets and let # be a symbol outside both A and B. Let f be a total functional from… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 61

Let u and v be two vectors in R2 whose Euclidean norms satisfy |u| = 2|v|. What is the value α such that w =… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 60

Consider a combination of T and D flip-flops connected as shown below. The output of the D flipflop is connected to the input of the… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 59

Consider a database that has the relation schema CR(StudentName, CourseName). An instance of the schema CR is as given below. The following query is made… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 58

The number of integers between 1 and 500 (both inclusive) that are divisible by 3 or 5 or 7 is ______. Note: This questions appeared… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 57

Let A be an array of 31 numbers consisting of a sequence of 0’s followed by a sequence of 1’s. The problem is to find… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 56

A cache memory unit with capacity of N words and block size of B words is to be designed. If it is designed as direct… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 55

Consider the following C program. #include <stdio.h> #include <string.h> void printlength (char *s, char *t) { unsigned int c = 0; int len = ((strlen… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 54

A multithreaded program P executes with x number of threads and uses y number of locks for ensuring mutual exclusion while operating on shared memory… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 53

Consider the following grammar: stmt -> if expr then else expr; stmt | ε expr -> term relop term | term term -> id |… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 52

Consider the following languages over the alphabet ∑= {a,b,c}. Let L1 = {an bncm | m, n >= 0 } and L2 = {ambncn| m,… Read More »

## GATE | GATE-CS-2017 (Set 1) | Question 51

A computer network uses polynomial over GF(2) for error checking with 8 bits as information bits and uses x3 + x + 1 as the… Read More »