Saturday, October 10, 2009

Advanced Data Structure

ADA
algo solution maual
1
Any algo whose worst running time is lowest, is least dependent on the initial order of input (or in
general, is least dependent on anything at all - since we've assuming the worst that could ever
happen anyways )
So amongst comparison sorts, the running time of a merge sort or a heap sort would be least
dependent (or as I said, not at all dependent) on your initial input ordering .
2I
t needs O(n) time and O(1) space. Just a minor modification of the basic algorithm to determine
max element in an array.
.... max = A[0]
.... count = 1
.... for(i = 1; i < N; i++)
..... begin
...... if(A[ i ] == max)
........... ++count
...... else if(A[ i ] > max)
........... max = A[ i ]
........... count = 1 //mark this step - found a new max element hence reset count
...... endif
.... endfor
.... print "Max value = " max
.... print "Number of occurences = " count
Time = O(n)
Space = O(1)
3.
time complexity of code
for(int i=0;i < =n;i++)
for(j=0;j < =log(i);j++)
printf("puneet")
printf executes for
log(1) + log(2) + log(3) + log(4) + log(5) + ...log(n) times
Page 1
ADA
= log (n!) times
so complexity is O(log(n!))
think u'll have to take into account the complexity of the function log(i) here coz its calculated
from the series
ln(1+x)=x-(x^2/2)+(x^3/3)-(x^4/4)+...
now obviously this is not linear time, and it depends on the accuracy till which the maths library
calculates it. Sot i dont think he complexity is O(log(n!)).
printf executes for
(log(1) +1)+ (log(2)+1) + (log(3)+1) + (log(4)+1) + ...(log(n)+1) times
= (n+log (n!)) times
still the complexity is O(log(n!)) becoz log(n!) is greater than n for larger values of n.eg if base of
log is "e" then for n > =6 log(n!) is greater than n. if base of log is 10 then for n > =25 log(n!) is
greater than
4.for(i=0;i < =n*n;i++)
for(j=i;j < =n/2;j++)
printf("x");
I think its O(n^3)...And moreover there isn't any hidden landmine in it as well
break outer loop into 2 parts
1) 0 < i < =(n/2) (usual nested loop)
2) n/2 < i < =n*n (inner loop doesn't work)
so both r O(n^2)
5ques: >
the input is a set s containing n real number sorted in increasing order and a real number x we
have to develop algo to know wheather there are two elements of s whose sum is exactly x
use linear search
steps:
1. move in the array and stop at the point where u get an element > =x
2. now subtract that number from x and search the number in the array to the left from start..
3. now move backwards from the number(where we stopped) and repeat the same for all other
Page 2
ADA
let us say the array is 1,2,5,6,7,8,19,20,34,36,45,76,86
we have to search for the sum X=38
1. start from 1....stop at 36
2. now search for the number 38-36=2 in the left side of the array
3. suppose if 2 was not there....then move backwards from 36 to 34 and repeat step 2
or
have two pointers one at the beginning and one at the end.....
add the elements pointed to , move the last pointer if the sum > x or else move the first pointer
6 ques:decimal to binary conv without loop
Use recursion.
binary(unsigned int n)
{.
....if(n > =2)
..........binary(n/2);
.....printf("%u",n&1);
}
q:7suppose we are given 3 sequences a,b,c of length n,m,p all soted we have to merge this into d of
length m+n+p,how can we generalize this for say n sequences,what is the complexity of this??
ans:
Kind of merge sort..
take two sorted array (size m and n).. merge them into a one sorted array(size m+n)
repeate this process recursively till u get a single sorted array..
the method will b lik described above
and its complexity should b (n-1) times complexity of a single merge between two lists.
repeate this process recursively till u get a single sorted array..
> > > > > another approach
Better way of doing it for n sequences is to construct a heap of n elements which contain the min
elemets from the n sequences.If an element is removed from the heap, add the new element from
the sequence from which it is removed.
If each sequence is very long,this method is very efficient as u read the element into the memory
only once. (external mem algos)
Time Complexity will be O(nm log n) -- > each sequence has m elements,n sequences
Page 3
ADA
ques8 :suppose we have to draw a set of closed curves c1,c2....,cn in the plane according to th
below rules:
1. no curve intersect itself
2.c1 is drawn arbitarily
3 for every i > =2.ci intersects each of c1,c2,...,ci-1 in exactly two distinct point
4no three curves meet at a single point.
let r(n) denote the number of regions in the plane defined by constructing n closed curves by the
above rules.how can we dervie grneral recurrence relation for r(n) in terms of r(n-1) and how can
we compute r(1) and r(20)
ans:
r(n) = r(n-1) + 2 * (n-1)
r(1) = 1
basically, when a new curve is added, each already existing curve (total n-1 in number) are
bisected in two regions. This gives additional n-1 regions. Further n-1 more regions are formed
which share boundaries with the new curve.
Solving above recurrnce relation gives
r(n) = n(n-1) + 1
which gives r(20) = 381
ques:9 let x and y be strings of symbols from some alphabet .consider the operations of deleting a
symbol from x,inserting a symbol into x and replacing a symbol of x by another symbol ,how can
we design algo to find the minimum number of such operation needed to transform x into y..
ans:the edit distance between two strings of characters is the number of operations required to
transform one of them into the other. There are several different algorithms to define or calculate
this metric:
Hamming distance
Levenshtein distance
Damerau-Levenshtein distance
Jaro-Winkler distance
Wagner-Fischer edit distance
Ukkonen
Hirshberg
the Hamming distance between two strings of equal length is the number of positions for which
the corresponding symbols are different. Put another way, it measures the minimum number of
substitutions required to change one into the other, or the number of errors that transformed one
string into the other.
1011101 and 1001001 is 2.
Page 4
ADA
algo:
The following C++ function will compute the Hamming distance of two integers (considered as
binary values, that is, as sequences of bits). The running time of this procedure is proportional to
the Hamming distance rather than to the number of bits in the inputs.
int hamdist(int x, int y)
{
int dist = 0, val = x^y;
while(val)
{
++dist;
val &= val - 1;
}
return dist;
}
ques:10
how many comparisons are required for finding both largest and smallest elements in aset of n
elements,what could be the algo for that
ans:
Number of addition operation is i guess (n-2).. Correct me if i am wrong.
MIN-MAX(A) //assume n is odd
min=max=A[1]
for i=2 to length[A] step 2
do if A[.i] < A.[i+1]
then if min > A[.i]
then min=A[.i]
if max < A[.i+1]
then max = A[.i+1]
else if min > A.[i+1]
then min = A[.i+1]
if max < A[.i]
then max = A[.i]
return min, max
#pairs: [n/2]
#comparisons/per pair:3
# total comparisons: 3 [n/2],
i.e., [3n/2] -2.
Similarly, write the code
for n being even. The # total
comparisons is 3n/2-2, i.e.,
Page 5
ADA
[3n/2] -2.
ques:11 is there any way to evaluate the polynomial - >
summation with condition 1 < =i < =j < =n xixj=x1x2+x2x3+.......+x(n-1)xn
with fewer then n-1 multiplication's and 2n-4 additions
ANS:
1 < = i < j < = n
then expression is x1(x2+...+xn) + x2(x3+...+xn) + ... + x(n-1)xn,
which would require n-1 multplication and 2n-4 addition according to following pseudo-code.
temp_sum = xn
result = x(n-1) * xn
for i= (n-1) to 2,
temp_sum += x(i)
result += temp_sum * x(i-1)
end_for
As far as reducing number of operations is concerned, I do not know. I tried rewriting original
expression as 0.5 * ( ( x1 + x2 + ... + xn )^2 - ( x1^2 + x2^2 + ... + xn^2 ) ), but it doesn't help.
so try on your own
ques:12
to find the kth smallest element in a set of n elements,how many comparisons are required ??,what
is the algo for that??
ans:
Well calculations i am not sure. but this is the age old strategy.
This algorithm is modificaiton of quick sort.. Choose a pivot and apply the partition step of the
algorithm.
If position of the pivot is k. u are done
If position of the pivot in the array is greater than k then repeat this algorithm on the left
partition.
If position of the pivot is less than k then repeat the algorithm on the right partition.
Let me give a shot at number of comparisons. Let assume that number are uniformly distributed
in the array. Then first iteration will take n comparison. here we can assume that both the
partitions are of roughly same size. And we are going to throw out one partition. So number of
elements to be tackled in the next iteration are n/2 and thats max num of comparisons .
So total comparison in this case will be less than
n + n/2 + n/4 ....log n terms. < = n( 1 +1/2 + 1/4 ...... upto infinity) =2n.
so i think on an average we shld be done in less than 2n comparisons.
i overlooked the title, the worst case in this algorithm will be if the array is already sorted and u
are asking me to find smallest element. in that case i will take n^2 ops.. so here this strategy may
not be good (ofcourse provided i am choosing the pivot as always the last element. but i think this
problem can a be avoided if i choose my pivot randomly.)
Page 6
ADA
> > another use median as pivot. worst case=O(n)
ques13:given three arrays of n real numbers i.e +ve or -ve,we have to determine if there are three
numbers one from each array whose sum is 0,what is the complexity of that??
ans:
if u consider a naive algo it can be done in O(n ^ 3 ) time.. take one element from each of the
arrays..
that will have 3 loops.. so O(n ^ 3) time..
but u can do in O(n lgn) time like this..
1)sort each of the arrays in O(n lgn).
2)merge all in a 3n array this can be done in O(n) time.
3)then maintain 2 arrays one with -ve other with +ve elements
4)for each of the +element in the array do binary search in -ve array for its negetive counterpart.
(also as there can be more than one no like this check the neighbouring values too.)
this step will take o(n lgn) time that is o(lgn) time for each of the +n elements
another view i think::
in O(n ^ 2 logn) we may find
sort 3 arrays
for each element (let say x) in array1
{
for each element (let say y) in array 2
binary search -(x+y) in array 3
for each element (let say z) in array 3
binary search for -(x + z) in array 2
}
repeat this
This can't be done in better than O(n^2) time (& O(1) space). There is a flaw in line (4) of
algorithms. Think properly if you can.
q:14let m be an mxn matrix of of 0 and 1,how can we find a smallest sxn submatrix S of m such
that if m(i)(j)=1 then for some 1 < k < s.. S(k,j)=1,also what is the worst time it takes..
ans:this is a standard problem in computer science
ANS:
http://en.wikipedia.org/wiki/Set_cover
The set covering problem is a classical question in computer science and complexity theory. As
input you are given several sets. They may have some elements in common. You must select a
minimum number of these sets so that the sets you have picked contain all the elements that are
Page 7
ADA
contained in any of the sets in the input. It was one of Karp's 21 NP-complete problems shown to
be NP-complete in 1972.
More formally, given a universe and a family of subsets of , a cover is a subfamily of sets whose
union is . In the set covering decision problem, the input is a pair and an integer k; the question is
whether there is a set covering of size k or less. In the set covering optimization problem, the input
is a pair , and the task is to find a set covering which uses the fewest sets.
The decision version of set covering is NP complete, and the optimization version of set cover is NP
hard.
Set covering is equivalent to the Hitting set problem. It is easy to see this by observing that an
instance of set covering can be viewed as an arbitrary bipartite graph, with sets represented by
vertices on the left, the universe represented by vertices on the right, and edges representing the
inclusion of elements in sets. The task is then to find a minimum cardinality subset of left-vertices
which covers all of the right-vertices. In the Hitting set problem, the objective is to cover the
left-vertices using a minimum subset of the right vertices. Converting from one problem to the
other is therefore achieved by interchanging the two sets of vertices.
The set covering problem can be seen as a finite version of the notion of compactness in topology,
where the elements of certain infinite families of sets can be covered by choosing only finitely
many of them.
q:15
suppose we are given an input ,points in the plane a,b,c,d,we wish to place four circles centered at
each of these points,so that no two circles overlaps each other and the avg radius is as large as
possible,how can we design algo for this,what is it's complexity...
ANS:
this is an optimization problem
max r1+r2+r3...+rn
s.t
r1+r2 < = d12
r2+r3 < = d23
r1+r3 < = d13 nd so on
Use simplex algorithm to get the optimal solution.
I dont know if this can be done using some sort of dynamic programming or greedy algorithm
approach.
question:
Page 8
ADA
question::16
You have an array of 2n+1 elements, in which each but one element is present twice.
You have to find out the remaining 1 element.
ans:
Sort the numbers using some sort algo that takes O(n log n).
Then use something like this
for(i = 0;i < 2n;i=i+2)
{i
f(a == a[i+1]
i++;
else
return a;
}
return a[2n];
or
try this
for( i = 0,xor = 0 ;i < 2*n + 1 ;++i)
xor ^= x[..i..];
return xor;
quest:17
solution of this recurrence
t(n)=t(n/2)+bigoh(square root of n) for n > 3 else t(n)=1
ANS:
Page 9
ADA
well the solution to this recurrence is theta_of(sqrt(n))..........i just guessed it and proved using
substitution metho
> > > > T(n)=c1*sqrt(n)/sqrt(2)+c2*sqrt(n)
> > > > T(n)=(c1+c2)*sqrt(n)
> > > > T(n)=(c1+c2)*sqrt(n) < =c*sqrt(n)
if we choose c1=1 c2=1 and c=10 the above inequality holds...........end_of_proof..............
the lower bound can be prooved similarly........
> > > another view
lower bound cannot be proved. theta(sqrt(n)) is incorrect. problem statement has bigoh.
counter-example: t(n) = t(n/2) + 1
ower bound : theta(log(n))
Q:18
evaluate big O ,omega and thita
int try(int n)
{i
f n < 3 return(1);
return(try(n-3) + try(n-1) - try(n-2));
}
void main(int m)
{i
nt n;
for(n=0;n < m;n++)
printf("\n%d",try(n));
}
ANS: > > > > > > > > > > > > >
he recurrence relation for above program could be possibly.....
T(n)=T(n-1)+T(n-2)+T(n-3)+O(1)
and this is multiplied by m times......so i guess answer should be O(m*n^2).........is it correct???
Page 10
ADA
Q: > > 19
suppose we are given multiplication of two polynomials a1*x raised to i1+a2*x raised to i2+...)
and b1* x raised to j1+b2* x raised to j2.....
in which the coefficients of the answers c1* x raised to i1+j1+...) are generated in order as the
input coefficients are being multiplied..
how can we design algo for this in most efficient time and space.?.
ANS:
use divide and conquer u can do it in O(n power logn base 3)
or
FFT is the fastest known method. Polynomial multiplication is convolution of the series of
coefficients. This should be O(nLogn)
q20
suppose you are given n men and n women and two n x n arrays p and q such that
p(i,j) is the preference of man i for woman j and q(i,j) is the preference of woman i for man j,how
can we design algorithm which finds a pairing of men and women such that the sum of product is
maximized...
ans:
G1 = (V1, E1)
G2 = (V2, E2)
[1] With the help of two matrices p and q (both being directed and weighted) convert them to
undirected graph.
u - > v = w1
v - > u = w2
then undirected edge (u, v) should have weight
w(u, v) = w1*w2
Note: if (u, v) isn't belongs to E1 (or E2) then it's directed weight should be taken as zero.
i.e. w1(u, v) = 0
[2] Now run MST with a little difference. You choose the safe edge with highest weight.
q: quick sort with two partition
ANS:
Page 11
ADA
A very naive way can be ...
Choose 2 random elements x and y as partitions.
Make sure that x != y
Use the partition value 'x' and apply the standard partitioning algorithm.
Suppose after running this algorithm, 'x' is placed at index 'i'.
Now, either y < x or y > x.
So, now you can apply the same standard partitioning algorithm on the subinterval
[0, i-1] (if y < x) or [i+1, N] (if y > x)
So, now you get 3 subsets, instead of 2. Apply quicksort recursively on those 3 subsets too. Not
sure whether this will be more or less efficient than the actual QuickSort.
I will try to program this in my leisure time, and will let you know.
In the meantime, I am sure other algorithm wizards can definitely come up with better versions
analysis:
BTW, I dont think my method achieves any improvement.
For average case,
T(n) = 3n/2 + 3T(n/3)
In each pass, O(n) time for partition using 'x' and O(n/2) for partition using 'y'
This gives
T(n) = 1.5 nlogn + n
So, we should think of developing a partitioning algorithm which implements positioning both 'x'
and 'y' in O(n) time in 1 go.
I don't think there is any use of doing QuickSort using 2 partition elements.
Consider this case - suppose the size of array to be sorted is 1 million (1,000,000).
You choose x and y as partition elements, and after partitionning, it is found that there are say less
than 5 elements between x and y.
So, this will only worsen the performance as compared to standard QuickSort.and rem the quick
sort is the algo used for sorting very large data say just said....
Page 12
ADA
Q > > > > >
suppose we are given sequence of n songs where the ith song is i subscript i min long,we want to
place all of the songs on an ordered series of Cd's(eg. cd1,cd2,.....,cdk),where each cd can hold m
min's,fuerthermore,the songs must be recorded in the given order spng1,song2,...,songn.no song
may be spilt across cd's,the goal is to determine how to place them on the cd's as to minimize the
number of cd's needed..,
how can we design efficient algorithm for this..
ANS:
This problem reminds me of the 0/1 knapsack problem
my question:
Let T be an array that contains n integers. An integer is a majority element in T if it appears
strictly more than n/2 times in T. Give an algorithm that can decide whether an array T contains a
majority element and if so find it. Your algorithm must run in linear time in the worst case.
ANS:
guess
????
here it is > >
This modification of quick sort:
Select a pivot randomly. run partition. Find the position of the pivot say p. calculate size of left
partition if it is greater than n/2 your then your majoriy element is likely in this part of the array.
repeat the algorithm in this part
but if left partion has length less than n/2 so the majority is likely to be in the right parition.
continue this alorithm on that partition.
This will go on till the partition size remamins staionary or drops below n/2. In first case u have
the majority element in second case u dont.
Since in each case we are working on only one parition this shld be done in o(n) time
use stack
if stack is empty
Page 13
ADA
push the element
if stack is not empty compare current element with stack top
if both r same push
else pop
finally
if there exists an element that is majority element
or by pruning also u can do it in linear time by only comparisions by taking another array
if ( median == min || median == max )
return median
else
return "NO"
In the worst case this could happen:
We find the pivot and it turns out to be the last element
e.g.
2 2 2 2 5 7 9
The next time you pick a pivot, in the worst case it turns out to be 7 (in this case)
so we continue this process.
This will be an O(n^2) algo.
Correct me if i'm wrong.
Finding the median involves sorting which is O(nlogn) for comparison sort algos. Unless you do
radix or bucket sort (for small n)
http://en.wikipedia.org/wiki/Selection_algorithm > > try this
If there is no space constraint then we can use hashtable to find it. Traverse each element in the
array. if this element is not present in Hashtable then place it in HT with count value 1 else
increment the count value of corresponding element. at last check the count value to find the Max.
Q:
how do we generailize huffma's algorithm to ternary codewards i.e codewards using 3 symbols
0,1,2..
ANS > > > > > > > > > > >
Page 14
ADA
what's the problem in this it is easy,extension of huffman's algo
simply apply the algo to make a new node
and according to priority queue keep on adding two trees frequencies
ya you will get a skewed tree if the frequencies of trees satisfies triangle inequality law
Q > > > > > > >
we are given all the numbers in a table
so that all -ve values precede all nonnegative values.the items need not be sorted completely,just
seprated b/w -ve and nonnegative,we have to degin algo for this with constraint that the sol should
require min.. number of comparisons...
ANS:
i guess it can be done in O(n).. the way we do partition in quick sort... only diff will be instead of
picking an element and then partiotionin it.. partition it wid respect to 0...
Page 15

