Gate (CS) 2013 Paper with Solution (Set D) | GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Computer Science Engineering (CSE) PDF Download

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


 
 
 
 
 
 
 
SESSION - 4 
 
 
 
 
 
 
 
 
Page 2


 
 
 
 
 
 
 
SESSION - 4 
 
 
 
 
 
 
 
 
2013                                                                                                                           Question Booklet Code                                                                           
 
CS-D 
 
1/20
CS : COMPUTER SCIENCE AND INFORMATION TECHNOLOGY 
 
Duration: Three Hours                                                                                                                          Maximum Marks: 100 
Read the following instructions carefully. 
 
1. Do not open the seal of the Question Booklet until you are asked to do so by the invigilator. 
2. Take out the Optical Response Sheet (ORS) from this Question Booklet without breaking the seal 
and read the instructions printed on the ORS carefully. If you find that either 
a. The Question Booklet Code printed at the right hand top corner of this page does not match with 
the Question Booklet Code at the right hand top corner of the ORS or 
b. The Question Paper Code preceding the Registration number on the ORS is not CS,  
            then exchange the booklet immediately with a new sealed Question Booklet.  
3. On the right hand side of the ORS, using ONLY a black ink ballpoint pen, (i) darken the appropriate 
bubble under each digit of your registration number and (ii) write your registration number, your name 
and name of the examination centre and put your signature at the specified location. 
4. This Question Booklet contains 20 pages including blank pages for rough work. After you are 
permitted to open the seal, check all pages and report discrepancies, if any, to the invigilator.  
5. There are a total of 65 questions carrying 100 marks. All these questions are of objective type. Each 
question has only one correct answer. Questions must be answered on the left hand side of the ORS 
by darkening the appropriate bubble (marked A, B, C, D) using ONLY a black ink ballpoint pen 
against the question number. For each question darken the bubble of the correct answer. More 
than one answer bubbled against a question will be treated as an incorrect response. 
6. Since bubbles darkened by the black ink ballpoint pen cannot be erased, candidates should darken the 
bubbles in the ORS very carefully. 
7. Questions Q.1 – Q.25 carry 1 mark each. Questions Q.26 – Q.55 carry 2 marks each. The 2 marks 
questions include two pairs of common data questions and two pairs of linked answer questions. The 
answer to the second question of the linked answer questions depends on the answer to the first 
question of the pair. If the first question in the linked pair is wrongly answered or is not attempted, 
then the answer to the second question in the pair will not be evaluated. 
8. Questions Q.56 – Q.65 belong to General Aptitude (GA) section and carry a total of 15 marks. 
Questions Q.56 – Q.60 carry 1 mark each, and questions Q.61 – Q.65 carry 2 marks each. 
9. Questions not attempted will result in zero mark and wrong answers will result in NEGATIVE 
marks.  For all 1 mark questions, ? mark will be deducted for each wrong answer. For all 2 marks 
questions, ? mark will be deducted for each wrong answer.  However, in the case of the linked 
answer question pair, there will be negative marks only for wrong answer to the first question and no 
negative marks for wrong answer to the second question.  
10. Calculator is allowed whereas charts, graph sheets or tables are NOT allowed in the examination hall. 
11. Rough work can be done on the Question Booklet itself. Blank pages are provided at the end of the 
Question Booklet for rough work. 
12. Before the start of the examination, write your name and registration number in the space provided 
below using a black ink ballpoint pen. 
 
 
 
 
 
Name 
 
 
Registration Number CS 
       
 
 
D 
Page 3


 
 
 
 
 
 
 
SESSION - 4 
 
 
 
 
 
 
 
 
2013                                                                                                                           Question Booklet Code                                                                           
 
CS-D 
 
1/20
CS : COMPUTER SCIENCE AND INFORMATION TECHNOLOGY 
 
Duration: Three Hours                                                                                                                          Maximum Marks: 100 
Read the following instructions carefully. 
 
