TAB

C-Program For Addition_Of_Digits_Number



C-Code to sum the digits of a number

#include<stdio.h>
#include<conio.h>
void main()
{
  int n,sum=0,i;
  printf("Enter the number: ");
  scanf("%d",&n);
  while(n)
  {
      i=num%10;
      num=num/10;
      sum=sum+i;
  }
  printf("Sum of digits of %d is %d",n,sum);
  getch();
}

Output:
Enter the number: 567
Sum of digits of 567 is 18
___________________________________________________________

Sum of digits of a number

#include<stdio.h>
#include<conio.h>
void main()
{
  int n,sum=0,i;
  printf("Enter the number: ");
  scanf("%d",&n);

  for(;n!=0;n=n/10)
 {
      i=n%10;
      sum=sum+i;
  }
  printf("Sum of digits of  %d is %d",n,sum);
  getch();
}

Output:
Enter a number: 567
Sum of digits of number:  18
___________________________________________________________

Addition of digits of a number to a single digit


#include<stdio.h>
#include<conio.h>
void main()
{
int n,sum,d;
sum=0;
printf("Enter the number: ");
scanf("%d",n);
while((n>9) || (n==10))
{
while(n>0)
{
d=n%10;
n=n/10;
s=s+d;
}
n=sum;
}
printf("Sum of digits to a single number of a given number %d is %d",n,sum);
getch();
}

Output:
Enter the number: 567
Sum of digits to a single number of a given number 567 is 9

Cognizant Placement Paper set 3

 
Pondicherry
SECTION I - 8 questions.
Series.
1.   Interchange of letters in a word and the adjacent 
letters are also to
be changed.  given letters series like [also few condotions]
  AAABBB=
  ABABAB=
LET QUESTION IS ABBAAB
        If we apply 25 on this it means we have to
interchange the letters
at positions 2 and 5, and we have to change the adjacent 
letters 2 and 5
from A to B and B to A.  
That is   q's A B B A A B
  after Step 1 i.e interchange 2 and 5. 
  now change adjacent elements of 2 and 5...finally answer 
becomes
Ans:    B A A B B A
 
//Hint:  As per question papers 5 questions above like  but 
numbers
change.
REMAINING 3 QUESTIONS:
 6. To  get AAABBD  from BBBAAA  what ot apply:-
  a) 25   b) 34   c)25 & 34  d) none
CTS Placement Papers | CTS Interview Procedure | CTS 
Aptitude Questions | CTS Technical Questions | CTS
Interview Questions
SECTION II
1.  Given the function f(n  a  b c ) = ac if n=1
        f(n a b c) = f( n-1  a b  c) + f( 1 a  b  c) + f( n-
1  b a c )
                        if n >  1
        f( 2) = ?
Ans:  f( 2 a c b ) = ab + ac + bc.
2. similar question in functions.
3. [ based on function in 1.]   f( 4 a b c )  the number of 
terms is...?
Ans:  f( 4 a b c ) =  f( 3 a c b ) + f( 1 a b c ) + f( 3 b 
a c )  etc.
           = 5ab + 5ac + 5bc.
4. f( 5 a b c ) = ?
SECTION III Permutations and Combinations.
8 questions.
1. r = number of flags;
   n = number of poles;
   Any number of flags can be accommodated on any single 
pole.
  i)  r=5,n=5 The no. of ways the flags can be arranged ?
 ii) to iv) are based on this.
6.  r= 5 n = 3 . If first pole has 2 flags ,third pole has 
1 flag        
   how many ways the remaining can be arranged?
7.& 8. same as above.
SECTION IV
Question consising of figures consist of 4 small squares 
and every square
having an arrow pointing in one Direction.
GRE test of reasoning.
hint: What is the next sequence if we tilt the figure by 90 
degrees like
that( clockwise  and mirror images ? ).
SECTION V
In this section first part of compound word is given. 
Select meaning of
the second part from the choice given:
        1. Swan
        2. Swans
        3. Fool
        4. Fools
        5. Stare
        6. Lady
  For all above 4 choices are given.....
Eg. Swan
  a) category  b) music   c) ---   d) none
Ans: Swansong is compound word. But song is not given as 
option. so 
     b) music is answer.
CTS Placement Papers | CTS Interview Procedure | CTS 
Aptitude Questions | CTS Technical Questions | CTS
Interview Questions
TS 99 PAPER .  
*This paper contains 40 questions and time is 60mts.*/
CTS -REC'99(TRICHY)
SECTION-1:
Find the sequence: (       d is always NONE        )
1. BC  CE  EG  GK ?
        a)KN    b)KU    c)KM    d)
2. AA  AB  BC  CE?
        a)EG    b)EH    c)EI    d)
3. AB  EF  JK  QR ?
        a)YZ    b)ZA    c)AB    d)
4.ACD  EGL  IKT  MOB?
        a)QST   b)QSZ   c)QSY   d)
