Q1
It is fascinating to see life forms varied environmental conditions.
Show answer without attempting
Answer: B
GATE CS · 1 March 2014 · Slot 2 · 65 questions
Every question from the GATE CS 2014 CS-1 paper held on 1 March 2014, in the order it was printed, with the official answer key. Pick an option, or type the number for numerical-answer questions, and it is marked straight away with GATE marking: 1 or 2 marks, −⅓ or −⅔ for a wrong MCQ, no negative marks for MSQ and NAT.
Answer: B
Answer: C
Answer: C
Answer: 96
Answer: D
Answer: C
Answer: B
Answer: 850

Answer: 48
Answer: 6
Answer: D
Answer: 0.24 to 0.27
Answer: B
Answer: 1
Answer: 0
Answer: C
Answer: A
Answer: 5
Answer: 16383
#include <stdio.h>
main()
{
int i;
int *pi = &i;
scanf("%d",pi);
printf("%d\n", i+5);
}Answer: D
Answer: C
Answer: 1

Answer: C
Answer: C
Answer: C

Answer: A
Answer: D
Answer: B
Answer: 3
Answer: D
Answer: B
CREATE TABLE S (
a INTEGER,
d INTEGER,
e INTEGER,
PRIMARY KEY (d),
FOREIGN KEY (a) references R
)Answer: D
Answer: D
Answer: C
Answer: A
Answer: 28 to 30
Answer: 1100 to 1300
Answer: 5
Answer: D
Answer: A
| Allocation X | Allocation Y | Allocation Z | Max X | Max Y | Max Z | |
|---|---|---|---|---|---|---|
| P0 | 0 | 0 | 1 | 8 | 4 | 3 |
| P1 | 3 | 2 | 0 | 6 | 2 | 0 |
| P2 | 2 | 1 | 1 | 3 | 3 | 3 |
Answer: B
| Process Name | Arrival Time | Execution Time |
|---|---|---|
| A | 0 | 6 |
| B | 3 | 2 |
| C | 5 | 4 |
| D | 7 | 6 |
| E | 10 | 3 |
Answer: 7.2
Answer: 7
Answer: D
Answer: C

Answer: B
Answer: 12
Answer: D
Answer: 147.1 to 148.1
Answer: A
size is the number of elements in the array E:int MyX(int *E, unsigned int size)
{
int Y = 0;
int Z;
int i, j, k;
for(i = 0; i < size; i++)
Y = Y + E[i];
for(i = 0; i < size; i++)
for(j = i; j < size; j++)
{
Z = 0;
for(k = i; k <= j; k++)
Z = Z + E[k];
if (Z > Y)
Y = Z;
}
return Y;
}MyX is theAnswer: A
D = 2
for i = 1 to n do
for j = i to n do
for k = j + 1 to n do
D = D * 3Answer: C
Answer: 4
Answer: A

Answer: A
Answer: -2
Answer: A
Answer: 10
Answer: 88.9 to 89.1
Answer: 16
Answer: 506
Answer: C
Answer: B
employees(emp-id, first-name, last-name, hire-date, dept-id, salary)
departments(dept-id, dept-name, manager-id, location-id)SQL>SELECT last-name, hire-date
FROM employees
WHERE (dept-id, hire-date) IN
(SELECT dept-id, MAX(hire-date)
FROM employees JOIN departments USING(dept-id)
WHERE location-id = 1700
GROUP BY dept-id);Answer: B
Answer: 1.6
0/650 correct0 marks