Get Off-Campus Placement Jobs Info !!!
Programs asked in Mettl Coding Round
Click To Practce List of Programs asked in Nagarro !!!

Cavium Networks Interview Questions and Answers for 4 years Experience

Home > Experience Archives > Cavium Networks > Interview Question Set 3
First Round (F-2-F)

    1 / 18

    What is OFFSETOF() macro will work? will it consider padding?

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

    No Tags on this question yet!

    2 / 18

    Swap the Bit's from x location to y location.

    Answer:

    USE XOR OPERATION FOR THIS



    X=X^Y



    Y=Y^X



    X=X^Y



    By using these three conditions we can exchange of X and Y bits.

    Please Login First :
    Tags:

    No Tags on this question yet!

    3 / 18

    Write a function which takes arguments such as bitwise swap, word wise swap, bitwise swap and completes the same

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

    No Tags on this question yet!

    4 / 18

    How to determine the Big-endian and Little-Endian of machine?

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

    No Tags on this question yet!

    5 / 18

    Please describe regarding the structure padding and how the __attribute__(packed) works to remove the structure padding

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

    No Tags on this question yet!

    6 / 18

    How do you determine the linked list got a circular loop within the list?

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

    No Tags on this question yet!

    7 / 18

    Reverse the linked list both Recursive and Iterative way.

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

    No Tags on this question yet!

    8 / 18

    What are the boot stages involved with the boot up of Linux. Why the MMU is initialized two times instead of single?

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

    No Tags on this question yet!

    9 / 18

    How will the primary boot loader detect the MMC card without any driver, exactly how it will know the format of the disc to read the MBR

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

    No Tags on this question yet!

    10 / 18

    Why there is a Two stage boot loader instead of simple Single Boot stage process

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

    No Tags on this question yet!

    11 / 18

    What is the High-Mem and how it is useful in Linux?

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

    No Tags on this question yet!

    12 / 18

    Position Independent and Position Dependent code in Linux? Do you mean that standard shared libraries can also be made position Independent Code while compiling?

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

    No Tags on this question yet!

    13 / 18

    Structure padding was also called as holes,Can you access them with your normal pointer?

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

    No Tags on this question yet!

    14 / 18

    What are differences in typedef and #define?

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

    No Tags on this question yet!

    15 / 18

    How the DMA coherency is achieved? Will it need the CPU to come into picture to flush the data to disk?

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

    No Tags on this question yet!

    16 / 18

    How do you know that your DMA Engine is capable of the scatter-gather? Can you implement if it not capable?

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

    No Tags on this question yet!

    17 / 18

    Debugging the pthreads with GDB how? Can we pause/suspend/kill a thread?

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

    No Tags on this question yet!

    18 / 18

    What is the dynamic debugging in Linux kernel? Do you know kgdb?

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

    No Tags on this question yet!