5.AC CG GO OE?
        a)EJ    b)EI    c)EL    d)
6.AE BH CM DU?
        a)EH     b)EZ    c) EB  d)
7. AD DP PL LV
        a)VS     b)VK   c)VI    d)
8. SE QU EN TI?
        a)CN    b)BM    c)AI or AZ    d)
SECTION-II:
FIND THE VALUES FOR FOLLOWING PROBLEM:
        F(X)= 2X-1 + f(X-1) if X NOT EQUAL TO ZERO
                            if f(X=0)=0
9. f(5) VALUE
        a)15  b)24  c)22  d)NONE
10.f(f(2))
11.f(16)- f(15)
12.f(16)+f(15)-480
13.f(f(x))=81 THEN VALUE OF X=
14.f(X)=4f(X-1) THEN VALUE OF X=
15.f(X)= f(X-1)+f(X-2) FOR X>1 THEN X=
16.f(X)-f(X-1)=f(X-8) FOR X>5 THEN X=
SECTION -III:
###In the follwing questins we r giving 'aword' which may 
not have any
meaning.Find differnet possible words or palandrams for the 
word as per que.
I. for the following find no of distinct words that can be 
formed.
17. TYGHHTT
A).420 B)1540 C)840 D)NONE
18. TYGHHTY
19. TYGHHTT
20. TYGHHTT
21. TYGHASD
22. TYGHHTY
II Find NO OF POSSIBLE PALANDRAMS for following
23. TYGHHTY
24. TYHHHTYH. /*dEAR FRIENDS DON,T CONFUSE WITH THE WORDS REPEATED.Iam 
sure.Words are
same.They might have changed the 
questionsfor20,21,22.Concentrate on that 
respect*/
25 to 32 are figures.Uhave to analyse them.He will give 
five figs.One is not 
correct
SECTION IV:
        It having complete of figs.(26 -32)
SECTION -V:
For following first find out the anagram and then note the 
corresponding 
meaning.
33.TABLET(anagram means first u arrange the letters in 
correct order like
         (TABLET===BATTLE .  so ans is   FIGHT i.e. B)
34.RUGGED
35.GORE.
36.STASSI.
For all above choices are.
A) resentment B)Fight c)Help d) Monster
37. ENFOLD
38. LAMB
39. RECEDE.
40. PLEASE.
For above 4  choices are same
A)cuddle B)sleeping c)proclamination d)ointment.

Cognizant Placement Paper Set 2




Written test consists of three sections

VERBAL SECTION (25 questions-25min)
(1-10) comprehension (passages r too long)
(11-15) find the incorrect sentences
(16-20) find the correct sentences
(21-25) arrange the jumbled sentences
This is a quiet tough section. Just make guesses. Mark option B or C.Always read passage at last.Read questions first.
ANALTICAL SECTION (25 questions-30min) 
(1-5) Venn diagram 

A group is divided into three. The first group is persons of 5'6 height and second and third r 6'0 and 6'6 respectively. There r totally 130 peoples, 50 of them r 5'6 and 65 of them r 6'6, 10 of them r 5'6 and 6'6, 15 of them r 5'6 and 6, 20 of them r 6'6 and 6, and 5 of them r all the three.
(1) How many of them r 6 feet? (Ans 70)
(2) How many of them r only 6 feet? (Ans 30)
(3) How many of them are only 5’6? (Ans 20)
(4) How many of them are only 6’6? (Ans 30)
(5) How many of them are at least two? (Ans 50)  
Important formula in Venn diagram is
EXACTLY ONE = TOTAL - EXACTLY TWO - ALL THREE  
(6-10) quantitative questions  

Questions on Blood relations(quite difficult) 
Other questions r from profit loss and other general questions. Sorry I don’t remember  
(11-15) data sufficiency--Very easy one
(16-20) binary conversion
Please don’t read anything in the question. Just change any value to binary and convert that 1 to $ and 0 to *.
(Eg) LCM of (12 15 10) (ans 60 = 111100 = $$$$**)
(21-25) cubes
Questions like :if a dice is thrown 2 on top,3&5 at left &right,in another turn 5 on top,3&4 at left&right and one another condition(dont remember exactly)
21-25 What is opposite to 5?.....
NON VERBAL SECTION (20 questions-20 min)  
(1-4) syllogism (study all rules in the aggarwal book but TIME book will help u a lot)
(Eg) All mosquitoes’ are lizards.
All lizards are insects.
(Ans: all mosquitoes’ are insects)
(5-6) logical deduction (study all rules from TIME book)
(7-15) figure sequence and odd one out from figures (very easy)(just go through R S Agarwal)  
(16-17) Seating arrangement
(18-20) logical puzzle
After two hours the sortlist was declared by them .I was almost sure that I would be clearing the aptitude.

          
The Merit Track conducted the test. It was organized perfectly and they expect discipline from us.. Before the test u have to fill a form. Do it carefully because some of my friends got questions 4m tat.

