[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

NEC Technologies India Interview Questions and Answers

Home > Experience Archives > NEC Technologies > Interview Question Set 2
First Round (F-2-F) Second Round (F-2-F)

    1 / 13

    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!

    2 / 13

    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!

    3 / 13

    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!

    4 / 13

    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!

    5 / 13

    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!

    6 / 13

    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!

    7 / 13

    How switch understands the multicast packets?

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

    No Tags on this question yet!

    8 / 13

    How would you rate yourself in C?

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

    No Tags on this question yet!

    9 / 13

    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!

    10 / 13

    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!

    11 / 13

    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!

    12 / 13

    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!

    13 / 13

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

    Answer:

    Policing

    ======

    Traffic policing is nothing but where metering can be applied with bucket algorithm which is used for classifying(coloring) the packets and use policer to set specified set of actions for each classified packets accordingly.

    Traffic policing will applied in the ingress pipeline.

    Shaping

    =======

    Shaping is also a kind of rate limiting where can set a rate limit beyond which packets are dropped.

    Shaping can be applied to a queue which is called queue shaping of the specific ethernet egress port.

    Shaping will be applied to the Egress pipeline,


    Please Login First :
    Tags:

    No Tags on this question yet!

First Round (F-2-F) Second Round (F-2-F)

    1 / 15

    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!

    2 / 15

    What is hierarchy scheduling and its use?

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

    No Tags on this question yet!

    3 / 15

    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!

    4 / 15

    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!

    5 / 15

    How leaky bucket algorithm works?

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

    No Tags on this question yet!

    6 / 15

    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!

    7 / 15

    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!

    8 / 15

    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!

    9 / 15

    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!

    10 / 15

    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!

    11 / 15

    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!

    12 / 15

    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!

    13 / 15

    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!

    14 / 15

    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!

    15 / 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!