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.





Think With Ink

Differ your Content by Color.




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.


Please wait...

Interview Questions and Answers :: NEC Technologies

Home > Experience Archives > NEC Technologies > Interview Question Set 2
First Round (F-2-F) Second Round (F-2-F)
    Question :: 1
    Tell me about yourself and about project you are recently working on.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 2
    How you will debug, When packets are not coming to the interface. What Approach you will follow.

    Answer:
    It can be verified based on packets ERROR CODE in BCM.
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 3
    How L3/L2 processing happen inside the ASIC. Expalin each steps in details.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 4
    What are the stages packets can come across while pass through ASIC?

    Answer:

    you can refer


    https://blog.packet-foo.com/2017/03/programmable-asics-in-cisco-switches/comment-page-1/

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 5
    How filters can be added in BCM chipset? List down all the steps.

    Answer:
    create group,
    create Fp entry,
    fp priority set,
    qualifier set,
    values to the qualifier and
    install.
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 6
    How multicast IP address can be informed to multicast L2 MAC.?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 7
    How switch understands the multicast packets?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 8
    How would you rate yourself in C?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 9
    What will be the output:
    int a=2;
    if (a=0)
    printf("a is non zero");
    elseif(a>0)
    printf("a is +ve");
    else
    printf("a is zero");

    Answer:

    it will not give compilation error, the if condition is proper, 

    it will be executed as like value "0" will be assigned to a and then it will check the if condition. 

    basically when we put any condition in if condition it check 0/1 like if (p==5) if p value is 5 then for this condition it will be something like if(1) in other scenario like if p is not equal to 5 then statement will be like if(0). 

    Such thing is happening in the given partial code, the last statement will be like if (0), which is false and control will go to else part. so that answer will be a is zero. However if you put a=5 then it will print a i non zero.

    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 10
    Write the program to find prime numbers.

    Answer:
    int n;
    int a=0;
    scanf("%d",&a);
    n=a;
    while (n>2)
    {
    if(n%2!=0)
    {
    n=n/2;
    if (n>=2)
    {
    printf("%d is prime number", a);
    break;
    }
    }
    else
    {
    printf("%d is not prime number", a);
    break;
    }

    }
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 11
    Write the program to find the duplicate numbers and its count in an array.

    Answer:
    int a[]= {2,3,4,7,9,3,8,9,6,8,7,9};
    int i=0;
    int j=0;
    int flag=0;
    int n=12;
    static int incr;
    for (i=0;i {
    for(j=0;j {
    if (a[i]==a[j])
    {
    incr++;
    if (incr>=2)
    flag=1;
    }
    }
    if (flag)
    printf("\n %d is repeated %d times in this array", a[i],incr);
    flag=0;
    incr=0;

    }
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 12
    Describe a situation when you were forced to work under pressure. How did you cope with the situation?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 13
    What is differnce between policing and shaping? Explain in detail.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

First Round (F-2-F) Second Round (F-2-F)
    Question :: 1
    Tell me about yourself and about latest project.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 2
    What is hierarchy scheduling and its use?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 3
    How many hierarchy supports in QoS scheduling in BCM?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 4
    How ToS/CoS value impact in L2/L3 layers?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 5
    How leaky bucket algorithm works?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 6
    How WRED works? Explain in detail. What are the advantage over RED.

    Answer:

    I found good explanation related to RED and WRED at below cisco link.

    http://www.ciscopress.com/articles/article.asp?p=352991&seqNum=8

    https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_conavd/configuration/15-mt/qos-conavd-15-mt-book/qos-conavd-wred-ecn.html


    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 7
    What if CCM packets received at MIP and MEP in ECFM?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 8
    Write the program to find the sum of two numbers & positions in an array to a numbers.

    Answer:
    int a[]= {2,3,4,7,9,3,8,9,6,8,7,9};
    int i=0;
    int j=0;
    int n=12;
    int sum=12;
    for (i=0;i {
    for(j=++i;j {
    if ((a[i]+a[j]) == sum)
    {
    printf("\n %d + %d positions of sum %d", a[i], a[j], sum);
    continue;
    }
    }
    }
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 9
    How multicast L2 packets are mapped to multicast IP group.

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 10
    Write a progrm to find loop detect and remove from linked list.

    Answer:
    int detectLoop(struct node *head)
    {
    struct node *slow = list, *fast = head;

    while (slow && fast && fast->next )
    {
    slow = slow->next;
    fast = fast->next->next;
    if (slow == fast)
    {
    printf("\r\nLoop detected in linked list \r\n");
    removeloop(slow, head);
    }
    }
    return 0;
    }

    void removeLoop(struct node *loop_node, struct node *head)
    {
    struct node *ptr1;
    struct node *ptr2;

    ptr1 = head;
    while (1)
    {
    ptr2 = loop_node;
    while (ptr2->next != loop_node && ptr2->next != ptr1)
    {
    ptr2 = ptr2->next;

    if (ptr2->next == ptr1)
    break;

    ptr1 = ptr1->next;
    }
    }
    ptr2->next = NULL;
    }
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 11
    Write a program to find machine is little endian or big endian

    Answer:
    int i=1;
    if ((*(char*)&i) == 1)
    printf("LE");
    else
    printf("BE");
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 12
    Write a program to change the byte in integer as 0xABABABAB to 0xABABCDAB;

    Answer:
    unsigned int i=0xABABCDAB;
    int b=0;
    for(b=31;b>0;b--)
    {
    if (b<16 && b>7)
    i=(1< }
    printf("\n NEW i = %X \r\n", i);
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 13
    How do you see yourself contributing to our company?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 14
    Describe a situation when you needed to meet a tight deadline. How did you ensure to meet it?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!

    Question :: 15
    Do you have any questions for me?

    Answer:
    No Discussion on this question yet!
    Please Login First :
    Tags:

    No Tags on this question yet!