1.Software Orientation:
2.Hobbies and extra-curricular activities
3.Strengths and Weakness
4.Expectation from CTS
5.Why CTS
6. Long term and short-term goal with CTS
7.What are the qualities necessary for software professional to be successful



WRITTEN TEST (3 sections) NO –VE MARKING

1.Analytical Ability (25 Q, 30 Minutes)
Venn diagram questions
Data sufficiency
coding 1 represented as $ and 0 as *(easy.. jus convert it into Binary)
Cubes related questions are very important

My suggestion is do Coding First. Then Venn dig. Cube problem n others..u can surely score full marks fm coding n venn dig…cube is also easy when u understand it.For cube take the cubic root of the no of pieces.64 means 4(keep as x value)..then 2 side painted means   12*(x-2).1side painted means 6*(x-2) 2 .  (horizontal n vertical) like wise u must think  n apply according to the question..

1.venn dig- people hving dif heights 6feet ,6’6 feet, 5’5 feet.and questions like no of people who is 6 feet.no of people who is 5’5feet…..
2.In codin there will be only normal arithmetic operations n L.c.m..i don remember them.
For ex..64/4= 16 = $****.first solve it n convert it to binary..

3.Cube- a cube of 12 cm is cut into small 3cm pieces..then place another 4 small cubes  over it..and another 2 small cubes over the 4cubes..then again one more cube over the 2 cube…the cube is then painted from top to bottom
12/3=4…so 4row 4column…draw a dig of cube first. Imagining the cube only help u to solve rather than formulas. How many cubes r painted on only one side?
how many cubes r painted on only 2 sides?
how many cubes r painted on only 3 sides?
how many cubes r painted on only 4 sides?
how many cubes r painted 0 sides?
(my friends told me tat cube problems hav more marks than other questions)

2.Verbal Ability (20 Q, 20 Min)
Comprehension
Find out the incorrect sentence
Find out the correct sentence
Jumbled Passages
-Don prepare any thing for this ..It won help u..Jumbled sent n correct incorrect sent are a little confusing..it depends on ur grammer n English language skills.  do the comprehension last(it is a very big passage..i didn’t even read  it ,jus ticked..no time)
3.Attention Details (20 Q, 20 Min)
Find the odd man out
Analogy of figures (Simple)
syllogism
Puzzle
Very easy compared to other sections..any one can crack it with out any preparation..If u think to prepare jus go through puzzle test n syllogism from R.S.Agarwal Verbal reasoning
Analogy of figures –Non verbal Reasoning
   
  Set 3
      1. A says " the horse is not black".
      B says " the horse is either brown or grey."
      c says " the hoese is brown"
      At least one is telling truth and atleast one is lying. tell 
  the colour of horse.
     
   Answer : grey
      
   2. A son and father goes for boating in river upstream . After 
  rowing for 1 mile son notices the hat of his fathe falling in the river. 
  After 5min. he tells his father that his hat has fallen. So they turn around 
  and are able to pick the hat at the point from where they began boating 
  after 5min.
  Tell the speed of river.
   Ans...6 miles/hr
      
   3  A+B+C+D=D+E+F+G=G+H+I=17  where each letter represent a 
  number from 1 to 9. Find out what does letter D and G represent if letter A=4.   
   (8 marks)
   ans.   D=5
          G=1
    4. Argentina had football team of 22 player of which captain is 
  from Brazilian team and goalki from European team. For remainig 
  palayer they have picked 6 from argentinan and 14 from european. Now for a 
  team of 11 they must have goalkeeper and captain so out of 9 now they plan to 
  select 3 from argentinian and 6 from European. Find out no. of methods avilable
  for it (2 marks)
   Ans : 160600( check out for right no. 6C3 * 14C6)
      
   5 Three thives were caught stealing sheep, mule and camel.
     A says " B had stolen sheep "
     C says " B had stolen mule"
     B says he had stolen nothing.
      the one who had stolen horse is speaking truth. the one who had stolen 
   camel is lying . Tell  who had stolen what? (5 marks)
   ans. A- camel
        B- mule
        C- horse
   6  a group of friends  goes for dinner and gets bill of Rs 2400 .
 Two of them says that they have forgotten their purse so remaining 
  make an extra contribution of Rs 100 to pay up the bill. Tell the no. of 
  person in that group. (3 marks)
 Ans - 8 person
7. In acolony there are some families. Each of them have 
  children but different in numbers.Following are conditions
     a  no of adult no of sons no of daughters no of families.
     b each sister must have atleast one brother and should have 
  at themost 1 sister.      
     c  no of children in one family exceeds the sum of no of 
  children in the rest families.
   Tell the no of families.(5 marks)
    ans : 3 families
   8. There are 6 people W,H,M,C,G,F who are murderer , victim , 
  judge , police, witness, hangman. There was no eye witness only 
  circumtancial witness. The murderer was sentenced to death.
   Read following statement and determine who is who.
   1. M knew both murderer and victim.
   2. Judge asked C to discribe murder incident.
   3. W was last to see F alive.
   4. Police found G at the murder site.
   5 H and W never met.
   