1. Do not open the seal of the Question Booklet until you are asked to do so by the invigilator. 
2. Take out the Optical Response Sheet (ORS) from this Question Booklet without breaking the seal 
and read the instructions printed on the ORS carefully. If you find that either 
a. The Question Booklet Code printed at the right hand top corner of this page does not match with 
the Question Booklet Code at the right hand top corner of the ORS or 
b. The Question Paper Code preceding the Registration number on the ORS is not CS,  
            then exchange the booklet immediately with a new sealed Question Booklet.  
3. On the right hand side of the ORS, using ONLY a black ink ballpoint pen, (i) darken the appropriate 
bubble under each digit of your registration number and (ii) write your registration number, your name 
and name of the examination centre and put your signature at the specified location. 
4. This Question Booklet contains 20 pages including blank pages for rough work. After you are 
permitted to open the seal, check all pages and report discrepancies, if any, to the invigilator.  
5. There are a total of 65 questions carrying 100 marks. All these questions are of objective type. Each 
question has only one correct answer. Questions must be answered on the left hand side of the ORS 
by darkening the appropriate bubble (marked A, B, C, D) using ONLY a black ink ballpoint pen 
against the question number. For each question darken the bubble of the correct answer. More 
than one answer bubbled against a question will be treated as an incorrect response. 
6. Since bubbles darkened by the black ink ballpoint pen cannot be erased, candidates should darken the 
bubbles in the ORS very carefully. 
7. Questions Q.1 – Q.25 carry 1 mark each. Questions Q.26 – Q.55 carry 2 marks each. The 2 marks 
questions include two pairs of common data questions and two pairs of linked answer questions. The 
answer to the second question of the linked answer questions depends on the answer to the first 
question of the pair. If the first question in the linked pair is wrongly answered or is not attempted, 
then the answer to the second question in the pair will not be evaluated. 
8. Questions Q.56 – Q.65 belong to General Aptitude (GA) section and carry a total of 15 marks. 
Questions Q.56 – Q.60 carry 1 mark each, and questions Q.61 – Q.65 carry 2 marks each. 
9. Questions not attempted will result in zero mark and wrong answers will result in NEGATIVE 
marks.  For all 1 mark questions, ? mark will be deducted for each wrong answer. For all 2 marks 
questions, ? mark will be deducted for each wrong answer.  However, in the case of the linked 
answer question pair, there will be negative marks only for wrong answer to the first question and no 
negative marks for wrong answer to the second question.  
10. Calculator is allowed whereas charts, graph sheets or tables are NOT allowed in the examination hall. 
11. Rough work can be done on the Question Booklet itself. Blank pages are provided at the end of the 
Question Booklet for rough work. 
12. Before the start of the examination, write your name and registration number in the space provided 
below using a black ink ballpoint pen. 
 
 
 
 
 
Name 
 
 
Registration Number CS 
       
 
 
D 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 2/20
Q.1 to Q.25 carry one mark each. 
 
Q.1 The transport layer protocols used for real time multimedia, file transfer, DNS and email, 
respectively are 
(A) TCP, UDP, UDP and TCP 
(B) UDP, TCP, TCP and UDP 
(C) UDP, TCP, UDP and TCP 
(D) TCP, UDP, TCP and UDP 
 
Q.2 Assume that source S and destination D are connected through two intermediate routers labeled R. 
Determine how many times each packet has to visit the network layer and the data link layer during 
a transmission from S to D.  
 
(A) Network layer – 4 times and Data link layer – 4 times  
(B) Network layer – 4 times and Data link layer – 3 times  
(C) Network layer – 4 times and Data link layer – 6 times  
(D) Network layer – 2 times and Data link layer – 6 times  
 
Q.3 An index is clustered, if 
(A) it is on a set of fields that form a candidate key. 
(B) it is on a set of fields that include the primary key. 
(C) the data records of the file are organized in the same order as the data entries of the index. 
(D) the data records of the file are organized not in the same order as the data entries of the index. 
 
