1

GATE CSE 2012

MCQ (Single Correct Answer)

+1

-0.3

Let $$A$$ be the $$2 \times 2$$ matrix with elements $${a_{11}} = {a_{12}} = {a_{21}} = + 1$$ and $${a_{22}} = - 1$$. Then the eigen values of the matrix $${A^{19}}$$ are

2

GATE CSE 2012

MCQ (Single Correct Answer)

+1

-0.3

A process executes the code

fork $$\left( {\,\,\,} \right);$$

fork $$\left( {\,\,\,} \right);$$

fork $$\left( {\,\,\,} \right);$$

The total number of

fork $$\left( {\,\,\,} \right);$$

fork $$\left( {\,\,\,} \right);$$

fork $$\left( {\,\,\,} \right);$$

The total number of

**child**processes created is3

GATE CSE 2012

MCQ (Single Correct Answer)

+2

-0.6

Consider the $$3$$ processes, $$P1,$$ $$P2$$ and $$P3$$ shown in the table.

Process | Arrival Time | Time Units Required |
---|---|---|

P1 | 0 | 5 |

P2 | 1 | 7 |

P3 | 3 | 4 |

The completion order of the $$3$$ processes under the policies $$FCFS$$ and $$RR2$$ (round robin scheduling with $$CPU$$ quantum of $$2$$ time units) are

4

GATE CSE 2012

MCQ (Single Correct Answer)

+2

-0.6

Fetch_And_Add (X, i) is an atomic Read-Modify-Write instruction that reads the value of memory location X, increments it by the value i, and returns the old value of X. It is used in the pseudocode shown below to implement a busy-wait lock. L is an unsigned integer shared variable initialized to 0. The value of 0 corresponds to lock being available, while any non-zero value corresponds to the lock being not available.

```
AcquireLock(L){
While (Fetch_And_Add(L,1))
L = 1;
}
Release Lock(L){
L = 0;
}
```

This implementation Paper analysis

Total Questions

Algorithms

4

Compiler Design

1

Computer Networks

6

Computer Organization

5

Data Structures

3

Database Management System

7

Digital Logic

1

Discrete Mathematics

12

Operating Systems

5

Programming Languages

4

Theory of Computation

3

More papers of GATE CSE

GATE CSE 2023

GATE CSE 2022

GATE CSE 2021 Set 2

GATE CSE 2021 Set 1

GATE CSE 2020

GATE CSE 2019

GATE CSE 2018

GATE CSE 2017 Set 1

GATE CSE 2017 Set 2

GATE CSE 2016 Set 2

GATE CSE 2016 Set 1

GATE CSE 2015 Set 1

GATE CSE 2015 Set 2

GATE CSE 2015 Set 3

GATE CSE 2014 Set 1

GATE CSE 2014 Set 3

GATE CSE 2014 Set 2

GATE CSE 2013

GATE CSE 2012

GATE CSE 2011

GATE CSE 2010

GATE CSE 2009

GATE CSE 2008

GATE CSE 2007

GATE CSE 2006

GATE CSE 2005

GATE CSE 2004

GATE CSE 2003

GATE CSE 2002

GATE CSE 2001

GATE CSE 2000

GATE CSE 1999

GATE CSE 1998

GATE CSE 1997

GATE CSE 1996

GATE CSE 1995

GATE CSE 1994

GATE CSE 1993

GATE CSE 1992

GATE CSE 1991

GATE CSE 1990

GATE CSE 1989

GATE CSE 1988

GATE CSE 1987

GATE CSE
Papers

2023

2022

2020

2019

2018

2013

2012

2011

2010

2009

2008

2007

2006

2005

2004

2003

2002

2001

2000

1999

1998

1997

1996

1995

1994

1993

1992

1991

1990

1989

1988

1987