Cognizant Placement Paper Set 1


SECTION I - 8 questions.
Series.
1.   Interchange of letters in a word and the adjacent letters are also to
be changed.  given letters series like [also few condotions]
  AAABBB=
  ABABAB=
LET QUESTION IS ABBAAB
        If we apply 25 on this it means we have to interchange the letters
at positions 2 and 5, and we have to change the adjacent letters 2 and 5
from A to B and B to A.  
That is   q's A B B A A B
  after Step 1 i.e interchange 2 and 5. 
  now change adjacent elements of 2 and 5...finally answer becomes
Ans:    B A A B B A
 
//Hint:  As per question papers 5 questions above like  but numbers
change.
REMAINING 3 QUESTIONS:
 6. To  get AAABBD  from BBBAAA  what ot apply:-
  a) 25   b) 34   c)25 & 34  d) none
SECTION II
1.  Given the function f(n  a  b c ) = ac if n=1
        f(n a b c) = f( n-1  a b  c) + f( 1 a  b  c) + f( n-1  b a c )
                        if n >  1
        f( 2) = ?
Ans:  f( 2 a c b ) = ab + ac + bc.
2. similar question in functions.
3. [ based on function in 1.]   f( 4 a b c )  the number of terms is...?
Ans:  f( 4 a b c ) =  f( 3 a c b ) + f( 1 a b c ) + f( 3 b a c )  etc.
           = 5ab + 5ac + 5bc.
4. f( 5 a b c ) = ?
SECTION III
Permutations and Combinations.
8 questions.
1. r = number of flags;
   n = number of poles;
   Any number of flags can be accommodated on any single pole.
  i)  r=5,n=5 The no. of ways the flags can be arranged ?
 ii) to iv) are based on this.
6.  r= 5 n = 3 . If first pole has 2 flags ,third pole has 1 flag        
   how many ways the remaining can be arranged?
7.& 8. same as above. SECTION IV
Question consising of figures consist of 4 small squares and every square
having an arrow pointing in one Direction.
GRE test of reasoning.
hint: What is the next sequence if we tilt the figure by 90 degrees like
that( clockwise  and mirror images ? ).
SECTION V
In this section first part of compound word is given. Select meaning of
the second part from the choice given:
        1. Swan
        2. Swans
        3. Fool
        4. Fools
        5. Stare
        6. Lady
  For all above 4 choices are given.....
Eg. Swan
  a) category  b) music   c) ---   d) none
Ans: Swansong is compound word. But song is not given as option. so 
     b) music is answer.
TS 99 PAPER .  
*This paper contains 40 questions and time is 60mts.*/
     CTS -REC'99(TRICHY)
SECTION-1:
Find the sequence:
(       d is always NONE        )
1. BC  CE  EG  GK ?
        a)KN    b)KU    c)KM    d)
2. AA  AB  BC  CE?
        a)EG    b)EH    c)EI    d)
3. AB  EF  JK  QR ?
        a)YZ    b)ZA    c)AB    d)
4.ACD  EGL  IKT  MOB?
        a)QST   b)QSZ   c)QSY   d)
5.AC CG GO OE?
        a)EJ    b)EI    c)EL    d)
6.AE BH CM DU?
        a)EH     b)EZ    c) EB  d)
7. AD DP PL LV
        a)VS     b)VK   c)VI    d)
8. SE QU EN TI?
        a)CN    b)BM    c)AI or AZ    d)
SECTION-II:
FIND THE VALUES FOR FOLLOWING PROBLEM:
        F(X)= 2X-1 + f(X-1) if X NOT EQUAL TO ZERO
                            if f(X=0)=0
9. f(5) VALUE
        a)15  b)24  c)22  d)NONE 10.f(f(2))
11.f(16)- f(15)
12.f(16)+f(15)-480
13.f(f(x))=81 THEN VALUE OF X=
14.f(X)=4f(X-1) THEN VALUE OF X=
15.f(X)= f(X-1)+f(X-2) FOR X>1 THEN X=
16.f(X)-f(X-1)=f(X-8) FOR X>5 THEN X=
SECTION -III:
###In the follwing questins we r giving 'aword' which may not have any
meaning.Find differnet possible words or palandrams for the word as per que.
I. for the following find no of distinct words that can be formed.
17. TYGHHTT
A).420 B)1540 C)840 D)NONE
18. TYGHHTY
19. TYGHHTT
20. TYGHHTT
21. TYGHASD
22. TYGHHTY
II Find NO OF POSSIBLE PALANDRAMS for following
23. TYGHHTY
24. TYHHHTYH.
/*dEAR FRIENDS DON,T CONFUSE WITH THE WORDS REPEATED.Iam sure.Words are
same.They might have changed the questionsfor20,21,22.Concentrate on that 
respect*/
25 to 32 are figures.Uhave to analyse them.He will give five figs.One is not 
correct
SECTION IV:
        It having complete of figs.(26 -32)
