Sunday, January 4, 2015

Reedem Software Interview Question

Redeem Software Interview Questions
Kindly find below the telephonic round <i.e first round> with redeem software, we are in process of updating the second round question i.e at skype, once we had question with us.


CLICK --> For more fresh question being asked in various companies follow us at facebook.  

for that you revisit to the page.

1.  Question like "introduce your self" was included this time.
2.  Directly he through the question from current project. <you must prepare the current project>
     a. Briefly explain about the current project and you role in it.
  b. Then there were some project specific questions. like why this, how / why this not/how.
3.  There was one question from previous project.
4.  What is ARP, can you explain its working procedure.
5.  What are the field in ARP table, can we add ARP entry, if so than how.
6.  What is proxy-ARP. Whey we need it.
7.  what is vlan.(why we create vlan,) Does VLAN was involved in you current project, if so can you explain its working steps in your project.
8.  what is pvid, why we need it.
9.  How PKT will be assumed <by switch> that it is tagged/untagged packet, how forwarding happen.
10. How the ARP will be used in this VLAN.
11. What is RARP ?

CLICK --> For more fresh question being asked in various companies follow us at facebook.  
12. Do you have idea, how routing happen, how router work.
13. What is basic difference in routing and switching.How it will differ in term of VLAN forwarding <routing/switching>
14. There is one topology like.
      Host A ---- Router A -------- Router B ------ Host B
 Have to communicate from Host-A to Host-B,i.e ping Host B from Host B. What are all the steps performed for it.
15. What if Host B is in different subnet, And what if it is in same Subnet.
16. Can we enable Proxy-ARP at any of router.
17. What are the learning will be in routing table of Router A and Router B
18. Do you know MPLS, what is it.
19. what is difference in process and thread.
20. Do you know how to create the thread. what are the parameter to pass to create thread (pthread).
21. once we create the thread, whether we will be in main thread or created thread. How we can identify that which thread we are accessing .
22. How time sharing take place for these thread.
23. Instead of creating multi-threads, can not we create multi-process,what are the problem/benefit we will have.
24. If you have to store the subnet mask, what mechanism you will used.<i.e how you will store it in c>
25. what is volatile.
26. Then there were some normal questions.


These are the questions in telephonic discussion with Redeem Software. There were one more round to go. Soon we will update the same.
Hit/Like/Share..... :-)

It will be nice if you share your interview experience with us. You Experience might help to someone.

CLICK --> For more fresh question being asked in various companies follow us at facebook.  

Samsung Interview Question


Samsung Interview Quesitons

1. How the operating system taking care of const int i=5; (tell the implementation)
2. Explain the memory layout of main memory of computer system? Give an example to make understand the memory layout means in which segment what type of variable will be store?
3. By how many method we can allocate the memory in C and what is the difference between malloc and calloc. And which is faster and why?
4. Implementation of new () in C++?
5. What is the difference between malloc and new and which one is faster and why?
6. Difference between extern and static and give an example to justify?
7. Is it possible to access the static variable defined in another file, if YES then how? if NO then why not.
8. What is the difference between these two statements?
     const int *p;
     int const *p;
9. For statement const int *p = 5, which is true from given below two statement:
    a) int a;
       p = &a;
    b) *p = 0;
10. What is the self-referential structure, write an example of self-referential structure?
11. Difference between structure and union and what are the pros and cons of both?
12. What is the structure byte padding and how does it form and depend? Is there any concept of byte padding in union justify your answer?
13. How do we know the linked list is a circular or not?
14. What type of OS is Windows?
15. Difference between UNIX and LINUX?
16. What is the real time operating system?
17. How many types of CPU scheduling are there and explain all. Which one is better as per you and why also tell the feasibility of it?
18. Is there any ideal CPU scheduling possible? Justify your answer?
19. How to set the priority of any process in windows and in linux?
20. Can you say about the priority of mobile application which one is having higher priority.
21. What is a NULL pointer? How is it different from an unitialized pointer? How is a NULL pointer defined?
22. Is the cast to malloc() required at all?
23. What is a memory leak?

We are not saying that same will be for you but it might help you to setup your mind to face interview.

If you had interview recently, we request to share you valuable experience.


Kindly share you valuable feedback.
Hit/Like/Share..... :-)


CLICK --> For more fresh question being asked in various companies follow us at facebook.  

Friday, January 2, 2015

Cavium Network Fresher Interview Question

Cavium Network Interview Questions
                        

          %%%%%%%%%%%%%%%%%
           % First Round %
          %%%%%%%%%%%%%%%%%