Q.4 Three concurrent processes X, Y, and Z execute three different code segments that access and 
update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores  
a, b and c; process Y executes the P operation on semaphores b, c and d; process Z executes the  
P operation on semaphores c, d, and a before entering the respective code segments. After 
completing the execution of its code segment, each process invokes the V operation (i.e., signal) on 
its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the 
following represents a deadlock-free order of invoking the P operations by the processes?   
(A)  X: P(a)P(b)P(c)      Y: P(b)P(c)P(d)      Z: P(c)P(d)P(a) 
(B)  X: P(b)P(a)P(c)      Y: P(b)P(c)P(d)      Z: P(a)P(c)P(d) 
(C)  X: P(b)P(a)P(c)      Y: P(c)P(b)P(d)      Z: P(a)P(c)P(d) 
(D)  X: P(a)P(b)P(c)     Y: P(c)P(b)P(d)       Z: P(c)P(d)P(a) 
 
Q.5 Which of the following statements is/are FALSE? 
 
1. For every non-deterministic Turing machine, there exists an equivalent deterministic 
Turing machine. 
2. Turing recognizable languages are closed under union and complementation. 
3. Turing decidable languages are closed under intersection and complementation. 
4. Turing recognizable languages are closed under union and intersection. 
(A) 1 and 4 only (B) 1 and 3 only (C)  2 only (D)  3 only 
 
Page 4


 
 
 
 
 
 
 
SESSION - 4 
 
 
 
 
 
 
 
 
2013                                                                                                                           Question Booklet Code                                                                           
 
CS-D 
 
1/20
CS : COMPUTER SCIENCE AND INFORMATION TECHNOLOGY 
 
Duration: Three Hours                                                                                                                          Maximum Marks: 100 
Read the following instructions carefully. 
 
1. Do not open the seal of the Question Booklet until you are asked to do so by the invigilator. 
2. Take out the Optical Response Sheet (ORS) from this Question Booklet without breaking the seal 
and read the instructions printed on the ORS carefully. If you find that either 
a. The Question Booklet Code printed at the right hand top corner of this page does not match with 
the Question Booklet Code at the right hand top corner of the ORS or 
b. The Question Paper Code preceding the Registration number on the ORS is not CS,  
            then exchange the booklet immediately with a new sealed Question Booklet.  
3. On the right hand side of the ORS, using ONLY a black ink ballpoint pen, (i) darken the appropriate 
bubble under each digit of your registration number and (ii) write your registration number, your name 
and name of the examination centre and put your signature at the specified location. 
4. This Question Booklet contains 20 pages including blank pages for rough work. After you are 
permitted to open the seal, check all pages and report discrepancies, if any, to the invigilator.  
5. There are a total of 65 questions carrying 100 marks. All these questions are of objective type. Each 
question has only one correct answer. Questions must be answered on the left hand side of the ORS 
by darkening the appropriate bubble (marked A, B, C, D) using ONLY a black ink ballpoint pen 
against the question number. For each question darken the bubble of the correct answer. More 
than one answer bubbled against a question will be treated as an incorrect response. 
6. Since bubbles darkened by the black ink ballpoint pen cannot be erased, candidates should darken the 
bubbles in the ORS very carefully. 
7. Questions Q.1 – Q.25 carry 1 mark each. Questions Q.26 – Q.55 carry 2 marks each. The 2 marks 
questions include two pairs of common data questions and two pairs of linked answer questions. The 
answer to the second question of the linked answer questions depends on the answer to the first 
question of the pair. If the first question in the linked pair is wrongly answered or is not attempted, 
then the answer to the second question in the pair will not be evaluated. 
8. Questions Q.56 – Q.65 belong to General Aptitude (GA) section and carry a total of 15 marks. 
Questions Q.56 – Q.60 carry 1 mark each, and questions Q.61 – Q.65 carry 2 marks each. 
9. Questions not attempted will result in zero mark and wrong answers will result in NEGATIVE 
marks.  For all 1 mark questions, ? mark will be deducted for each wrong answer. For all 2 marks 
questions, ? mark will be deducted for each wrong answer.  However, in the case of the linked 
answer question pair, there will be negative marks only for wrong answer to the first question and no 
negative marks for wrong answer to the second question.  
10. Calculator is allowed whereas charts, graph sheets or tables are NOT allowed in the examination hall. 
11. Rough work can be done on the Question Booklet itself. Blank pages are provided at the end of the 
Question Booklet for rough work. 
12. Before the start of the examination, write your name and registration number in the space provided 
below using a black ink ballpoint pen. 
 
 
 
 
 
