Tuesday, July 28, 2015

Cisco Interview Question Part-1




Cisco Interview Questions

Kindly find below the most frequently interview question from the c programming, Operating system, networking asked in various company.
Here the below listed question asked in Cisco. We hope it will help you to crack interview.  





C Programming
+++++++++++++

1.Program to insert a node in a linked list in a sorted manner.
3.Program to reverse the linked list and display the reversed linked list nodes.
4.Program to swap the 2 nibbles of a byte size variable.
5.Program to count the number of SET bits in an integer.
6.Program to swap two variables without using 3rd variable.
7.Allocating memory for a 2D array where number of rows and columns is dynamically decided.
8.What are the contents of argc and argv[]?
9.What is the difference between array of pointers and pointer to an array. Write the declarations.
10.Strcpy, strncpy, strcat etc.
11.What is the difference between array of pointers and pointer to an array. Give example of usage.
12.Program to implement strcat() or strstr() equivalents in your own program

Operating System
++++++++++++++++

1.What are the various segments of RAM memory and their significance/usage?
2.IOS versus Linux - important points.
3.What are PP processes in IOS?
4.What is flat memory architecture?
5.Is IOS an RTOS?
6.What is stack corruption? Given example.
7.What is the difference between Mutex and Semaphore?
8.Write a sample program having two processes using semaphore to synchronize the access to a common resource. Use a C structure as the shared resource.
9. Write a sample program having 2 processes communicating using message queues.
10. fork(), exec(), signal() calls – what do they do? Give examples in pseudo code


Networking
++++++++++

1.What are the important contents of IP header, MAC header, MPLS header?
2.What are ARP and gratuitous ARP?
3.How does ping work?
4.How does Trace-route work?
5.What does an ARP table look like? Contents?
6.What is a routing table? What does it look like?
7.What is the role of routing protocols like OSPF/IS-IS/BGP?
8.What is MTU and MRU significance?


Friday, July 17, 2015

Capgemini Fresher Question Paper With Answer





CAPGEMINI Fresher Question Paper With Answer
-------------------------------------------

Total consist of 3 rounds.
1) Written test
2) GD
3) TECH/HR interview

Written test-
1.) Quantitative 25 questions
2.) Analytical     25 questions
Hello friends.....
Section   A
1. Fresh Grapes contain 90% water by wt. Dried grapes contain 20% water by %age. What will b wt of dried grapes when we begin with 20 kg fresh grapes?
A) 2kg  b) 2.4kg  c) 2.5kg d) none  
Answer. C

2. How many 5 digit no. can b formed wit digits 1, 2, 3,4,5,6 which r divisible by 4 and digits not repeated
a) 144   b)168  c)192  d) none
Answer. C

3. There is a rectangular Garden whose length and width are 60m X 20m.There is a walkway of uniform width around garden. Area of walkway is 516m^2. Find width of walkway
a) 1  b)2  c)3  d)4     
Answer. C

4.If 1= (3/4)(1+ (y/x) ) then
a)x=3y
b)  x=y/3
c) x=(2/3)y
d) none
Answer. A

5. The sum of six consecutive odd nos. is 888. What is the average of the nos.?
a)147
b)148
 c)149
d) 146
Answer. B

6. 1,27,125,?,729,1331 find missing number.
Ans: 343

7.  Find approx. value of 39.987/0.8102+1.987*18.02
a)72  b)56  c)86  d)44
Answer. C

8. Asish was given Rs. 158 in denominations of Rs 1 each. He distributes these in diff bags, such that ne sum of money of denomination betn 1 and 158 can be given in bags. The min no. of such bags reqd
a)10  b)17  c)15  d) none
Answer. D

9. If a certain sum of money at SI doubles itself in 5 yrs then what is the  rate?
a)5%      b) 10%       c)25%          d)20%
 Ans: D

10. A man engaged a servant on a condition that he’ll pay Rs 90 and also give him a bag at the end of the yr. He served for 9 months and was given a turban and Rs 65. So the price of turban is ?
i)Rs 10 II) Rs 19 iii)Rs 0 iv)Rs 55
Ans: A

11. The sum of six consecutive odd nos. is 888. What is the average of the nos.?
i. 147     ii. 148       iii. 149       iv. 146
Ans: B

12.  In a race from pt. X to pt Y and back, Jack averages 30miles/hr to pt Y and 10 miles/hr back to pr X.Sandy averages 20 miles/hr in both directions. If Jack and Sandy start race at same tym, who’ll finish 1st ?
Jack/Sandy/they tie/Impossible to tell
Ans: they  tie ( check it)

13.  2 men at same tym start walking towards each other from A n B 72 kms apart. sp of A is 4kmph.Sp of  B is 2 kmph in 1st hr,2.5 in 2nd, 3 in rd. n so on…when will they meet
 i   in 7 hrs
ii  at 35 kms from A
iii in 10 hrs
iv midway
Ans: D

14.  If the ratio of prod of 3 diff comp’s A B & C is 4:7:5 and of overall prod last yr was 4lac tones and if each comp had an increase of 20% in prod level this yr what is the prod of Comp B this yr?
i. 2.1L
ii.22.1L
iii.4.1L
iv.none
Ans: A