SECTION -V:
For following first find out the anagram and then note the corresponding 
meaning.
33.TABLET(anagram means first u arrange the letters in correct order like
         (TABLET===BATTLE .  so ans is   FIGHT i.e. B)
34.RUGGED
35.GORE.
36.STASSI.
For all above choices are.
A) resentment B)Fight c)Help d) Monster
37. ENFOLD
38. LAMB
39. RECEDE.
40. PLEASE.
For above 4  choices are same
A)cuddle B)sleeping c)proclamination d)ointment.
      COGNIZENT - Part 2 
    1. In a triangle ABC AB=AC then all the following are correct
exept one. Find that.
a) AB<AC+BC b)AC<AB+BC c)BC<AB+AC d) AB+BC>AC+BC
  
2. Ten years ago the father's age is seven times the son's
age. Two years later father's age is twice the son's. Then the
find the ages.
  
3. The father's age is 3 times the son's. After 15 years its age
becomes twice the son's. Find the son's age now.
4. Two times which are started from stations A and B which are
seperated by 110 km. One train leaves station A at 7 am. and 
travels 20 kmph. The other train leaves station B at 8 am. will
speed of 25 kmph. Then at what time will they meet if they are
travelling in opposite direction.
a) 7 am. b) 10 am. c) 12 noon. d) 11 am.
  
5) x+2y=2 , 2x-y=4 then 
i)x=2 ii)x=0 y=0 iii) x-y=2
a)i only b) ii only c) none d)i and ( ) only
6) In a family E is the father of two sons and a daugher who is 
unmarried. Daugher in-law is an officer whose brother_in_law A
is Engineer. C is doctor. The sister of B is Violenist who learnt  Violin from B's wife. Then
  
6) What is the relationship between A&B. (ans. brothers)
7) Who is the wife of B (ans. officer)
8) What is the relation between E&B. (ans. father and son)
9) In a word COINCIDENCE the 1st letter is interchanged with
3ed letter and 2nd letter with 4th and so on. So what is the 
seventh letter from the right after interchanging.
ans is D.
  
10) Minmise 123658/234586= (ans is 0.52)
11) A and B can do a work in 6 days. B alone can do in 16 days.
After 3 days B withdraws. Then how many days can be needed by A
to do the work alone. 
  
12) Two men and Three boys can do a work in 6 days. 3 men and 5 boys
can do that work in 4 days. Then 8 men and 8 boys can do in how many
days.
  
13)
123 means LITTLE BRIGHT BOY and 435 means GIRL IS BRIGHT and 267  means LITTLE THING LLOGAL . Then LITTLE is represented by_______.
ans is 2.
  
14 to 17 ( R.S Agarwal suggested )
On same relation like HELMET-HEAD then 
HIDE _ ? ( BOUND ans.)
18to 22
Assertion and reason following (R.S Agarwal suggested)
  
23 to 25
Having the opposite meaning of relation given (ENGLISH)
25 TO 30
Statements
30 to 35 ---> Figuring NON VERBAL
36 TO 38 ----> A simillarity between two figures is given.
You have to find the same simillar figure from the choice.
  
39 to 41 ----> Correction of sentences.
42. How many times a minute & hours hands will meet together in a 
day. ans. 22 times.
   43. In a total of 36 vehicles after one car there is one scooter.
After 2nd car there will be two scooters and after 3ed car there 
will be 3 scooters so on . then find the number of scooters in 
the right half of arrangement. ans. 13 check.
  
44. All Hoopes are Dupes
All fears are liars so 
i) All hoopes are fears ii) All dupes are liars
45. & 46. like above.
47). Find the statement which gives correct explanartion to
the contradictory statements.
i). doctor told that "Drug adicts can not have their habit
ii). some surveys indicate that all the drug addicts left their 
drug habit. 
a) . Doctor do not know about drug addicts.
b). servays does not include every drug addict
c). Drug addiction is a bad habit.
d). will power make people leave their habbit.
48 to 54.
  
- - a - b b a - b - c like this.
[ simple Qns from R.s.agarwal]
   55. A shop keeper selling a product for 10% discount to the market
price . but by bourgaining he got 10% profit of the costprice.
Market price is 300Rs. Find the cost price.
  
56. Customer needs 30% discount . But shopkeeper give 20% and 10% 
succesively. Then 
a). Whether customer got less profit than what he needed.
b).will he got more.
c). no loss
d). none
  