GATE 2010 General Detail II

1. GATE 2010 will be conducted by IIT Guwahati
2. The pattern is set to change again from the previous pattern.55 questions technical + 10 questions General Aptitude - 100 marks
3. GATE Score will be valid for two years. Once again. (confirmed)
4. Now you can give the exam in 3rd year itself.(confirmed)
5. GATE 2010 - Pharmacy still remains unincluded.(confirmed) There is news that Pharmacy exam will be taken up by AICTE.
6. GATE 2010 examination for Mining Engineering (MN) and Textile Engineering and Fibre Science (TF) papers will be computer based ONLINE examination.
7. GATE Board is currently in discussion whether to extend the validity of GATE 2009 score to 2010. But they have not decided yet. It will be decided by December.

Information Brochure and Application Form can be obtained on cash payment of Rs 1000/- (Rs 500/- for SC/ST/PD) from the designated Bank Branches.

Paper Pattern

Q.1 to Q.25: Will carry one mark each (sub-total 25 marks).


1/3 mark will be deducted for each wrong answer.
Q.26 to Q.55: Will carry two marks each (sub-total 60 marks) 2/3 mark will be deducted for each wrong answer.
Q.48 through Q.51 (2 pairs) will be common data questions. Each question will carry two marks 2/3 mark will be deducted for each wrong answer.

