Thursday, January 29, 2015

Broadcom Interview Questions


First Round (Telephonic Round)
=============================
Basically question were from C, DS, and Linux. I tried to recall all questions as much I can, find the same.

0. Briefly introduce your self, and current project you are working.
1. How to check a number, whether it is power of 2 or not, in as single statement.
2. How to delete a node in linklist, when one address of that node is given.
3. How to find the nth node in linklist from back.
4. What is volatile.
5. What is mutex and semaphore, what is difference in both, is binary semaphore and mutex are same.
6. what is virtual memory.
7. Some questions from paging, what is it, how to get address.
8. How to implement sizeof operator.
9. Some basic networking question <easily you can answer.>
10. What is basic difference in hub,switch and bridge etc.
11. Some questions from project specific.

Might be some more questions, but I am not able to recall it right now.

Second Round i.e (Telephonic Round)
==================================


1. common question i.e introduce your self. 
2. Some general questions from c and os.
3. pkt flow in broadcom, l2 and l3 pkt.
4. How to debug in bcm shell.
5. Moving deeper in question 4, how to set particular register, how to track pkt drop,port hit etc, how many multicast/unicast pkt.
6. How to see particular register value in broadcom.
8. Some question from trill, how, what you did.
9. How to find how many bit set in a number.
10. How to check if particular bit set or not in a number.
11. One program he just shared at webex and he asked me to find out the defect in it. Basically in program allocating memory using
melloc and it was not freed, that was defect as per me in program.
12. L2 pket header.

Third Round i.e (Telephonic <call was from USA>)
=============================================== 

It was managerial round, there were no straight questions, 

1. Introduce your self.
2. What work you have done. 
3. Packet flow in BCM.
4. Why you are looking for change. 
5. Question related to project.
6. Some question from router, like if two host connected to router,and pinging from one host to other host <diff subnet>, what are all the configuration needed. 
7. ping pkt flow in question 6, echo request to till echo reply.
8. Then one question from function pointer. 


Fourth Round (Face-2-Face)
========================== 

1. No Introduce you self question in this round. 
2. Draw the architecture, in which you are working, i.e pkt flow in it. then there were multiple question in it. 
3. What are the defect I have worked on.
4. Some question from Broadcome, like pkt flow, l2 learning, port status, how to check counter at ports 
5. Write a program to print the positions of bit set in a given number.
6. How to define a node of linklist,
7. Write a program to delete a node in linklist, i.e node might be in last/first/middle.
8. Write a proram to reverse the linklist.
9. print the linklist element in reverser order by recursion. 

5th & 6th Round (Face-2-Face)

============================
In this round mostly puzzles.

1. You have 10 bags full of coins, in each bag are 1,000 coins.But one bag is full of forgeries, and you can't remember which one.But you do know that a genuine coins weigh 1 gram, but forgeries weigh 1.1 grams. 
To hide the fact that you can't remember which bag contains forgeries, you plan to go just once to the central weighing machine to get ONE ACCURATE weight.How can you identify the bag with the forgeries with just one weighing? 
2. A bag contains five balls numbered 1,2,3,4,5. Another bag contains six balls numbered 1,2,3,4,5,6. One ball is drawn at random from each ball. Find the probability that (i) both balls have the same number.(ii) the sum of the numbers on the balls is 9
3. Write a program to insert a node in a single linklist, (node insertion in head/middle/last)
4. He draw a pic, having 5 routers,given at all router ospf is configured, or if you needed you configured static route also, how you ping from R1 router to R5 router. 
R1 ------ R2 ----- R3 -----R5
|                  | 
----------R4------- 

There were multiple question, like which path will be chooses. routing table information, how router will know about its next hop. etc. 
5. Some C/OS/Linux basic question,
6. what is virtual memory.
7. what is the basic C structure.
8. Memory layout in c.
9. Write a program to show stack is growing. 
10. Write a program a mirror copy of a BST.
11. what is signal, Which signal can't be handle. 
12. How you detect dedlock, If you found, how you prevent it.
13. What is fragmentation, what is internal/external fragmentation.
14. What are the scheduling do you know. 
15. process v/s thead, tell me the scenario where you have used thread instead of process.
16. How you will used in thread.
17. Do you know brk() and sbrk,

7th Round (Telephonic Round)
===========================

It was final interview, and there were no more technical questions, 



2. He shared one program over webex and asked to find out the problem, so basically the program is multi thread, and deadlock condition was happening, Then he asked me, how you will prevent it. 
3. What is static variable. 
4. Write a multi thread program. where proper sync is happening. have to write at webex.
5. Do you know QoS.
6. What is vlan.
7. Do you know filtering in Broadcom. 
8. Any challenging issue you faced.

There were some more question, I am not able to recall right now.

Finally after these many round I heard that I have been selected.

I am very happy while sharing my experience with you. 

Feel free to Like Our Facebook page for more companies interview questions. CLICK --> For more fresh question being asked in various company follow us at facebook.

No comments:

Post a Comment