57. Cost price of two articles is 800. If he sells one article at 
3/4 th of cost price and another article at 4/3 rd of cost price 
Then he will loss 12 Rs. Then SP of article is.
a). 600,400 b). 500, 400 c). 500,500 d). none
  
58 What is the longest four digit numbr which when divided by 12,17,35
leavining same remainder 5
a) 8825 b)8725 c) 8025 d) none
  
59) If travels 300 meters in first two hours and next 200 mts in 3 hours
and 150 meters in 2.5 hours. Find the avg speed.
a) 56 b) 58 c)50 d) 60
ans) 60
  
     CTS - COLOUR: VIOLET    |    DATE: 06/06/2004   
The paper contains a total of 40 questions, there is 
negative marking also. Total time is ONE HOUR . Following are some
questions that I remember.
1.x==2+2^(2/3)+2^(1/3) .Then what is the value of x^3-6X^2+x? 
here X^Y indicates X to the power of Y. 
a. -3 b. 0 .... 
  
2.A circle is inscribed in a Triangle of side 6cm. And a square is 
inscribed in the Circle. What is the area of square? 
  
(3-4) There are two bridges running parallel over river Kauvery, and 
they are 1 KM apart. A man started rowing the boat upstream under 
first bridge, his hat fell into river while he was exactly under 
second bridge. He realized that after 15 mts, and started rowing in 
opposite direction, he eventually caught his hat under First Bridge. 
What is the speed of river Kauvery? 
What is the speed of boat in still water? 
(5-10) There are five traders Timber, Steel, Cotton, Boots, Wood . 
Each sent a Collection of items between them. No two traders have 
sent the items among themselves. i.e., The Trader who had received 
items from X can't send items to X. Steel sent Wood a collection of 
boots. Boots sent wood to the sender of Timber. One more condition 
is there I don't remember. But the puzzle was little bit tough. One 
can get easily confused because the trader names and trading item  names are same. Try to rename them and solve u can come up with an 
answer, otherwise it might be difficult to untangle the puzzle.five 
questions on this like 
Who received cotton? 
Who sent Timber? 
What did Timber receive? Etc., 
11. A train is moving at a speed of 25kmph, and another train moving 
in the same direction at a speed of 49kmph crossed a man in first 
train in 10 sec? What is the length of second train? (These are not 
actual values but model is important). 
  
12.A cube has a surface area of 864sqcms. It is divided into smaller 
cubes of equal size and their surface area is 216sqcms. Find the 
number of smaller cubes? 
a.4 b.8 c.12 d 16 ANS: b 
  
13.There are two milk cans. First can contains water and milk in the 
ratio 1:3 and the second contains milk and water in the ratio 2:2. 
Some milk from first can and some from second can is mixed in another 
can. New can has 12 liters of mixture in the ratio 3:5(water to 
milk). How much milk is taken from first and second can. 
A 6,6 B 7,5 C 5,7 D 4,8 ANS:A 
14.A person pays a tax of 10%,if his salary increases by 10% he need 
to pay a tax of 15%.The total gain he obtains after increment in 
salary is 350Rs .What is his salary?  a.12000 b 10000 c.8000 d.14000 Ans:b 
  
15.Rajesh walks on pavement around the garden of size 60*40.The 
pavement width is 1 meter. What is the area of Pavement? 
  
a.204 b.102 c.306 d.428 Ans:a 
16.A man runs around a square of side 10kms in different speeds as 
given below, find the average speed. 1st side: 10kmph, 2nd Side: 
20kmph, 3rd side: 30kmph, 4th side: 40kmph 
a.19.2 b.20 c. 27 d. 26.5 
  
(17-18) Sreesha starts from Bangalore to go to Sitapur. First two 
hours he moves at constant speed ,suddenly his car tyre gets 
punctured, so he took 10 minutes to start again.Then he moved at a 
constant speed of 30 kmph. By the he reached Sitapur,he was late by 
30 minutes. If his car was punctured 30 kms before sitapur, he could 
have been late only by 15 minutes. 
  
What is the distance between Sitapur and Bangalore? 
What is the speed with which he started from Bangalore? 
  
19.A university library has two big books placed adjacent to each 
other. Of which first book is to the left of Second one. A book worm 
started from the first book, and went on making a hole in a straight  line through the second book. If the covers are of width 1/4 th of a 
centimeter and the books a have a width of 2 cm then how much 
distance did the book worm cover? 
  
A 3cm B 4cm C 5cm D 2cm Ans C (1/4+2+1/4+1/4+2+1/4) 
20.There are 1000 doors closed. Here each goes through a door , which 
indicates he closes the door if it is open, and vice versa. 1st 
person goes through each door, and 2nd person goes through doors that 
are divisible by 2 and like that nth person goes through doors that 
have numbers divisible by n. how many doors are opened after 1000 
persons going through the doors? 
  
a.500 b.150 c.62 d.31 Ans:d 
(The doors remaining opened at the end are the ones that have square 
numbers i.e., 1,4,9,16....) 
  