Question pairs (Q.52, Q.53) and (Q.54, Q.55) will be linked answer questions.

The answer to the second question of the last two pairs will depend on the answer to the first question of the pair.

If the first question in the linked pair is wrongly answered or is un-attempted, then the answer to the second question in the pair will not be evaluated. Each question will carry two marks



There will be negative marks only for wrong answer to the first question of the linked answer question pair i.e. for Q.52 and Q.54, 2/3 mark will be deducted for each wrong answer. There is no negative marking for Q.53 and Q.55.

Q.56 to Q.60 : From General Aptitude (GA) will carry one mark each (sub-total 5 marks).


1/3 mark will be deducted for each wrong answer.
Q.61 to Q.65 : From GA will carry two marks each (sub-total 10 marks) 2/3 mark will be deducted for each wrong answer.
All the papers bearing the codes AE, AG, BT, CE, CH, CS, EC, EE, IN, ME, MN, MT, PI and TF will contain few questions on Engineering Mathematics carrying 15 marks.
GATE Forms will be available from 22 September. At select banks and from IIT/IISc counters.

General Aptitude Syllabus :
Verbal Ability: English grammar, sentence completion, verbal analogies, word groups, instructions, critical reasoning and verbal deduction.

Numerical Ability: Numerical computation, numerical estimation, numerical reasoning and data interpretation.
Question pairs (Q.52, Q.53) and (Q.54, Q.55) will be linked answer questions.