NOTE: There could be multiple correct answers for a question. And you are required to explain your answer.
1. Define the enum ABC having attributes POSITIVE, NEGATIVE, and ZERO such that the 'fun()' function prints Postive for a positive number, Negative for a negative number and Zero for 0.

#include<stdio.h>
enum ABC
{
__________      //First Line
__________      //Second Line
__________      //Third Line
};
void fun(int num)
{
      if(num<=NEGATIVE)
           printf("Its a negative number\n");
      else
      {
           if(num>=POSITIVE)
                  printf("Its a positive number\n");
           else
                  printf("Zero\n");
      }
}
int main()
{
     int i;
     scanf("%d",&i);
     fun(i);
     return 0;
}

(a)
enum{
ZERO;
POSITIVE;
NEGATIVE=-1;
};
(b)
enum{
POSITIVE=1;
ZERO=0;
NEGATIVE=-1;
};

(c)
enum{
ZERO=0
POSITIVE=1
NEGATIVE=-1;
};

(d)
enum{
POSITIVE=1;
NEGATIVE=-1;
ZERO;
};

2. What will be the output for the below program.
#define Y 10
#define X 1-(Y)
int main()
{
    int val;
    val=200*X
    printf("Value of val is %d\n",val);
    return 0;
}


3. What will be the output for the below program.
struct ABC
{
      int a;
      char b;
      void *c;
};
int main()
{
     struct ABC *obj=NULL;
     printf("%d: %d: %d: %d: %d\n",sizeof(obj->a),sizeof(obj->b),sizeof(obj->c),sizeof(obj),sizeof(struct ABC));
     return 0;
}

4. Design a data structure which can add 2 numbers in the range of 2127 to 2127-1
5. Using the data structure define above write a program which can add two numbers.
6. Using System Calls define printf function. Assume only one argument can be passed to this function.
7. Suppose you are having an instruction
sbn A,B,C
defined as
Memory[A]=Memory[A]-Memory[B]
if(Memory[A]<0)
    ProgramCounter=C.
Now, you are asked to write a code for moving the content of X to Y.
8. Does p,q and r point to the same location in belwo program.
#include<stdlib.h>
#include<stdio.h>
int main()
{
     int *p,*q,*r;
     p=malloc(sizeof(int));
     free(p);
     q=malloc(sizeof(int));
     free(q);
     r=malloc(sizeof(int));
     return 0;
}

9. Kindly choose for the blow program.
void fun(x)
{
    lock();
    IO_intensive();
    CPU_Intensive();
    unlock();
}
int main()
{
    fun(a);
    fun(b);
    fun(c);
    fun(d);
}

(a) Uniporcessor System will give optimal performance for this situation.
(b) Dual Core will give optimal performance for this situation.
(c) Quad Core will give optimal performance for this situation.
(d) Multicore with altered code will give optimal performance for this situation..

10. What does function 'fun' returns?
typedef struct tree* NODE
struct tree
{
    int info;
    struct tree *leftMostSibling,*rightSibling;
};
int fun(NODE root)
{
    int value=0;
    if(root)
    {
        value=1;
        value=value+fun(root->leftMostSibling);
        value=value+fun(root->rightSibling);
    }
    return(value);
}

11. What is the output of the program given below?
#include<stdio.h>
void fun(int *p)
{
     p=malloc(sizeof(int));
}
int main()
{
     int *p=NULL;
     fun(p);
     if(p)
         printf("p is not null");
     else
         printf("null");
    return 0;
}

12. Write the output for the below program.
int main()
{
    int a=0xabcdef;
    char *p;
    p=&a;
    printf("%x\n",*p);
    return 0;
}
                                 %%%%%%%%%%%%%%%%%%
                                  % Second Round %
                                 %%%%%%%%%%%%%%%%%%

1. Introduce yourself.
2. Among the subjects you read so far, which subjects you like the most.
then Why?
3. Do u have learnt Advance Operating System ? what have you learned in Advance Operating System.
4. What do you mean by Segmentation fault?How it get detected.
5. How MMU knows that the memory address being used is not in the processes range?
6. Do you know about TLB? if yes then explain it.
7. What is MMU?
8. Explain Virtual Memory.
9. Do you know execv()?
10. A code was given in which he used execv() and then asked me for the output. the code is as below.
int main()
{
    execv(".../ls",some parameters);
    printf("hello\n");
}

11. Do you like Data Structure and Algorithm?
12. Write a program to find LCA of the two nodes of a tree.
13. Write a progarm to reverse the single linklist.
14. Ask me to explain my project.
15. Do you have any question to ask?


                                 %%%%%%%%%%%%%%%%%
                                  % Third Round %
                                 %%%%%%%%%%%%%%%%%