Name 
 
 
Registration Number CS 
       
 
 
D 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 2/20
Q.1 to Q.25 carry one mark each. 
 
Q.1 The transport layer protocols used for real time multimedia, file transfer, DNS and email, 
respectively are 
(A) TCP, UDP, UDP and TCP 
(B) UDP, TCP, TCP and UDP 
(C) UDP, TCP, UDP and TCP 
(D) TCP, UDP, TCP and UDP 
 
Q.2 Assume that source S and destination D are connected through two intermediate routers labeled R. 
Determine how many times each packet has to visit the network layer and the data link layer during 
a transmission from S to D.  
 
(A) Network layer – 4 times and Data link layer – 4 times  
(B) Network layer – 4 times and Data link layer – 3 times  
(C) Network layer – 4 times and Data link layer – 6 times  
(D) Network layer – 2 times and Data link layer – 6 times  
 
Q.3 An index is clustered, if 
(A) it is on a set of fields that form a candidate key. 
(B) it is on a set of fields that include the primary key. 
(C) the data records of the file are organized in the same order as the data entries of the index. 
(D) the data records of the file are organized not in the same order as the data entries of the index. 
 
Q.4 Three concurrent processes X, Y, and Z execute three different code segments that access and 
update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores  
a, b and c; process Y executes the P operation on semaphores b, c and d; process Z executes the  
P operation on semaphores c, d, and a before entering the respective code segments. After 
completing the execution of its code segment, each process invokes the V operation (i.e., signal) on 
its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the 
following represents a deadlock-free order of invoking the P operations by the processes?   
(A)  X: P(a)P(b)P(c)      Y: P(b)P(c)P(d)      Z: P(c)P(d)P(a) 
(B)  X: P(b)P(a)P(c)      Y: P(b)P(c)P(d)      Z: P(a)P(c)P(d) 
(C)  X: P(b)P(a)P(c)      Y: P(c)P(b)P(d)      Z: P(a)P(c)P(d) 
(D)  X: P(a)P(b)P(c)     Y: P(c)P(b)P(d)       Z: P(c)P(d)P(a) 
 
Q.5 Which of the following statements is/are FALSE? 
 
1. For every non-deterministic Turing machine, there exists an equivalent deterministic 
Turing machine. 
2. Turing recognizable languages are closed under union and complementation. 
3. Turing decidable languages are closed under intersection and complementation. 
4. Turing recognizable languages are closed under union and intersection. 
(A) 1 and 4 only (B) 1 and 3 only (C)  2 only (D)  3 only 
 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 3/20
Q.6 
Which of the following statements are TRUE?     
1. The problem of determining whether there exists a cycle in an undirected graph is in P.     
2. The problem of determining whether there exists a cycle in an undirected graph is in NP. 
3. If a problem A is NP-Complete, there exists a non-deterministic polynomial time algorithm 
 to solve A. 
(A) 1, 2 and 3 (B) 1 and 2 only (C)  2 and 3 only (D) 1 and 3 only 
 
Q.7 What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete 
graph of n vertices? 
(A) T(n
2
) (B) T(n
2
log n) (C) T(n
3
) (D) T(n
3
log n) 
 
Q.8 In a k-way set associative cache, the cache is divided into v sets, each of which consists of k lines. 
The lines of a set are placed in sequence one after another. The lines in set s are sequenced before 
the lines in set (s+1). The main memory blocks are numbered 0 onwards. The main memory block 
numbered j must be mapped to any one of the cache lines from 
(A) (j mod v) * k  to  (j mod v) * k + (k-1) (B) (j mod v)  to  (j mod v) + (k-1) 
(C) (j mod k) to (j mod k) + (v-1) (D) (j mod k) * v to (j mod k) * v + (v-1) 
 