The answer to the second question of the last two pairs will depend on the answer to the first question of the pair.

If the first question in the linked pair is wrongly answered or is un-attempted, then the answer to the second question in the pair will not be evaluated. Each question will carry two marks



There will be negative marks only for wrong answer to the first question of the linked answer question pair i.e. for Q.52 and Q.54, 2/3 mark will be deducted for each wrong answer. There is no negative marking for Q.53 and Q.55.

Q.56 to Q.60 : From General Aptitude (GA) will carry one mark each (sub-total 5 marks).


1/3 mark will be deducted for each wrong answer.
Q.61 to Q.65 : From GA will carry two marks each (sub-total 10 marks) 2/3 mark will be deducted for each wrong answer.
All the papers bearing the codes AE, AG, BT, CE, CH, CS, EC, EE, IN, ME, MN, MT, PI and TF will contain few questions on Engineering Mathematics carrying 15 marks.
GATE Forms will be available from 22 September. At select banks and from IIT/IISc counters.

General Aptitude Syllabus :
Verbal Ability: English grammar, sentence completion, verbal analogies, word groups, instructions, critical reasoning and verbal deduction.

Numerical Ability: Numerical computation, numerical estimation, numerical reasoning and data interpretation.

Below are Important Dates for GATE 2010

Commencement of Sale of information brochure & submission
Offline & Online: 22 Sept 2009, Tuesday