1. Introduce yourself.
2. Ask me to introduce big endian and little endian.
3. What is the trade-off between them.
4. How to find whether a system is using little endian or big endian?
5. Is it possible to install 32 bit OS on IA64?
6. A PC with IA64, 32 bit OS will not be able to access the entire RAM(in some cases). Is it possible to access entire RAM. If yes, how?
7. Explain the concept of DMA.
8. Can DMA be in deadlock?
9. Do you have any question to ask?


                                 %%%%%%%%%%%%%%%%%%%%%%%
                                  % Fourth Round (HR) %
                                 %%%%%%%%%%%%%%%%%%%%%%%


1. Introduce yourself.
2. Asked me about the interview, how was each round
3. Do you ever had a fight?
4. From which place do u belong?
5. Given a choice to move to north (I am from UP). Will you move to north.
There were some more normal HR questions.








Tuesday, December 23, 2014

Cavium Network Interview Questions

Cavium Network Interview Questions
Cavium Network Interview Questions
++++++++++++++++++++++++++++++++++

1. What is offset of() macro will work?? will it consider padding ??...

2. Swap the Bit's from x location to y location..!!!
3. Write a function which takes arguments such as bitwise swap, word wise swap, bitwise swap and completes the same
4. How to determine the Big-endian and Little-Endian of machine??
5. Please describe regarding the structure padding and how the __attribute__((packed)) works to remove the structure padding
6. How do you determine the linked list got a circular loop within the list?
7. Reverse the linked list both Recursive and Iterative way.
8. What are the boot stages involved with the boot up of Linux. Why the MMU is initialized two times instead of single??
9. 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
10. Why there is a Two stage boot loader instead of simple Single Boot stage process
11. What is the High-Mem and how it is useful in Linux
12. Position Independent and Position Dependent code in Linux?? Do you mean that standard shared libraries can also be made position Independent Code while compiling??
13. Structure padding was also called as holes...!! Can you access them with your normal pointer??
14. What are differences in typedef and
#define?
15. How the DMA coherency is achieved?? Will it need the CPU to come into picture to flush the data to disk??
16. How do you know that your DMA Engine is capable of the scatter-gather??? Can you implement if it not capable??
17. Debugging the pthreads with GDB how?? Can we pause/suspend/kill a thread??
18. What is the dynamic debugging in Linux kernel??? Do you know kgdb??

>-------------------> Hit/Like/Share >------------------------>

For more questions follow/Like.


CLICK --> For more fresh question being asked in various company follow us at facebook. 

Saturday, December 20, 2014

Infinite Computer Solution Telephonic Interview Questions

Infinite Computer Solution Interview Question



  1. Can you tell me about yourself, what all are the project you have done.
  2. Specific questions from projects. Specially covered the current project in details.
  3. What is ARP, what role it plays?
  4. Can you explain the packet flow <in/out> in Broadcom chipset <L2 pkt> in details, at what level what all are the thing of the pkt will be looked /updated?
  5. What is LACP, what activity you have done in it at your project?
  6. Do you know LACP state machine.
  7. What are the differences in LAG and LACP? What is similarity in both? < Some more questions arise at same points.>
  8. What all are the properties that port should have to add in port channel.
  9. What is the need of spanning tree, can’t we achieve its properties by any other mechanism.
  10. What is difference between STP and RSTP?  <some more question covering port roles/stage etc>
    |--Switch A ---- Switch B -------Switch C ----|
    |----------------------------loop-------------|
  11. What is loop guard in STP?
  12. Can you explain vlan packet format. What all are the field it contains? How may max vlan can be. Why can’t we have more than that?  If we want, can we achieve in any other way.
  13. If pkt will be double tagged, its size will be increased, then how it will be handled in network,
  14. What IPC you have used in you project.  Then question from that, how/why not this.
  15. What is general difference in binary semaphore and mutex.
  16. What is function pointer, what is used of it, have you used it in your any project.
  17. Is there any way we can achieved the functionality of function pointer.
  18. Do you know sizeof operator, is this macro or function.

Thursday, December 18, 2014

Sasken Interview Questions

Sasken Interview Questions