Q.9 Which one of the following expressions does NOT represent exclusive NOR of x and y?  
(A) y x xy ' ' + (B) y x ' ? (C)  y x ? ' (D)  y x ' ? ' 
 
Q.10 Which one of the following functions is continuous at x = 3? 
(A)  ( )
?
?
?
?
?
?
?
<
+
> - =
=
3 if ,
3
3
3 if , 1
3 if , 2
x
x
x x
x
x f  
 
(B) ( )
?
?
?
? - =
=
3 if 8
3 if , 4
x x
x
x f 
 
 
(C)  ( )
?
?
?
> - = +
=
3 if 4
3 if , 3
x x
x x
x f (D)  ( ) 3 if ,
27
1
3
?
- = x
x
x f 
 
Q.11 Function f  is known at the following points: 
 
x 0 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7 3.0 
f(x) 0 0.09 0.36 0.81 1.44 2.25 3.24 4.41 5.76 7.29 9.00 
The value of  ( )
?
3
0
dx x f  computed using the trapezoidal rule is   
(A)  8.983 (B) 9.003 (C) 9.017 (D) 9.045 
 
Q.12 Which of the following statements is/are TRUE for undirected graphs? 
P: Number of odd degree vertices is even. 
Q: Sum of degrees of all vertices is even. 
(A) P only (B) Q only (C) Both P and Q (D) Neither P nor Q 
 
Q.13 Consider an undirected random graph of eight vertices. The probability that there is an edge 
between a pair of vertices is 1/2. What is the expected number of unordered cycles of length three? 
(A) 1/8 (B) 1 (C)  7 (D)  8 
 
Page 5


 
 
 
 
 
 
 
SESSION - 4 
 
 
 
 
 
 
 
 
2013                                                                                                                           Question Booklet Code                                                                           
 
CS-D 
 
1/20
CS : COMPUTER SCIENCE AND INFORMATION TECHNOLOGY 
 
Duration: Three Hours                                                                                                                          Maximum Marks: 100 
Read the following instructions carefully. 
 
1. Do not open the seal of the Question Booklet until you are asked to do so by the invigilator. 
2. Take out the Optical Response Sheet (ORS) from this Question Booklet without breaking the seal 
and read the instructions printed on the ORS carefully. If you find that either 
a. The Question Booklet Code printed at the right hand top corner of this page does not match with 
the Question Booklet Code at the right hand top corner of the ORS or 
b. The Question Paper Code preceding the Registration number on the ORS is not CS,  
            then exchange the booklet immediately with a new sealed Question Booklet.  
3. On the right hand side of the ORS, using ONLY a black ink ballpoint pen, (i) darken the appropriate 
bubble under each digit of your registration number and (ii) write your registration number, your name 
and name of the examination centre and put your signature at the specified location. 
4. This Question Booklet contains 20 pages including blank pages for rough work. After you are 
permitted to open the seal, check all pages and report discrepancies, if any, to the invigilator.  
5. There are a total of 65 questions carrying 100 marks. All these questions are of objective type. Each 
question has only one correct answer. Questions must be answered on the left hand side of the ORS 
by darkening the appropriate bubble (marked A, B, C, D) using ONLY a black ink ballpoint pen 
against the question number. For each question darken the bubble of the correct answer. More 
than one answer bubbled against a question will be treated as an incorrect response. 
6. Since bubbles darkened by the black ink ballpoint pen cannot be erased, candidates should darken the 
bubbles in the ORS very carefully. 
7. Questions Q.1 – Q.25 carry 1 mark each. Questions Q.26 – Q.55 carry 2 marks each. The 2 marks 
questions include two pairs of common data questions and two pairs of linked answer questions. The 
answer to the second question of the linked answer questions depends on the answer to the first 
question of the pair. If the first question in the linked pair is wrongly answered or is not attempted, 
then the answer to the second question in the pair will not be evaluated. 
8. Questions Q.56 – Q.65 belong to General Aptitude (GA) section and carry a total of 15 marks. 
Questions Q.56 – Q.60 carry 1 mark each, and questions Q.61 – Q.65 carry 2 marks each. 
9. Questions not attempted will result in zero mark and wrong answers will result in NEGATIVE 
marks.  For all 1 mark questions, ? mark will be deducted for each wrong answer. For all 2 marks 
questions, ? mark will be deducted for each wrong answer.  However, in the case of the linked 
answer question pair, there will be negative marks only for wrong answer to the first question and no 
negative marks for wrong answer to the second question.  
10. Calculator is allowed whereas charts, graph sheets or tables are NOT allowed in the examination hall. 
11. Rough work can be done on the Question Booklet itself. Blank pages are provided at the end of the 
Question Booklet for rough work. 
12. Before the start of the examination, write your name and registration number in the space provided 
below using a black ink ballpoint pen. 
 
 
 
 
 