Last date of issue of information brochure & application form
By Post from GATE office: 20 Oct 2009, Tuesday
At Bank Counters: 28 Oct 2009, Wednesday
Gate Office Counters: 30 Oct 2009, Friday

Last date of application form submission
Online: 28 Oct 2009, Wednesday
Gate Offices:  03 Nov 2009, Tuesday

Date of Examination
Computer based ONLINE Examination for TF paper from 09.30 hrs to 12.30 hrs - 7 Feb 2010, Sunday
Computer based ONLINE Examination for MN paper from 14.30 hrs to 17.30 hrs -7 Feb 2010, Sunday
OFFLINE Examination for all papers except TF and MN from 09.30 hrs to 12.30 hrs - 15 Feb 2010, Sunday
Announcement of Result
15 Mar 2010, Monday

=====================================================================================

Online Application form:
Application Submission Process


Step 1: Make payment
Application Fee - General & OBC - Rs. 800/-
Application Fee - SC/ST/PD - Rs. 400/-

Two payment options-
A) Online Payment: Online Payment is possible through HDFC bank payment gateway using Mastercard or Visa credit cards or debit cards of certain banks.
B) Offline payment: Offline payment is possible through a demand draft payable at Kanpur in the name of "Chairman GATE, IIT Kanpur". Please obtain this prior to start of the online filling of the application.


Step 2: Obtain Digital Photo and Scaned Signature.
Candidates are advised to have a digital photograph and scanned signature prior to starting the filling of application and these should be uploaded when applying Online. Otherwise they have to submit it later.

Step 3: Obtain SC/ST/PD Certificate (if applicable)
SC/ST and Disability Certificate should be obtained from appropriate authority. The Certificate should also scaned so that it can be uploaded when applying online.

Step 4: Apply Online
Candidates must follow the instructions provided on the online application form filling page.
Click here to apply online

Step 5: Post/Submission
An application which is incomplete by not uploading the necessary documents can be completed by sending those documents by post along with a covering note that can be printed on the online site. All such documents must reach the GATE office at IIT Kanpur by November 3, 2009.

Preserve aplication number
A successfully submitted online form will be provided an application number which must be preserved by the candidate. This application number shall be used for all other processes related to the GATE 2010 including those related to any enquiry.

====================================================================================
Off Line
Application fee: Rs. 1000/- for GENERAL category and Rs. 500/- for SC/ST/PD category.

The application fee is not refundable.

Step 1: Procurement of Application Form

Candidate can obtain a packet containing:

* Offline Application Form
* Information Brochure
* Acknowledgment Card
* Envelope

from:

1. Designated Bank Branches corresponding to each zone on cash payment.
2. Zonal GATE Office by sending a request letter and TWO self-addressed slips along with a Demand Draft for appropriate amount.
3. Zonal GATE Office after handing over Demand Draft for appropriate amount.

Step 2: Obtain SC/ST/PD Certificate (if applicable)

SC/ST and Disability Certificate should be obtained from appropriate authority.

Step 3: Fill in the Application Form

Step 4: Post/Submission
Duly filled-in Application Form with appropriate enclosures must be sent by Registered or Speed post to The Chairman, GATE of the Zone, where the candidate prefers (corresponding to the 1st Choice of Examination City) to appear for the examination, on or before Tuesday, November 03, 2009 OR It can be handed over personally to respective Zonal GATE Office.

GATE Study Meterial

Mathematics

http://rapidshare.com/files/252407932/Schaum_S_Outline_Series_-_Theory_And_Problems_Mathematics.pdf

http://rapidshare.com/files/252403900/Algebra_by_Michael_Artin.rar

http://rapidshare.com/files/252408648/Super_Cooled_Mathematics_notes_for_GATE.rar

http://rapidshare.com/files/252402644/AHandbookOfDiscreteMath.rar

http://rapidshare.com/files/252017628/Mathematics_Algebra.rar

http://rapidshare.com/files/251998164/discrete_notes.rar

GATE_Math_Material

http://rapidshare.com/files/252405165/GATE_Math_Material.rar

-------------------------------------------------------------------------------------------------------------------------------------
Digital Logic

http://rapidshare.com/files/252413877/Moris_Manno_Digital_Logic_with_Solution.rar


-------------------------------------------------------------------------------------------------------------------------------------
Operating System

Operating_Systems_Tanenbaum with handout
http://rapidshare.com/files/251976187/Modern_Operating_Systems_Tanenbaum.rar

Some Articles and presentation for OS
http://rapidshare.com/files/249766716/OS_Sandy.rar.001
http://rapidshare.com/files/249771076/OS_Sandy.rar.002
http://rapidshare.com/files/249773495/OS_Sandy.rar.003

Galvin 6th Edition with Solutions from different standard books.
http://rapidshare.com/files/249778432/OS_Solutions_Sandy.rar.001
http://rapidshare.com/files/249790823/OS_Solutions_Sandy.rar.002
http://rapidshare.com/files/249790823/OS_Solutions_Sandy.rar.002



Galvin 5th Edition
http://rapidshare.com/files/252793738/Galvin_5th_ed.pdf

Galvin 6th Edition
http://rapidshare.com/files/252783117/Galvin_6th_Ed.pdf

Galvin 7th Edition
http://rapidshare.com/files/252790511/Galvin_7th_Edition.pdf

William Stallings
http://rapidshare.com/files/253238816/OS_William_Stalling_Sandy.rar

-------------------------------------------------------------------------------------------------------------------------------------

Compiler

Ullman,Sethi,Aho
http://rapidshare.com/files/251996695/Compilers_Principles_Techniques_Tools.pdf


