Note 1
##### Take Note:

Take a note while surfing.

##### Note With Ink

Give your Note a Colorful Tag.

##### Easy to Access

Stay on same information and in Sync wherever you are.

Note 2
##### Take Note:

Organize your information,It may take Shape.

##### Easy to Access

Easy to pull up your content from anywhere anytime.

Note 3
##### Take Note:

Don't Let information to miss,Because it take shape

##### Note With Ink

Simple an Easy Way to take a note.

##### Easy to Access

Get the same in next visit.

Home > Experience Archives > Broadcom Ltd > Interview Question Set 1
Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 1
Briefly introduce your self, and current project you are working.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2
How to check a number, whether it is power of 2 or not.

bool IsPowerOfTwo(ulong x)
{
return (x != 0) && ((x & (x - 1)) == 0);
}
Tags:

No Tags on this question yet!

Question :: 3
How to delete a node in linklist, when one address of that node is given.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
How to find the nth node in linklist from back.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
What is volatile.

Things which are all changeable is volatile.

for example, int a=5;

a=a+1; //value changes,this is volatile.

by default all variables are volatile.

Tags:

No Tags on this question yet!

Question :: 6
What is mutex and semaphore, what is difference in both, is binary

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
what is virtual memory.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Some questions from paging, what is it, how to get address.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
How to implement sizeof operator.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 10
Some basic networking question

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 11
What is basic difference in hub,switch and bridge etc.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 12
Some questions from project specific.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 1
common question i.e introduce your self.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2
Some general questions from c and os.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
pkt flow in broadcom, l2 and l3 pkt.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
How to debug in bcm shell.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
Moving deeper in question 4, how to set particular register, how to track pkt drop,port hit etc, how many multicast/unicast pkt.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
How to see particular register value in broadcom.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
Some question from trill, how, what you did.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
How to find how many bit set in a number.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
How to check if particular bit set or not in a number.

hello
Tags:

No Tags on this question yet!

Question :: 10
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.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 11
Can you explain L2 pket header.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 1

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
Can you explain step by step Packet flow in BCM.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
Why you are looking for change.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
qThere were multiple Question related to project.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
Some question from router, like if two host connected to router,and pinging from one host to other host , what are all the configuration needed.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
ping pkt flow in question 6, echo request to till echo reply.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Then one question from function pointer. i.e where and how to use it.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 1
Draw the architecture, in which you are working, i.e pkt flow in it. then there were multiple question in it.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 2
What are the defect I have worked on.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
Some question from Broadcom, (Explain step by step)
1. pkt flow,
2. L2 learning,
3. port status, and
4. How to check counter at ports

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
Write a program to print the positions of bit set in a given number.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
How to define a node of linklist,

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
Write a program to delete a node in linklist, i.e node might be in last/first/middle.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
Write a proram to reverse the linklist.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Write a program to print the Linklist element in reverse order by recursion.

{

if ( tmp != NULL)

printf("\r\n [%d] \r\n", tmp->data);

}
Tags:

No Tags on this question yet!

Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 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?

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 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

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
Write a program to insert a node in a single linklist, (node insertion in head/middle/last)

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 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------- |

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
There were multiple question, like which path will be chooses. routing table information, how router will know about its next hop. etc.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
what is virtual memory.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
What is the basic C structure.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 8
Memory layout in c.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 9
Can you write a program to show stack is growing.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 10
Write a program a mirror copy of a BST.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 11
what is signal, Which signal can't be handle.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 12
How you detect dedlock, If you found, how you prevent it.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 13
What is fragmentation, what is internal/external fragmentation.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 14
What are the scheduling do you know.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 15

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 16
How you will used in thread.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 17
Do you know brk() and sbrk,

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Telephonic Round First Round (F-2-F) Second Round (F-2-F) Third Round (F-2-F) Fourth Round (F-2-F) Sixth Round (F-2-F)
Question :: 1

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 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.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 3
What is static variable.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 4
Write a multi thread program. where proper sync is happening. have to write at webex.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 5
Do you know QoS.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 6
What is vlan.

No Discussion on this question yet!
Tags:

No Tags on this question yet!

Question :: 7
Do you know filtering in Broadcom. Explain in detail.

No Discussion on this question yet!