Technical round
                        ===============
  1. Can you tell us about yourself and briefly about the projects you have mention in resume?
  2. What exactly was your role in current project?  There were some questions related to project.
  3. What types of debugging tool you have used?
  4. What is NAT, what are the fields in NAT table?
  5. Do you know SNMP, what is it?
  6. What are the types of IPC you have used?
  7. Have you used shared memory in project?
  8. What is semaphore, how binary semaphore is differ from mutex, is it same or what.
  9. Have you used messaged queue in you project.
  10. What are the differences in process and thread?
  11. What is volatile keyword in c?
  12. What all are the storage classes.
  13. What are the differences between static and global variable.
  14. There is one function, and in that functions we declare an array of size 1000, and recursively we calling it, what will be the impact in respect of memory. What will be the impact if we declare that array as static?
  15. What malloc return.
  16. What kind of memory allocation mechanism used in you project.
  17. What is difference in malloc/calloc.
  18. What is difference between array and linklist.
  19. What type of linklist have you used in your project.
  20. If u had the address of head in single linklist, how you can print the list element from tail to head in single traversing.
  21. What is paging.
    HR Round
    ========

  1. Briefly tell me about yourself.
  2. Some question from resume. Verified the information shared in resume.
  3. Do you face a scenario like where you feel that you are not having prior working experience for any assigned work?
  4. What is your primary approach, when task assign to you and you didn’t have prior information?
  5. What additional step you will take <as per you>, when you feel that your rating in organization degrade.
  6. Through out your carrier, do u face any issue personal/technical etc.if so how you come over it.Through out your carrier, do u face any issue personal/technical etc.if so how you come over it.Through out your carrier, do u face any issue personal/technical etc.if so how you come over it.Through out your carrier, do u face any issue personal/technical etc.if so how you come over it.In your carrier, do you face any issue i.e personal / technical etc? If so than how you came over it.
  7. What are your career aspirations?
  8. Then some pkg/notice etc question.
Sasken's Client Interview question (NEC Technologies India Limited)
==================================================================
 
1. Can you introduce you self, covering what all are the project you have done, and what was your contributions in it?
2. Can you give brief idea about LACP state machine?
4. Which link has gone down, and how the load balancing happen at remaining two link.
5. What are the types of pdu used in LACP.
6. Can you tell the header for PDU.
7. How marker and control pdu differentiate.
8. We have scenario like at one switch lacp is supported and at another switch it doesn't, so can we bundle the ports in port channel if so then how if not then why not.

9. What advantage and disadvantage we have in the scenario where we have created bridge instead of port-channel. (3 ports are its part). <we can or can’t>
10. What is bridge, can you tell us the functionality of it. (There were some more question related to LACP and bridge, currently I am not able to re-call it.)
11. What is STP and can u tell how it works.
12. What is intension of resolving the loop <in term of stp>, what impact will be if it will be.
13. What are the ports types in STP.
14. There is scenario, we attached one host <laptop> to switch,<stp is enable at switch>, what type of PDU will be transmitted once we connected the host to switch.
15. What all are the type of pdu in terms of STP.
16. at what interval pdu exchange between switches.
17. What is basic difference in STP and RSTP. Also what will be change in pdu of STP and RSTP.
18. What is PVSTP.
20. Can you name some IPC mechanism?
21. Suppose i have to communicate with one machine to another machine, can we use pipe for it, if not the why, if so then how.
22. Can you tell the procedure for creating the socket <client/server>?
23. What is purpose of using the bind? What are the argument we pass.
24. When TCP connection establish, at server side we define the port no X, and at client we define at port no Y, so will it work or.
25. What is pthread.  What kind of library you have used for pthread.
26. When we create the thread what all thing will shared.
27. What is difference in mutex and binary semaphore?
 


Sunday, November 2, 2014

Cavium Network Telephonic Interview Questions



Cavium Network Telephonic Interview Questions
+++++++++++++++++++++++++++++++++++++++++++++

 


Cavium Network Interview
  1. Briefly tell me about yourself.
    ok .. moving forward.
  2. What is vlan, use of it.
  3. Can a port can be part of multiple vlan, if so then how it differentiate what type of vlan pkt has been received.
  4. If a port is part of vlan 100 and if at that port one untagged, one vlan 100 pkt and one other vlan pkt (i.e vlan 200 pkt) recived. what will happen with all the three pkt.
  5. What happen when a pkt reached to switch, what are the area hit. what will happen if it miss the mac lookup.
  6. How we differentiate pkt is tagged or not. format of L2 header.
  7. what is IGMP snooping.
  8. What type of data structure used in your project, and you worked.
  9. What is Red Black Tree, why we go for red black tree, ok do you know, how insertion and deletion take place in it.
 10. Then question from red Black tree... why we go for rotation,why we used colors in it. 

 11. What is Complexity of Red Black Tree. what is complexity of BST.
  12. what are different way to traversing the binary tree.
then postorder ... preorder then inorder in detail.
 13. Do you know prefix, postfix.
  14. can you convert the ((a+b)*c-d) for above. 



  CLICK --> For more fresh question being asked in various company follow us at facebook.