-------------------------------------------------------------------------------------------------------------------------------------
C Language
http://rapidshare.com/files/251661769/CompletereferenceC.pdf
http://rapidshare.com/files/251668358/Test_Your_C_Skills_YaswantKanetkar_Part1.pdf
http://rapidshare.com/files/251673412/Test_Your_C_Skills_YaswantKanetkar_Part2.pdf
http://rapidshare.com/files/251675373/Test_Your_C_Skills_YaswantKanetkar_Part3.pdf

-------------------------------------------------------------------------------------------------------------------------------------

Computer System Architecture

http://rapidshare.com/files/251252598/Fundamentals_of_Computer_Organization_and_Architecture.pdf

-------------------------------------------------------------------------------------------------------------------------------------


Theory of Computation (Automation)

http://rapidshare.com/files/250525088/IntroductiontotheTheoryofComputation.pdf

Ullmaan
http://rapidshare.com/files/252837294/TCS_Hopcroft_Motwani_Ullman_1.pdf
http://rapidshare.com/files/252842330/TCS_Hopcroft_Motwani_Ullman_2.pdf
http://rapidshare.com/files/252843623/TCS_Hopcroft_Motwani_Ullman_3.pdf
http://rapidshare.com/files/252844093/TCS_Hopcroft_Motwani_Ullman_4.pdf

-------------------------------------------------------------------------------------------------------------------------------------

SoftwareEngineering-Pressman.pdf
http://rapidshare.com/files/249795254/SoftwareEngineering-Pressman.pdf

http://rapidshare.com/files/250134434/software_engg_Ivan_Marsic.pdf


-------------------------------------------------------------------------------------------------------------------------------------


DATABASE

RaghuRamaKrishnan_Book with Solutions
http://rapidshare.com/files/250131131/RaghuRamaKrishnan_Book___Solutions.rar

DBMS
http://rapidshare.com/files/250136707/DBMS_Slides_--_SilberschatZ_Korth.rar

DBMS Korth book+ solution
http://rapidshare.com/files/250139798/DBMS_KORTH_WITH_SOLUTION.rar
http://rapidshare.com/files/250139396/DBMS_Korth.rar

Navathe
http://rapidshare.com/files/252831482/DBMS_Navathe_Sandy.pdf

-------------------------------------------------------------------------------------------------------------------------------------

Algorithms

DAA Presentations By AICTE
http://rapidshare.com/files/250135528/DAA_PPTS_BY_THAPAR_AICTE.rar


Algorithms_Solutions
Some good collection of algorithms with solution
http://rapidshare.com/files/249794015/Algorithms_Solution_Atricles.rar


Cormen with Solution
http://rapidshare.com/files/252827140/Cormen_With_Solution_Sandy.rar

Cormen 2nd Edition
http://rapidshare.com/files/253544973/Cormen_2nd_edition_Sandy.rar

-------------------------------------------------------------------------------------------------------------------------------------

Computer Networks

Computer Network__Tanenbaum_WITH_SOLUTION
http://rapidshare.com/files/249781125/CN__Tanenbaum_WITH_SOLUTION_SANDY.rar


Fourazan PPTS
http://rapidshare.com/files/250141485/forouzan_ppts.rar


DATA_COMM_BY_FOROUZAN WITH SOLUTION
http://rapidshare.com/files/249792372/DATA_COMM_BY_FOROUZAN_solution.rar.001
http://rapidshare.com/files/249793466/DATA_COMM_BY_FOROUZAN_solution.rar.002

William Stallings
http://rapidshare.com/files/252778815/WilliamStallings--CN.pdf

Kuross & Ross
http://rapidshare.com/files/253238017/Kureso_and_Ross_Sandy.rar


Fourazan 4th Edition
http://rapidshare.com/files/253546530/Fourazan_4th_edition_Sandy.rar
-------------------------------------------------------------------------------------------------------------------------------------


For HTML AND XML

http://rapidshare.com/files/250140319/HTML_XML.rar


-------------------------------------------------------------------------------------------------------------------------------------
DataStructure
http://rapidshare.com/files/253545524/DataStructuresandAlgorithms-AlfredV.Aho.rar


http://rapidshare.com/files/253239697/hjsplit.rar
---------------------------------------------------------------------------------------------------------------------------------------

Some Good Collection of Gate Material for CS and IT
Download from the below link

http://www.megaupload.com/?d=R37HLXTU


GATE PAPERS

http://rapidshare.com/files/242768916/gate.rar

Syllabus GATE 2010