Name 
 
 
Registration Number CS 
       
 
 
D 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 2/20
Q.1 to Q.25 carry one mark each. 
 
Q.1 The transport layer protocols used for real time multimedia, file transfer, DNS and email, 
respectively are 
(A) TCP, UDP, UDP and TCP 
(B) UDP, TCP, TCP and UDP 
(C) UDP, TCP, UDP and TCP 
(D) TCP, UDP, TCP and UDP 
 
Q.2 Assume that source S and destination D are connected through two intermediate routers labeled R. 
Determine how many times each packet has to visit the network layer and the data link layer during 
a transmission from S to D.  
 
(A) Network layer – 4 times and Data link layer – 4 times  
(B) Network layer – 4 times and Data link layer – 3 times  
(C) Network layer – 4 times and Data link layer – 6 times  
(D) Network layer – 2 times and Data link layer – 6 times  
 
Q.3 An index is clustered, if 
(A) it is on a set of fields that form a candidate key. 
(B) it is on a set of fields that include the primary key. 
(C) the data records of the file are organized in the same order as the data entries of the index. 
(D) the data records of the file are organized not in the same order as the data entries of the index. 
 
Q.4 Three concurrent processes X, Y, and Z execute three different code segments that access and 
update certain shared variables. Process X executes the P operation (i.e., wait) on semaphores  
a, b and c; process Y executes the P operation on semaphores b, c and d; process Z executes the  
P operation on semaphores c, d, and a before entering the respective code segments. After 
completing the execution of its code segment, each process invokes the V operation (i.e., signal) on 
its three semaphores. All semaphores are binary semaphores initialized to one. Which one of the 
following represents a deadlock-free order of invoking the P operations by the processes?   
(A)  X: P(a)P(b)P(c)      Y: P(b)P(c)P(d)      Z: P(c)P(d)P(a) 
(B)  X: P(b)P(a)P(c)      Y: P(b)P(c)P(d)      Z: P(a)P(c)P(d) 
(C)  X: P(b)P(a)P(c)      Y: P(c)P(b)P(d)      Z: P(a)P(c)P(d) 
(D)  X: P(a)P(b)P(c)     Y: P(c)P(b)P(d)       Z: P(c)P(d)P(a) 
 
Q.5 Which of the following statements is/are FALSE? 
 
1. For every non-deterministic Turing machine, there exists an equivalent deterministic 
Turing machine. 
2. Turing recognizable languages are closed under union and complementation. 
3. Turing decidable languages are closed under intersection and complementation. 
4. Turing recognizable languages are closed under union and intersection. 
(A) 1 and 4 only (B) 1 and 3 only (C)  2 only (D)  3 only 
 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 3/20
Q.6 
Which of the following statements are TRUE?     
1. The problem of determining whether there exists a cycle in an undirected graph is in P.     
2. The problem of determining whether there exists a cycle in an undirected graph is in NP. 
3. If a problem A is NP-Complete, there exists a non-deterministic polynomial time algorithm 
 to solve A. 