15. If 70% of a no. is subtracted from itself it reduces to 81.what is two fifth of that no.?
108/54/210/none
Ans. A

16. If radius of cylinder and sphere r same and vol of sphere and cylinder r same what is d ratio betn the radius and height of the cylinder
i.  R= H
ii. R= (3/4)H
iii. R = (4/3)H
iv. R=2/3H
Ans: C

7 Uni crick players are to be honored at a special luncheon. The players will be seated on a dais along one side of a single rectangular table.
A and G have to leave the luncheon early and must be seated at the extreme right end of table, which is closest to exit.
B will receive Man of the Match and must be in the centre chair
C and D who are bitter rivals for the position of Wicket keeper dislike one another and should be seated as far apart as possible
E and F are best friends and want to seat together.

10.Which of the foll may not be seated at either end of the table?
i.        C
ii.        D
iii.      G
iv.      F
Ans: iv

11.Which of the foll pairs may not be seated together?
i.        E & A
ii.       B & D
iii.      C & F
iv.      G & D
Ans: i

Direction for Qn 12-13
A robot moves on a graph sheet with x-y axes. The robot is moved by feeding it with a sequence of instructions. The different instructions that can be used in moving it, and their meanings are:
Instruction        Meaning
GOTO(x,y)      move to pt with co-ord (x,y) no matter where u are currently
WALKX(P)     move parallel to x-axis through a distance of p, in the +ve direction if p is +ve and in –ve if p     is –ve
WALKY(P)     move parallel to y-axis through a distance of p, in the +ve direction if p is +ve and in –ve if p is –ve

 12. The robot reaches point (5,6) when a sequence of 3 instr. Is executed, the first of which is GOTO(x,y) , WALKX(2), WALKY(4). What are the values of x and y??
i.      2,4
ii.     0,0
iii.    3,2
iv.    2,3
Ans: C

13. The robot is initially at (x.y), x>0 and y<0. The min no. of Instructions needed to be executed to bring it to origin (0,0) if you are prohibited from using GOTO instr. Is:
i.      2
ii.     1
iii.     x + y
iv.    0
Ans: A

Direction for Qn 14-17
Five teams participated in Pepsi Cup. Each team played against each other. The top teams played finals. A win fetched 2 pts and a tie 1 point

1)      South Africa were in the finals
2)      India defeated SA but failed to reach the finals
3)      Australia lost only one match in the tournament
4)      The match between India and Sri Lanka was a tie
5)      The undefeated team in the league matches lost in the finals
6)      England was one of the best teams that did not qualify


14.Who were the finalists?
i.       SA & India
ii.       Aus & SL
iii.      SA & SL
iv.      none
Ans: C

15. Who won the finals?
i.       Aus
ii.      SL
iii.      SA
iv.      Can’t be determined
Ans: C

16. How many matches did India Win?
i.       0
ii.      1
iii.      2
iv.      can’t be determined
Ans: D

17.What was the outcome of the India England Match
i.       India won
ii.      England won
iii.     It was a tie
iv.     Can’t be determined
Ans: D( check it)



Direction for Qn 18-24.

Ans A using I only
Ans B  using II only
Ans C using both I and II
Ans D not solvable

18. Raman and Gaurav Brought eggs from a vendor. How many eggs were bought by each of them
i.          Raman bought half as many as Gaurav
ii.         The dealer had a stock of 500 eggs at the beginning of day
Ans: D

19. What is the age of Ramprakash?
i.        Ramprakash was born when his father was 26 yrs old
ii.       Ramprakash’s mothers age is 3yrs less than his father’s
Ans: D

20. How much time is reqd for downloading the software?
i.        The Data transfer rate is 6 kbps
ii.       The size of the software is 4.5 megabytes
Ans: C

21. Sanjay and Vijay started their journey from Mumbai to Pune. Who reached Pune first?
i.        Sanjay overtakes two times Vijay and Vijay overtakes Sanjay two times
ii.       Sanjay started first
Ans: C

22. A boat can ferry 1500 passengers across a river in 12 hrs. How many round trips does it make during the journey?
i.         The boat can carry 400 passengers at a time
ii.        During its journey, the boat takes 40 mins time each way and 20 mins waiting time at each end.
Ans: C

23. What are the values of m and n?
i.         n is an even integer, m is odd integer and m is greater than n.
ii.        The product of m and n is 30
Ans: C

24. How much is the weight of 20 mangoes and 30 oranges?
i.        1 orange weighs twice that of 1 mango
ii.        2 mangoes and 3 oranges weigh 2 kg
Ans: B

25. Is the GDP of country X higher than Country Y?
i.        GDP’s of X and Y has been increasing at a compounded annual growth rate of 5% and 6% over he past 5 yrs
ii.        5 yrs ago GDP of X was 1.2 times Y
Ans:  C.

AFTER   APTITUDE, GD WERE CONDUCTED 12 MEMBERS EACH IN A GROUP,
IT  WAS  EASY  SESSION  BUT  ONLY  150 WERE  SELECTED , FOR FINAL  ROUND 6  PANNEL  WAS  THERE  FOR  THIS  TECH/HR  ROUND,
WE  HOPE THIS   GUIDENCE  WILL  HELP  YOU  TO  GET  IN  TO  THE  CAPGAMINI.
WISH YOU ALL   THE   BEST.