Computer Science and Information Technology – CS
ENGINEERING MATHEMATICS
Mathematical Logic: Propositional Logic; First Order Logic.
Probability: Conditional Probability; Mean, Median, Mode and Standard Deviation; Random Variables; Distributions; uniform, normal,
exponential, Poisson, Binomial.
Set Theory & Algebra: Sets; Relations; Functions; Groups; Partial Orders; Lattice; Boolean Algebra.
Combinatorics: Permutations; Combinations; Counting; Summation; generating functions;
recurrence relations; asymptotics.
Graph Theory: Connectivity; spanning trees; Cut vertices & edges; covering; matching; independent sets; Colouring; Planarity;
Isomorphism.
Linear Algebra: Algebra of matrices, determinants, systems of linear equations, Eigen values and Eigen vectors.
Numerical Methods: LU decomposition for systems of linear equations; numerical solutions of non-linear algebraic equations by Secant,
Bisection and Newton-Raphson Methods; Numerical integration by trapezoidal and Simpson’s rules.
Calculus: Limit, Continuity & differentiability, Mean value Theorems, Theorems of integral calculus, evaluation of definite & improper
integrals, Partial derivatives, Total derivatives, maxima & minima.
COMPUTER SCIENCE AND INFORMATION TECHNOLOGY
Digital Logic: Logic functions, Minimization, Design and synthesis of combinational and sequential circuits; Number representation and
computer arithmetic (fixed and floating point).
Computer Organization and Architecture: Machine instructions and addressing modes, ALU and data-path, CPU control design,
Memory interface, I/O interface (Interrupt and DMA mode), Instruction pipelining, Cache and main memory, Secondary storage.
Programming and Data Structures: Programming in C; Functions, Recursion, Parameter passing, Scope, Binding; Abstract data types,
Arrays, Stacks, Queues, Linked Lists, Trees, Binary search trees, Binary heaps.
Algorithms: Analysis, Asymptotic notation, Notions of space and time complexity, Worst and average case analysis; Design: Greedy
approach, Dynamic programming, Divide-and-conquer; Tree and graph traversals, Connected components, Spanning trees, Shortest
paths; Hashing, Sorting, Searching. Asymptotic analysis (best, worst, average cases) of time and space, upper and lower bounds, Basic
concepts of complexity classes – P, NP, NP-hard, NP-complete.
Theory of Computation: Regular languages and finite automata, Context free languages and Push-down automata, Recursively
enumerable sets and Turing machines, Undecidability.
Compiler Design: Lexical analysis, Parsing, Syntax directed translation, Runtime environments, Intermediate and target code generation,
Basics of code optimization.
Operating System: Processes, Threads, Inter-process communication, Concurrency, Synchronization, Deadlock, CPU scheduling,
Memory management and virtual memory, File systems, I/O systems, Protection and security.
Databases: ER-model, Relational model (relational algebra, tuple calculus), Database design (integrity constraints, normal forms), Query
languages (SQL), File structures (sequential files, indexing, B and B+ trees), Transactions and concurrency control.
Information Systems and Software Engineering: information gathering, requirement and feasibility analysis, data flow diagrams,
process specifications, input/output design, process life cycle, planning and managing the project, design, coding, testing, implementation,
maintenance.
Computer Networks: ISO/OSI stack, LAN technologies (Ethernet, Token ring), Flow and error control techniques, Routing algorithms,
Congestion control, TCP/UDP and sockets, IP(v4), Application layer protocols (icmp, dns, smtp, pop, ftp, http); Basic concepts of hubs,
switches, gateways, and routers. Network security – basic concepts of public key and private key cryptography, digital signature,
firewalls.
Web technologies: HTML, XML, basic concepts of client-server computing.

GATE 2010 General Detail