(21-24) They are on Data Sufficiency. 
21.Find the two numbers 
i)The product of two numbers is 24. 
ii)The sum of two numbers is 10. 
22. Find the increase in % of salary of a person from 1997 to 2000 
i)His salary increased by 10% in each of the following 
years 1998,1999,2000 
ii) I don't remember... But answer is i) is sufficient  23 & 24 are simple..but go through these type of models. 
  
(25-30) Sentence completion. 
I don't remember exact sentences, but I am giving the words that I 
found as answers among them, just remember the meaning of these words 
you can easily answer. 
25.Varies 
26.Embellished...attractive(not meaning but answers for two blanks 
they have given) 
27.Adore 
28.Elucidate 
29.Perpetuate 
..... 
(31-32) Two questions are of conclusion type. Given some information 
and asked some questions .They are not problematic ,just general 
reasoning. 
  
31. A company provides some Plans for Old age persons in India 
regarding their health. The plans actually are too costly, so No one 
showing interest in joining the Plans.What step among the following 
will favor company's plans ? 
Some steps were given in a, b, c, d. You need to select 
the best one. 
32. A private organization started a new Scheme on paying School 
fees. The plan is that if the Parents pay some amount before their  children join in Schools, the Organization will look after their fees 
payments ..what ever course they may do..the company will bear the 
amount? What do you find the reason for Parents not to join in this 
Scheme? 
Some reasons were given in a, b, c, d. You need to select the 
best one. 
33. 60 members complete a work in 40 days. They worked for 10 days. 
And eventually 10 members quit the job and remaining people worked 
for another 10 days. and again 10 of them quit the job. This 
continued for every 10 days. How many days did workers take to finish 
the work? 

TCS HR/TECHNICAL ROUND questions


TCS HR/TECHNICAL ROUND 2012/2013