(A) 1, 2 and 3 (B) 1 and 2 only (C)  2 and 3 only (D) 1 and 3 only 
 
Q.7 What is the time complexity of Bellman-Ford single-source shortest path algorithm on a complete 
graph of n vertices? 
(A) T(n
2
) (B) T(n
2
log n) (C) T(n
3
) (D) T(n
3
log n) 
 
Q.8 In a k-way set associative cache, the cache is divided into v sets, each of which consists of k lines. 
The lines of a set are placed in sequence one after another. The lines in set s are sequenced before 
the lines in set (s+1). The main memory blocks are numbered 0 onwards. The main memory block 
numbered j must be mapped to any one of the cache lines from 
(A) (j mod v) * k  to  (j mod v) * k + (k-1) (B) (j mod v)  to  (j mod v) + (k-1) 
(C) (j mod k) to (j mod k) + (v-1) (D) (j mod k) * v to (j mod k) * v + (v-1) 
 
Q.9 Which one of the following expressions does NOT represent exclusive NOR of x and y?  
(A) y x xy ' ' + (B) y x ' ? (C)  y x ? ' (D)  y x ' ? ' 
 
Q.10 Which one of the following functions is continuous at x = 3? 
(A)  ( )
?
?
?
?
?
?
?
<
+
> - =
=
3 if ,
3
3
3 if , 1
3 if , 2
x
x
x x
x
x f  
 
(B) ( )
?
?
?
? - =
=
3 if 8
3 if , 4
x x
x
x f 
 
 
(C)  ( )
?
?
?
> - = +
=
3 if 4
3 if , 3
x x
x x
x f (D)  ( ) 3 if ,
27
1
3
?
- = x
x
x f 
 
Q.11 Function f  is known at the following points: 
 
x 0 0.3 0.6 0.9 1.2 1.5 1.8 2.1 2.4 2.7 3.0 
f(x) 0 0.09 0.36 0.81 1.44 2.25 3.24 4.41 5.76 7.29 9.00 
The value of  ( )
?
3
0
dx x f  computed using the trapezoidal rule is   
(A)  8.983 (B) 9.003 (C) 9.017 (D) 9.045 
 
Q.12 Which of the following statements is/are TRUE for undirected graphs? 
P: Number of odd degree vertices is even. 
Q: Sum of degrees of all vertices is even. 
(A) P only (B) Q only (C) Both P and Q (D) Neither P nor Q 
 
Q.13 Consider an undirected random graph of eight vertices. The probability that there is an edge 
between a pair of vertices is 1/2. What is the expected number of unordered cycles of length three? 
(A) 1/8 (B) 1 (C)  7 (D)  8 
 
2013                                                                                                         COMPUTER SCIENCE & INFORMATION TECH.  -  CS                                                                                            
  
CS- D 4/20
Q.14 A binary operation ? on a set of integers is defined as 
2 2
y x y x + = ? . Which one of the following 
statements is TRUE about ??  
(A) Commutative but not associative (B) Both commutative and associative 
(C) Associative but not commutative (D) Neither commutative nor associative 
 
Q.15 Suppose p is the number of cars per minute passing through a certain road junction between 5 PM 
and 6 PM, and p has a Poisson distribution with mean 3. What is the probability of observing fewer 
than 3 cars during any given minute in this interval? 
(A) 8/(2e
3
) (B) 9/(2e
3
) (C)  17/(2e
3
) (D)  26/(2e
3
) 
 
Q.16 
Which one of the following does NOT equal 
2
2
2
1
1
1
z z
y y
x x
? 
(A) 
( )
( )
( ) 1 1 1
1 1 1
1 1 1
+ +
+ +
+ +
z z z
y y y
x x x
 
 
(B) 
1 1 1
1 1 1
1 1 1
2
2
2
+ +
+ +
+ +
z z
y y
x x
 