GATE 2010.txt 9/16/2009
Entrance Exam India
The Graduate Aptitude Test in Engineering (GATE) 2010 Entrance Examination
Date and time of examination Computer based Online GATE examination (for TF
paper) Sunday, February 07, 2010, 09.30 hrs – 12.30 hrs
ü Bachelor of Engineering (BE) [Specialization in Engineering, Technology,
Architecture, Pharmacy]
ü Master of Science (MSc) [Specialization in Mathematics, Statistics,
Computer Applications]
ü Doctoral Programme in Engineering (DPE)
ü Doctoral Programme Technology (DPT)
ü Doctoral Programme Architecture (DPA)
ü Doctoral Programme Pharmacy (DPP)
The Graduate Aptitude Test in Engineering (GATE) is an all-India
examination administered and conducted in eight zones across the country by
the GATE Committee comprising faculty from Indian Institute of Science,
Bangalore and seven Indian Institutes of Technology on behalf of the
National Coordinating Board - GATE, Department of Education, Ministry of
Human Resources Development (MHRD), Government of India. Admission to post
graduate programmes with MHRD and some other government
scholarship/assistantship at engineering colleges/institutes in the country
are open to those who qualify through GATE. GATE qualified candidates with
Bachelor degree in Engineering/ Technology/ Architecture/ Pharmacy or
Master degree in any branch of Science/Mathematics/Statistics/Computer
Applications are eligible for Master/Doctoral programmes in Engineering/
Technology/Architecture/Pharmacy as well as for Doctoral programmes in
relevant branches of Science. To avail the scholarship, the candidate must
additionally secure admission to such a postgraduate programme, as per the
prevailing procedure of the admitting institution. GATE qualification,
however, is not required for candidates with Master degree in Engineering/
Technology/ Architecture/ Pharmacy who may be seeking
scholarship/assistantship for relevant doctoral programmes. The overall
coordination and responsibility of conducting GATE 2010 lies with Indian
Institute of Technology Guwahati , designated as the Organizing Institute
for GATE 2010.
Eligibility: The following categories of candidates are eligible to appear
in GATE:
ü Bachelor degree holders in Engineering/Technology/Architecture (4 years
after 10+2) and those who are in the final or pre-final year of such
programmes.
ü Master degree holders in any branch of
Science/Mathematics/Statistics/Computer Applications or equivalent and
those who are in the final or pre-final year of such programmes.
ü Candidates in the second or higher year of the Four-year Integrated
Master degree programme (Post-B.Sc.) in Engineering/Technology or in the
third or higher year of Five-year Integrated Master degree programme and
Dual Degree programme in Engineering/Technology.
ü Candidates with qualifications obtained through examinations conducted by
professional societies recognised by UPSC/AICTE (e.g. AMIE by IE (I), AMICE
(I) by the Institute of Civil Engineers (India)-ICE (I)) as equivalent to
B.E./B.Tech. Those who have completed section A or equivalent of such
professional courses are also eligible.
How To Apply: Candidates can submit Application Form in two different
1
GATE 2010.txt 9/16/2009
modes: Offline and Online Offline Online Application fee General and OBC Rs
1000 Application fee General & OBC Rs. 800 SC/ST/PD Rs. 500 SC/ST/PD Rs.
400 Application Submission Process Application Submission Process Step 1:
Procurement of Application Form Candidate can obtain a packet containing:
Offline Application Form Information Brochure Acknowledgment Card Envelope
from: Designated Bank Branches corresponding to each zone on cash payment.
Zonal GATE Office by sending a request letter and TWO self-addressed slips
along with a Demand Draft for appropriate amount. Over the counter from
Zonal GATE Office after handing over Demand Draft for appropriate amount.
Step 1: Select Payment Option: Online Payment: Online Payment is possible
through HDFC bank payment gateway using Mastercard or Visa credit cards or
debit cards of certain banks. Offline payment: Offline payment is possible
through a demand draft payable at Kanpur in the name of "Chairman GATE, IIT
Kanpur". Please obtain this prior to start of the online filling of the
application. Step 2: Obtain Digital Photo and Scanned Signature. Candidates
are advised to have a digital photograph and scanned signature prior to
starting the filling of application and these should be uploaded when
applying Online. Otherwise they have to submit it later. Step 2: Obtain
SC/ST/PD Certificate (if applicable) SC/ST and Disability Certificate
should be obtained from appropriate authority. Authorities empowered to
issue Certificates Step 3: Obtain SC/ST/PD Certificate (if applicable)
SC/ST and Disability Certificate should be obtained from appropriate
authority. The Certificate should also be scanned so that it can be
uploaded when applying online. Authorities empowered to issue Certificates.
Step 3: Fill in the Application Form: Candidates must follow the
instructions provided in GATE 2010 brochure. Step 4: Apply Online:
Candidates must follow the instructions provided on the online application
form filling page. Step 4: Post/Submission Duly filled-in Application Form
with appropriate enclosures must be sent by Registered or Speed post to The
Chairman, GATE of the Zone, where the candidate prefers (corresponding to
the 1st Choice of Examination City) to appear for the examination, on or
before Tuesday, November 03, 2009 OR It can be handed over personally to
respective Zonal GATE Office. Step 5: Post/Submission An application which
is incomplete by not uploading the necessary documents can be completed by
sending those documents by post along with a covering note that can be
printed on the online site. All such documents must reach the GATE office
at IIT Kanpur by November 3, 2009.
Important Dates: Aplication forms available from 22.09.2009 to 30.10.2009
Date and time of examination Sunday, February 07, 2010, 09.30-12.30
Online examination Sunday, February 07, 2010, 14.30-17.30
Offline examination all papers Sunday, February 14, 2010, 09.30- 12.30
Announcement of results Mar 15, 2010
Comments: Contact Addresses
Zone-1 Indian Institute of Science, Bangalore-560012 Phone: 080-22932392
Fax: 080-23601227 email: gate(at)gate.iisc.ernet.in Zone-2 Indian Institute
of Technology Bombay, Powai, Mumbai–400076 Phone: 022-25767068 Fax:
022-25723706 email: gateoffice(at)iitb.ac.in Zone-3 Indian Institute of
Technology Delhi, Hauz Khas, New Delhi-110016 Phone: 011-26591749 Fax:
011-26581579 email: gate(at)admin.iitd.ernet.in Zone-4 Indian Institute of
Technology Guwahati, Guwahati-781039 Phone: 0361-258 2751 Fax:
0361-2582755 email: gate(at)iitg.ernet.in Zone-5 Indian Institute of
Technology Kanpur, Kanpur-208016 Phone: 0512-2597412 Fax: 0512-259 0932
email: gate(at)iitk.ac.in Zone-6 Indian Institute of Technology, Kharagpur,
Kharagpur-721302 Phone: 03222-282091 Fax: 03222-278243 email: gate(at)
adm.iitkgp.ernet.in Zone-7 Indian Institute of Technology Madras,
Chennai-600036 Phone: 044-22578200 Fax:044-22578204 email: gate(at)
iitm.ac.in Zone-8 Indian Institute of Technology Roorkee, Roorkee-247667
Phone: 01332-284531 Fax: 01332-285707 email: gate(at)iitr.ernet.in New
Examination Cities included: IIT Bombay Zone: Loni, Pandharpur. IIT Delhi
Zone: Dausa IIT Guwahati Zone: Tezpur IIT Madras Zone: Karimnagar, Khammam,
Kothagudem, Nalgonda IIT Roorkee Zone: Muzaffarnagar New Bank Branch
included for obtaining Information Brochure and Application Form: IIT
Bombay Zone: Bangalore (IISc; St. Marks Road; Jayanagar) IIT Bombay Zone:
Loni (Near Swami Samarth Mandir), Pandharpur (Sawarkar Road), Shegoan IIT
Guwahati Zone: Bongaigaon (Main), Tezpur Main) IIT Madras Zone: Gudur,
2
GATE 2010.txt 9/16/2009
Karimnagar, Khammam, Kothagudem, Nalgonda What is new in GATE 2010 New
Paper introduced in GATE 2010: Biotechnology (BT) has been introduced as an
independent paper from GATE 2010. Common Component of General Aptitude (GA)
introduced in GATE 2010: Each GATE paper shall have a common General
Aptitude (GA) component carrying 15 marks from GATE 2010. Papers to be
discontinued from GATE 2010 onwards: Due to introduction of an independent
paper in Biotechnology (BT), the Biotechnology section in Life Sciences
(XL) paper has been discontinued from GATE 2010. There will not be GATE
2010 examination in Pharmaceutical Sciences (PY) paper. For more
information about the organization which will be conducting a GATE like
examination for PY, the candidates are advised to visit GATE 2010 website
from time to time. ONLINE Examination for MN and TF paper: Computer based
ONLINE examination for the paper MN will be held in Bangalore, Chennai,
Delhi, Guwahati, Kanpur, Kharagpur, Mumbai, Roorkee on February 07, 2010
(Sunday) at 09.30 hrs – 12.30 hrs Computer based ONLINE examination for the
paper TF will be held in Bangalore, Chennai, Delhi, Guwahati, Kanpur,
Kharagpur, Mumbai, Roorkee February 07, 2010 (Sunday) 14.30 hrs – 17.30 hrs
Online Application form with online payment option: Online payment is
possible through HDFC bank payment gateway using Mastercard or Visa credit
cards, and debit cards of certain banks as listed on the web site. Offline
payment is also possible through a demand draft
3
 

About

Site Info

Information Source

GATE 2010 Copyright © 2009 Community is Developed by Rajesh Kumar Rolen WebSite

/* tracking code by yahoo login */