Hello Folks
His post will discuss the details of the technical/HR (2nd) round for the TCS placement process. I have
included mine and some of my friends experiences. Basically there are 2 rounds for TCS. Once you clear
the aptitude(In my college 127 out of 232 cleared aptitude) you have to attend a pure HR , HR/Tech or a
pure Tech interview round. Yes it might sound odd but there are 3 types of panels(HR , HR/Tech or a
pure Tech) and depending on which one you go to the type of questions asked vary. The following are
the type of questions asked in each panel, I have tried my best to get all possible questions asked to the
127 that attended.
Each interview lasted approximately 10-15 minutes no more.There will be three interviewer, 2 will ask
you questions while the third interviewer listens and takes notes. And yes make sure you can answer
questions asked from your resume they do read it unlike most companies. You will be given a print out
of your camous commune application form.
Pure HR Panel:
Easy to clear for the most part, IT IS REALLY CRUCIAL THAT YOU SPEAK GOOD ENGLISH OR ATLEAST TRY
". As far as i have seen most people with good English speaking skills were selected
Asked to give a self introduction about themselves(refer to the post which i made,should give a good
idea)
"Are you ready to go anyway we send you are is there a particular place you like most?"
"Do you have a Girl Friend how long have you been together?"(for boys ofc)
They will ask you about your hobbies, if you say painting for example they will ask what you have
done to improve your skills in it.
"What is your fathers job?" or "How many brothers and sisters do you have?". For most of the HR
interviews there was always a family type question, shouldn't be a problem.
The biggest challenge you have faced so far in college
Why you choose your department and your favorite subjects (basically questions related to why you
choose the department and your interests).
THEN THE STRESS TEST: expect questions like "you have a low score in your aptitude why?", "your
marks are consistently low why ?", "You don't sound confident is that why you are speaking so softly ",
"you are an emotional person is it not , you look very tense".Remember these statements may or may
not be true about you try reply with a smile and positive comment like "I will try hard next time " or "I
will do correct these mistakes" etc. Just don't burst into tears like some of the girls in my college did
NOT GOOD!!!
"How badly do you want this job?"
And of course the most common questions "what did you eat in the morning? ",maybe a slight
variation like "you look tired have you had your lunch".
Then there was some questions on details about the company like "who is the CEO", "What do you
know about TCS", "Do you know what sector in IT TCS working". For these make sure you visit the
campus commune website and read all the details.
"What are you expecting from TCS?". For this just prepare a well rehearsed answer like "To improve
my skill and abilities in such a way that it is mutually beneficial to company and me"(What 2 of my
friends said , both selected of course)
Some questions from the resume, your co-curricular achievements , extra-curricular achievements. In
some cases the programming languages you know about.
Then some of the HR's asked questions logical questions like "Two people start from Delhi and Pune
one traveling at 20km/hr and the other 160km/hr in opposite directions both meet at a point who is
closer to Pune?" The answer is easy both as same distance since it is mentioned that they meet, THE KEY
HERE IS TO LISTEN CAREFULLY TO WHAT THEY ARE SAYING, some of my friends from other colleges did
not answer and thought the one going at 160km/hr was closer.Be prepared for questions of this type
testing your concentration.
"Are you going to do higher studies some time?"
"what is the hardest data structure for you "My friend said Trees, the HR are was like "Trees really
what about graphs, the LOLed real loud"
"about the various certification programs you have completed and why you took them"
Tech Panel:
To be honest this isn't hard really, all questions are simple nothing deep and tuff. Some of the
Interviewers did not even look at the code my friends wrote they just took the paper and used it as
paper fans :),
Programming, Data Structures and project related
"Write a java code using try catch statements"
"Explain about your project, implementations, front-end, back-end, technical details etc" BE extra
through about the details of all your projects
"code to implement a link list in C". "write it using pointers"
Some will ask you to write code from your projects(For some mechanical students theory behind
functionality of the project)
swap function without using temp variable
Explain linked list concept /stack/queue/trees
Explain different types of sorting
What is a null pointer, void point and a wild pointer
Explain the object oriented concepts in java(polymorphism,inheritance,encapsulation )
Then the sizes for various data types in C and Java
Program using thread/overriding/overloading in java.
Infix/postfix/prefix convertions
Java database connectivity.
what is a constructor?
other programs like prime numbers, odd/even easy stuff basic programming
Networks and OS
OSI layers in network model and functions of each layer
difference between TCP and UDP
"there are 2 systems in 2 different networks will you use a switch or a router to connect them"
What is the difference between switch, router , bridge
In OS questions related to the fork() command
Scheduling algorithms in OS
What is a semaphore
How many bits in an IP address
Draw a rough sketch of an IP packet
Layers of TCP/IP
A few questions related to the linux file system
Questions related to network address and host address
How is windows 7 different from XP
what is paging and questions related to that.
process life cycle
What is the ping command used for?
Database and Testing
This was all really easy MySQL queries which included select statements using where condition etc,
very easy queries.
Also some questions about normal forms, 1NF ,2NF, CNF.
Black box and white Box testing differences
Types of testing?
What is a test case?
Software life cycle models(waterfall models etc)
what is meta data?
Why is testing important?
This section had the most easiest of all questions, just study all the basics.
Other Department Students Tech Panel
Yes there is programming but it is not that deep here are a few samples
"explain about your project "(most frequent question asked to 78.9% students i got this information
from)
Then the interviewer asks what programming languages you know (most replied C), then he asks you
to write a simple programming like prime numbers ,swap without temp etc. In some cases write any C
program
To some EEE students the interviewer has ask how the ceiling fan/generator etc works
4 Mech students and 1 ECE student told me that the HR asked them their favorite subject and asked
him to explain about it
"what is CAD(he had CAD in his resume)"
Some questions related to data structures basics "what is stack"
Overall Pragramming and OS concepts are not going to be asked much unless you say you know
them.For example if you say you know java obviously he is going to ask a lot from it. Mostly others
departments had HR questions only or HR/tech.Everyone i asked said it was nothing tuff.Make sure you
know C programming , at least the basics.
Tech/HR panel
This is a mix and smash of both types of questions . Basically one HR will ask a tech questions and the
second HR will ask a HR questions. My friends kept on talking for all the HR questions he says it help
reduced the number of tech questions asked to him (I do not know the degree of effectiveness of this
idea :) ). By far these type of panels are easy to clear too.
After a few interviews it should be clear which panel is of which type. In my college the placement
representatives were responsible of putting you in a panel, just talk to them depending on which panel
you feel comfortable with.
Some important things
Speak clearly, most of the students who were selected could speak good English
Try not to sweat a lot, lots of interviewers ask they questions
Keep a separate copy of your resume in a stick file.
They was a incident in our college relating to under-performance. Basically some of the students who
were already placed went in and said they were placed in such and such company and they don't want
to come to TCS etc or that they don't like going for a job and want to do higher studies. DO NOT DO THIS
IT PISSED OFF THE INTERVIEWERS AND RESULTED IN LESS PLACEMENT COUNT AND IS REALLY RUDE. The
head of HR mentioned it during the closing ceremony. IF you want to under perform then do it without
it being too obvious. This incident happened in 3 colleges so far as I know, remember do not let your
actions effect other :) .(tell your friends who are planning on under performing this)
try wear a tie for boys and girls no high heels(one of the girls in my college tripped and fell in those ).
I do not know the degree of truth in this but most of my friends were saying that the female
interviewers were hot but deadly, since they asked the most questions and their interviews lasted the
longest
One more thing in my college students with cgpa over 7.5 had direct interview and those with < 7.5 had
to write aptitude which was tuff. Overall the hr/tech round is not that difficult just be calm and you can
clear it easy. Those who were selected got the offer letter on the same day through campus commune.
Good luck and feel free to ask any questions

Related Posts

Related Posts Plugin for WordPress, Blogger...