(C) 
2
1
0
0
2 2
2 2
z z
z y z y
y x y x
- - - - (D) 
2
2 2
2 2
1
2
2
z z
z y z y
y x y x
+ +
+ +
 
 
Q.17 The smallest integer that can be represented by an 8-bit number in 2’s complement form is  
(A) -256 (B) -128 (C) -127 (D) 0   
 
Q.18 In the following truth table, V = 1 if and only if the input is valid.  
 
Inputs Outputs 
D
0
 D
1
 D
2
 D
3
 X
0 
X
1 
V 
0 0 0 0 x x 0 
1 0 0 0 0 0 1 
x 1 0 0 0 1 1 
x x 1 0 1 0 1 
x x x 1 1 1 1 
What function does the truth table represent?  
(A) Priority encoder (B) Decoder 
(C) Multiplexer (D) Demultiplexer 
 
Q.19 Which one of the following is the tightest upper bound that represents the number of swaps 
required to sort n numbers using selection sort? 
(A) O(log n) (B) O(n) (C) O(n log n)
 
(D)  O(n
2
) 
 
Q.20 Which one of the following is the tightest upper bound that represents the time complexity of 
inserting an object into a binary search tree of n nodes?  
(A) O(1) (B) O(log n) (C) O(n) (D) O(n log n)  
Read More
55 docs|215 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Gate (CS) 2013 Paper with Solution (Set D) - GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Computer Science Engineering (CSE)

1. What is the Gate (CS) 2013 Paper?
Ans. The Gate (CS) 2013 Paper refers to the Computer Science paper conducted in the Graduate Aptitude Test in Engineering (GATE) exam in the year 2013. It is a national-level entrance exam for postgraduate programs in engineering and technology.
2. How can I access the Gate (CS) 2013 Paper with Solution (Set D)?
Ans. You can find the Gate (CS) 2013 Paper with Solution (Set D) on various online platforms or educational websites that provide previous year question papers and their solutions. You can search for it using keywords like "Gate (CS) 2013 Paper Set D solution" or visit official GATE websites for access.
3. Is it important to solve previous year question papers like Gate (CS) 2013 for exam preparation?
Ans. Yes, solving previous year question papers like Gate (CS) 2013 can be extremely helpful for exam preparation. It gives you an idea about the exam pattern, types of questions asked, and helps in understanding the level of difficulty. It also allows you to practice time management and identify your weak areas for improvement.
4. Are the solutions provided in the Gate (CS) 2013 Paper with Solution (Set D) accurate and reliable?
Ans. The solutions provided in the Gate (CS) 2013 Paper with Solution (Set D) are usually prepared by subject matter experts or experienced professionals. They are expected to be accurate and reliable. However, it is always advisable to cross-verify the solutions with trusted sources or consult with mentors or teachers if any doubts arise.
5. Can Gate (CS) 2013 Paper with Solution (Set D) help in understanding the exam pattern for future GATE exams?
Ans. Yes, Gate (CS) 2013 Paper with Solution (Set D) can help in understanding the exam pattern for future GATE exams. Although the specific questions may vary, analyzing the previous year's papers can provide insights into the distribution of topics, question formats, and the overall difficulty level. It can aid in formulating an effective study strategy and familiarize you with the exam structure.
55 docs|215 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Extra Questions

,

Free

,

Gate (CS) 2013 Paper with Solution (Set D) | GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Computer Science Engineering (CSE)

,

ppt

,

past year papers

,

Semester Notes

,

Gate (CS) 2013 Paper with Solution (Set D) | GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Computer Science Engineering (CSE)

,

Objective type Questions

,

practice quizzes

,

mock tests for examination

,

Important questions

,

Sample Paper

,

shortcuts and tricks

,

MCQs

,

Gate (CS) 2013 Paper with Solution (Set D) | GATE Computer Science Engineering(CSE) 2025 Mock Test Series - Computer Science Engineering (CSE)

,

video lectures

,

study material

,

Summary

,

Previous Year Questions with Solutions

,

Viva Questions

,

Exam

,

pdf

;