<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6998080791055075605</id><updated>2012-02-16T00:52:09.275-08:00</updated><category term='SEPTEMBER 2003'/><title type='text'>SASKEN PAPERS</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://saskenpapers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6998080791055075605/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://saskenpapers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Giri Prasad Mutta</name><uri>http://www.blogger.com/profile/08563801841591925686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://bp3.blogger.com/_4g1eV2MpL68/R6xyM7ZeYNI/AAAAAAAAA2o/iMoUGokYxco/S220/giri+with+pulss.JPG'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6998080791055075605.post-8833927264525953319</id><published>2007-05-05T06:39:00.000-07:00</published><updated>2007-05-05T06:41:10.684-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SEPTEMBER 2003'/><title type='text'>SASKEN SEPTEMBER 2003</title><content type='html'>Exam conducted on 20th Sep 2003(Shreds,Kochi)&lt;br /&gt;Pattern : C(10 Qs) + Aptitude(10 Qs) + Discpline&lt;br /&gt;based[CS/EC](10 Qs)&lt;br /&gt;Duration : 1 Hr&lt;br /&gt;C questions&lt;br /&gt;------------&lt;br /&gt;1.Consider the following declaration:-&lt;br /&gt;char const *p = 'd';&lt;br /&gt;Which of the following is not a permissible operation&lt;br /&gt;(a) *p++&lt;br /&gt;(b) ++p&lt;br /&gt;(c) (*p)++&lt;br /&gt;(d) All&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.What is the output of the following code:-&lt;br /&gt;void print_arr(float **p)&lt;br /&gt;{&lt;br /&gt;printf(" 0 %f 1 %f 2 %f\n",p[0][0],p[0][1],p[0][2]);&lt;br /&gt;}&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;float arr[2][3] = {{0,1,2},{3,4,5}};&lt;br /&gt;float **fl_arr;&lt;br /&gt;fl_arr = (float *)arr;&lt;br /&gt;print_arr(fl_arr);&lt;br /&gt;fl_arr++;&lt;br /&gt;print_arr(fl_arr);&lt;br /&gt;}&lt;br /&gt;(a)&lt;br /&gt;(d)segmentation fault&lt;br /&gt;&lt;br /&gt;3.What is the output of the following code:-&lt;br /&gt;#define putchar (c) printf("%c",c)&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;char s='c';&lt;br /&gt;putchar (s);&lt;br /&gt;}&lt;br /&gt;(a) c&lt;br /&gt;(b) 99&lt;br /&gt;(c) Compilation error&lt;br /&gt;(d) Execution error&lt;br /&gt;&lt;br /&gt;4.What is the output of the following code:-&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;printf("%d",printf("ABC\\"));&lt;br /&gt;}&lt;br /&gt;(a) ABC\\&lt;br /&gt;(b) 1&lt;br /&gt;(c) ABC\4&lt;br /&gt;(d) ABC\3&lt;br /&gt;&lt;br /&gt;5.What is the output of the following code:-&lt;br /&gt;int compute(int n)&lt;br /&gt;{&lt;br /&gt;if(n&gt;0)&lt;br /&gt;{&lt;br /&gt;n=compute(n-3)+compute(n-1);&lt;br /&gt;return(n);&lt;br /&gt;}&lt;br /&gt;return(1);&lt;br /&gt;}&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;printf("%d",compute(5));&lt;br /&gt;}&lt;br /&gt;(a) 6&lt;br /&gt;(b) 9&lt;br /&gt;(c) 12&lt;br /&gt;(d) 13&lt;br /&gt;&lt;br /&gt;6.What is the output of the following code:-&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;for(i=0;i&lt;3;i++)&lt;br /&gt;{&lt;br /&gt;int i=100;&lt;br /&gt;i--;&lt;br /&gt;printf("%d..",i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;(a0..1..2..&lt;br /&gt;(b)99..98..97..&lt;br /&gt;(c)100..100..100..&lt;br /&gt;(d)99..99..99..&lt;br /&gt;&lt;br /&gt;7.What is the output of the following code:-&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int a[]={9,4,1,7,5};&lt;br /&gt;int *p;&lt;br /&gt;p=&amp;a[3];&lt;br /&gt;printf("%d",p[-1]);&lt;br /&gt;}&lt;br /&gt;(a)6&lt;br /&gt;(b)1 ans&lt;br /&gt;(c)7&lt;br /&gt;(d)Error&lt;br /&gt;&lt;br /&gt;8.What is the output of the following code:-&lt;br /&gt;void main()&lt;br /&gt;{&lt;br /&gt;int a[]={10,20,30,40,50};&lt;br /&gt;int *p;&lt;br /&gt;p= (int*)((char *)a + sizeof(int));&lt;br /&gt;printf("%d",*p);&lt;br /&gt;}&lt;br /&gt;(a)10&lt;br /&gt;(b)20&lt;br /&gt;(c)30&lt;br /&gt;(d)40&lt;br /&gt;&lt;br /&gt;9.Which code will run faster&lt;br /&gt;for(i=0;i&lt;100;i++)&lt;br /&gt;for(j=0;j&lt;10;j++)&lt;br /&gt;a[i][j]=0;&lt;br /&gt;OR&lt;br /&gt;for(j=0;j&lt;10;j++)&lt;br /&gt;for(i=0;i&lt;100;i++)&lt;br /&gt;a[i][j]=0;&lt;br /&gt;(a)First code&lt;br /&gt;(b)Second code&lt;br /&gt;(c)Same&lt;br /&gt;(d)Compiler and hardware dependent&lt;br /&gt;Answers(Only those which are sure)&lt;br /&gt;-----------------------------------&lt;br /&gt;1.(c)&lt;br /&gt;3.(c)&lt;br /&gt;4.(c)&lt;br /&gt;5.(b)&lt;br /&gt;6.(d)&lt;br /&gt;7.(b)&lt;br /&gt;8.(b)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;Aptitude&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;--------&lt;br /&gt;1.How many 2 digit numbers are there which have 8 as the unit number in it's square.&lt;br /&gt;(a)3&lt;br /&gt;(b)None&lt;br /&gt;(c)2&lt;br /&gt;(d)1&lt;br /&gt;&lt;br /&gt;2. B is 8km East of A. C is 6km North of B. D is 12km East of C. E is 16km North of D.&lt;br /&gt;What is the distance b/w A and E.&lt;br /&gt;(a)20km&lt;br /&gt;(b)22km&lt;br /&gt;(c)18km&lt;br /&gt;(d)30km&lt;br /&gt;&lt;br /&gt;3. x+y = z&lt;br /&gt;Then&lt;br /&gt;(a)...&lt;br /&gt;(b)y&lt;z&lt;br /&gt;(c)...&lt;br /&gt;&lt;br /&gt;4. 2&lt;x&lt;3 , 7&lt;y&lt;8&lt;br /&gt;Then which is the greatest&lt;br /&gt;(a) (x^2)y&lt;br /&gt;(b) 5xy&lt;br /&gt;(c) x(y^2)&lt;br /&gt;(d) 5(x^2)y/12&lt;br /&gt;&lt;br /&gt;5. A is taller than B, D is taller than D, D is&lt;br /&gt;shorter than E.Then which of the following is correct.&lt;br /&gt;(a) C is taller than E&lt;br /&gt;(b) A is taller than C&lt;br /&gt;(c) D is shorter than A&lt;br /&gt;(d) B is shorter than C&lt;br /&gt;&lt;br /&gt;6.A small passage was given and 4 options which summarizes it was given.The best was to be chosen.&lt;br /&gt;&lt;br /&gt;7.Another passage was given and 4 inference was given and correct was to be chosen.This one is very easy.&lt;br /&gt;&lt;br /&gt;8.Which of the following is a parellogram:-&lt;br /&gt;(a)130,50,130,50(angle in deg)&lt;br /&gt;(b)120,30,130,20&lt;br /&gt;(c)90,90,90,90&lt;br /&gt;(d)a &amp; c&lt;br /&gt;&lt;br /&gt;9. In the following series (an - 1)^2, 1 is the first&lt;br /&gt;term.Which are the next three&lt;br /&gt;(a)1,3,4&lt;br /&gt;(b)0,3,6&lt;br /&gt;(c)0,1,2&lt;br /&gt;(d)0,1,0&lt;br /&gt;Answers&lt;br /&gt;-------&lt;br /&gt;1.(b)&lt;br /&gt;2.(d)&lt;br /&gt;3.(b)&lt;br /&gt;4.(c)&lt;br /&gt;5.(c)&lt;br /&gt;8.(d)&lt;br /&gt;9.(d)&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;"&gt;Computer science&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;----------------&lt;br /&gt;1.Deadlock occur when&lt;br /&gt;(a)Some resources are held up by some process.&lt;br /&gt;(b)...&lt;br /&gt;(c)...&lt;br /&gt;(d)None of these&lt;br /&gt;&lt;br /&gt;2. A prefix expression can be equal to a postfix&lt;br /&gt;expression reversed only if&lt;br /&gt;(a)It is left associative&lt;br /&gt;(b)It is commutative&lt;br /&gt;(c)It is right associative&lt;br /&gt;&lt;br /&gt;3.How many lines will be printed in the following Pascal pgm.&lt;br /&gt;[I don't remember the Pascal version,so I am giving C version]&lt;br /&gt;void print(int n)&lt;br /&gt;{&lt;br /&gt;if(n&gt;0)&lt;br /&gt;{&lt;br /&gt;print(n-1);&lt;br /&gt;printf("%d",n);//println(n) in Pascal version.&lt;br /&gt;print(n-1);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;(a)3&lt;br /&gt;(b)7&lt;br /&gt;(c)15&lt;br /&gt;(d)31&lt;br /&gt;&lt;br /&gt;4.Maximum number of nodes in a tree with n levels.&lt;br /&gt;(a)2^(n-1)&lt;br /&gt;(b)(2^n)-1&lt;br /&gt;(c)2^(n-1) - 1&lt;br /&gt;&lt;br /&gt;5.Complete graphwith n nodes have&lt;br /&gt;(a)n-1 edges&lt;br /&gt;(b)n(n-1)/2&lt;br /&gt;&lt;br /&gt;6.If d is the degree of a node in a graph and n is number of vertices then number of edges in that graph is&lt;br /&gt;(a)Edi^n&lt;br /&gt;(b)0.25Edi&lt;br /&gt;(c)0.5Edi&lt;br /&gt;&lt;br /&gt;7.A grammar was given and 4 strings was given and the&lt;br /&gt;one which was not possible was to be chosen.&lt;br /&gt;&lt;br /&gt;8.A problem related to ethernet in which a station sending a frame is of p probablity.There are m stations to send pckts.4 option was given.It was a mathematical kind of question related to probablity.&lt;br /&gt;&lt;br /&gt;9.Which of the following layer in the OSI model does&lt;br /&gt;error handling&lt;br /&gt;(a)Data link&lt;br /&gt;(b)Network&lt;br /&gt;(c)Transport&lt;br /&gt;(d) a &amp; c&lt;br /&gt;&lt;br /&gt;10.A network problem in which Data rate,Propagation&lt;br /&gt;delay,and distance was given and it was to find how&lt;br /&gt;many packets will be in the line.&lt;br /&gt;Choices where&lt;br /&gt;(a)5000&lt;br /&gt;(b)Not possible to find with given data&lt;br /&gt;(c)1000&lt;br /&gt;Answers(Not very sure about all the answers)&lt;br /&gt;--------------------------------------------&lt;br /&gt;1.(d)&lt;br /&gt;2.(b)&lt;br /&gt;3.(c)&lt;br /&gt;4.(b)&lt;br /&gt;6.(c)&lt;br /&gt;9.(d)&lt;br /&gt;10.(a)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Interview [For CS students]&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;---------&lt;br /&gt;&lt;br /&gt;There is Tech as well as HR interview.&lt;br /&gt; Tech interview is the important one.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Tech interview questions&lt;/strong&gt;&lt;br /&gt;------------------------&lt;br /&gt;&lt;br /&gt;They will ask about the project.They will ask general questions about it and most probably will not go into the implementation part of it.So one must have a general idea about the project done.&lt;br /&gt;Interview is mainly based on Data Structures.Some questions are as follows:-&lt;br /&gt;&lt;br /&gt;- What is a tree,its application,order for insertion,deletion and traversal with worst case analysis.&lt;br /&gt;- What is a graph,its application.&lt;br /&gt;- Height of a tree&lt;br /&gt;- Balanced tree and how to balance a tree&lt;br /&gt;- Minimum Spanning Tree&lt;br /&gt;- Dijikstra's, Prim algorithms&lt;br /&gt;- Define a structure for a linked list.&lt;br /&gt;- Binary search and its analysis&lt;br /&gt;- Heap sort and its analysis&lt;br /&gt;- What is a heap and its application&lt;br /&gt;- Cache and its working&lt;br /&gt;- Memory(IO mapped)&lt;br /&gt;- Recursive fns and types, its adv and disadv.&lt;br /&gt;- Compiler(grammar)&lt;br /&gt;&lt;br /&gt;*****C debugging questions like&lt;br /&gt;&lt;br /&gt;(1)What is the problem with the following code&lt;br /&gt;int * f(int a)&lt;br /&gt;{&lt;br /&gt;int i;&lt;br /&gt;i=a;&lt;br /&gt;return(&amp;i);&lt;br /&gt;}&lt;br /&gt;Ans-&gt; We can't return address of auto variable as it&lt;br /&gt;is allocation is made in stack which is deallocated&lt;br /&gt;when the function returns.&lt;br /&gt;&lt;br /&gt;(2)&lt;br /&gt;a.h b.c c.c d.c&lt;br /&gt;int i=0 #include"a.h" #include"a.h" extern int&lt;br /&gt;i;void main{.....}&lt;br /&gt; &lt;br /&gt;b.o c.o d.o&lt;br /&gt;Compilation Phase&lt;br /&gt;Linked to get exe.&lt;br /&gt;Will there be any problem in any phase.If yes then&lt;br /&gt;where and what?&lt;br /&gt;In linking phase as there will be multiple declaration&lt;br /&gt;of i.&lt;br /&gt;*****You will be told to write some code like&lt;br /&gt;(1)To find string length by using recursive function.&lt;br /&gt;(2)To find fibonaci series by using recursive&lt;br /&gt;function.&lt;br /&gt;&lt;br /&gt;(3)To write code for malloc so that allocation may be&lt;br /&gt;made fastly.&lt;br /&gt;&lt;br /&gt;(4)Write a fn prototype which return a pointer which&lt;br /&gt;points to an array of 10 ints.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="font-size:130%;color:#ff0000;"&gt;HR Interview&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;------------&lt;br /&gt;- Introduce yourself&lt;br /&gt;- Why should we take you&lt;br /&gt;- What you know about Sasken and etc.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;while(Still@Freshers) printf("Wish you all the BEST");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6998080791055075605-8833927264525953319?l=saskenpapers.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://saskenpapers.blogspot.com/feeds/8833927264525953319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6998080791055075605&amp;postID=8833927264525953319' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6998080791055075605/posts/default/8833927264525953319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6998080791055075605/posts/default/8833927264525953319'/><link rel='alternate' type='text/html' href='http://saskenpapers.blogspot.com/2007/05/sasken-september-2003.html' title='SASKEN SEPTEMBER 2003'/><author><name>Giri Prasad Mutta</name><uri>http://www.blogger.com/profile/08563801841591925686</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://bp3.blogger.com/_4g1eV2MpL68/R6xyM7ZeYNI/AAAAAAAAA2o/iMoUGokYxco/S220/giri+with+pulss.JPG'/></author><thr:total>0</thr:total></entry></feed>
