1
Find a solution to the following recurrence equation
T(n) = T(n - 1)+ n
T(1) = 1
T(n) = T(n - 1)+ n
T(1) = 1
2
Let P be a quicksort program to sort numbers in ascending order. Let t1 and t2 be the time taken by the program for the inputs [1 2 3 4] and [5 4 3 2 1], respectively. Which of the following holds?
3
What is the generating function G (z) for the sequence of Fibonacci numbers?
4
Solve the recurrence equations
T (n) = T (n - 1) + n
T (1) = 1
T (n) = T (n - 1) + n
T (1) = 1
5
It is possible to construct a binary tree uniquely whose pre-order and post-order traversals are given.
6
If the no of leaves in a tree is not a power of 2,then the tree is not a binary tree.
7
In a circular linked list organization,insertion of a record involves modification of :
8
State whether the following statement are TRUE or FALSE:
(a) The union of two equivalence relations is also an equivalence relation.
(a) The union of two equivalence relations is also an equivalence relation.
9
If a, b and c are constants, which of the following is a linear inequality?
10
A square matrix is singular whenever:
11
(a) Solve the recurrence equations
$$\,\,\,\,\,\,\,\,\,T\left( n \right) = T\left( {n - 1} \right) + n$$
$$\,\,\,\,\,\,\,\,\,T\left( 1 \right) = 1T$$
(b) What is the generating function?
$$\,\,\,\,\,\,\,\,\,G\left( z \right)$$ for the sequence of Fibonacci numbers?
$$\,\,\,\,\,\,\,\,\,T\left( n \right) = T\left( {n - 1} \right) + n$$
$$\,\,\,\,\,\,\,\,\,T\left( 1 \right) = 1T$$
(b) What is the generating function?
$$\,\,\,\,\,\,\,\,\,G\left( z \right)$$ for the sequence of Fibonacci numbers?
12
(a) How many binary relations are there on a set A with n elements?
(b) How many one - to - one functions are there from a set A with n elements onto itself
13
A critical region is:
14
On receiving an interrupt from an $${\rm I}/O$$ device the $$CPU$$:
15
FORTRAN is:
16
A context-free grammar is ambiguous if:
17
Give minimal $$DFA$$ that performs as a Mod-$$3$$ $$1's$$ counter, i.e., outputs a $$1$$ each time the number of $$1's$$ in the input sequence is a sequence is a multiple of $$3.$$
18
Give the regular expression over $${\left\{ {0,\,\,1} \right\}}$$ to denote the set of proper non-null substrings of the string $$0110$$.
1
GATE CSE 1987
Subjective
+2
-0
Find a solution to the following recurrence equation
T(n) = T(n - 1)+ n
T(1) = 1
T(n) = T(n - 1)+ n
T(1) = 1
2
GATE CSE 1987
MCQ (Single Correct Answer)
+2
-0.6
Let P be a quicksort program to sort numbers in ascending order. Let t1 and t2 be the time taken by the program for the inputs [1 2 3 4] and [5 4 3 2 1], respectively. Which of the following holds?
3
GATE CSE 1987
Subjective
+2
-0
What is the generating function G (z) for the sequence of Fibonacci numbers?
4
GATE CSE 1987
Subjective
+2
-0
Solve the recurrence equations
T (n) = T (n - 1) + n
T (1) = 1
T (n) = T (n - 1) + n
T (1) = 1
Subject
Algorithms
4
Data Structures
3
Discrete Mathematics
5
Operating Systems
2
Theory of Computation
4
More Papers of GATE CSE
2025
GATE CSE 2025 Set 2GATE CSE 2025 Set 12024
GATE CSE 2024 Set 2GATE CSE 2024 Set 12023
GATE CSE 20232022
GATE CSE 20222021
GATE CSE 2021 Set 2GATE CSE 2021 Set 12020
GATE CSE 20202019
GATE CSE 20192018
GATE CSE 20182017
GATE CSE 2017 Set 2GATE CSE 2017 Set 12016
GATE CSE 2016 Set 2GATE CSE 2016 Set 12015
GATE CSE 2015 Set 3GATE CSE 2015 Set 2GATE CSE 2015 Set 12014
GATE CSE 2014 Set 3GATE CSE 2014 Set 2GATE CSE 2014 Set 12013
GATE CSE 20132012
GATE CSE 20122011
GATE CSE 20112010
GATE CSE 20102009
GATE CSE 20092008
GATE CSE 20082007
GATE CSE 20072006
GATE CSE 20062005
GATE CSE 20052004
GATE CSE 20042003
GATE CSE 20032002
GATE CSE 20022001
GATE CSE 20012000
GATE CSE 20001999
GATE CSE 19991998
GATE CSE 19981997
GATE CSE 19971996
GATE CSE 19961995
GATE CSE 19951994
GATE CSE 19941993
GATE CSE 19931992
GATE CSE 19921991
GATE CSE 19911990
GATE CSE 19901989
GATE CSE 19891988
GATE CSE 19881987
GATE CSE 1987