Академический Документы
Профессиональный Документы
Культура Документы
http://kalyan-interviewfaqs.blogspot.in/
More
Next Blog
Create Blog
Sign In
Interview Questions
Wednesday, July 21, 2010
Nokia X2
Nokia Cell Phone X2
Rs.1,000
Buy now!
No comments:
Apple iPhone 5 32 Gb
Apple Mobile Phone
Rs.7,600
Buy now!
Sony Xperia Z3
Sony XPERIA Z3
Rs.9,000
Buy now!
Sunday, June 27, 2010
1 of 6
Followers
Members (3)
Blog Archive
2010 (2)
July (1)
Interview Questions: Interview
FAQ's I faced
June (1)
Interview Questions
handles it. How to fix this ?
16. How to determine merging in a linked list.
17. How to use two queue's to get the behavior of a stack.
18. What are the traversals available. Come out with a traversal technique which can
print 1,2,3,4,5,6,7,8 for a tree shown below.
1
2
3
4
5
6 7
8
19. How do you search for duplicate data in a linked list?
20. How to know if a data structure was modified when it is shared between different
threads which can read, modify, delete data from it. What mechanism is followed in
general.
21. How to debug a system hang.
22. How to debug a crash. Especially when the core file does not give proper
information.
23. Priority inheritence explain.
24. What are the IPC mechanisms available.
25. How will the scheduler schedule the threads in a normal OS (i.e. Non premptive
priority based). How will it handle when a thread malfunctions in the process.
26. Explain how security is achieved using SNMP V3.
27. How do you determine Little endian or Big Endian. Write program.
28. Write prog for ntohs()
29. Explain STP, RSTP and MSTP. Which one is better top down or bottom top model for
ST, w.r.t Root bridge position. Edge ports use.
30. How to detect a memory is corrupted? What are the mechanisms used?
31. What are the different signals you have used?
32. what are the different segments you know.
33. what is a heap data structure.
34. What happens if a ARP packet is L3 broadcast?
35. How do you implement a timer library.
http://kalyan-interviewfaqs.blogspot.in/
About Me
kalyan
A simple human being who believes
in humanity, and in the words that,
every person is born for a purpose,
and must try to help people around in
their own strengths.
View my complete profile
2 of 6
Interview Questions
http://kalyan-interviewfaqs.blogspot.in/
3 of 6
Interview Questions
http://kalyan-interviewfaqs.blogspot.in/
18. What is padding problem? How can it be controlled? How is it handled using
pragmas?
19. SNMP qns that are mentioned in Brocade were asked.
20. o/p of the program
int main()
{
int *p;
p=value();
printf("%d",*p);
return 0;
}
int * value()
{
int p=100;
return &p;
}
21. What does a Malloc do. Return type of malloc.
22. Declare a function pointer.
23. Application of counting semaphore.
24. what are ACL's used for?
25. What is the ethertype for QinQ, VLAN.
26. What is the use of ioctl?
27. how are the sockets used for a communication link.
28. What is internal fragmentation and external fragmentation.
29. What is the difference between shared object and a library?
30. Use of Static key word. What are the different storage classifiers available.
31. Use of extern key word.
32. Difference between typedef and macro.
Company : HCL (interview time : 2hrs)
1. Write a macro to find maximum of two numbers. enhance it for 3 numbers.
2. Debugging command to add breakpoint.
3. How to debug a thread in gdb.
4. How to attach a core file in gdb.
5. What is priority inversion ? explain.
6. Tasks A,B,C are having priorities 100, 200, 255 respectively. Task C is holding a
semaphore. Assuming priority inheritance is in place, if Task C wants a resource held by
Task B, will it get the resource? if so what would be the priority of each task for that to be
achieved. If not why?
7. How will free know how many bytes of memory to be freed? How is the sanity check
implemented.
8. Write a program to delete a node in a Linked list.
9. Explain the timer library implementation, for a granularity of 1 sec given the efficiency
should be only by time.
10. How will the interface number on which the response has to be sent is known to the
SNMP Agent once it needs to send a reply?
11. Port numbers used for SNMP. What is inform?
12. Difference in SNMP v2 trap and v1 trap.
13. Questions related to VLAN, STP, RSTP, MSTP, LAG, ACL as discussed above in
other companies.
14. How the Multicast Mac address is mapped from multicast IP address.
15. How are the control packets identified?
16. Ether type of VLAN, and QinQ. What is QinQ used for.
17. Use of Volatile keyword?
18. How a multicast communication happen.
19. Declare a function pointer. What is the difference between (void *func)() and void
(*func)().
Some Generic questions ( this keeps growing):
1. Use of register Keyword. Can it be declared globally.
2. Can a Macro be declared with variable arguments ? if so How?
3. Can a Nested function be declared? How?
4. Can a Macro with a goto statement and a label be defined? If so, what happens, if the
same macro is called repeatedly thrice?
My Friends Interview Questions:
4 of 6
Interview Questions
http://kalyan-interviewfaqs.blogspot.in/
5 of 6
Interview Questions
http://kalyan-interviewfaqs.blogspot.in/
4 comments:
Home
Subscribe to: Posts (Atom)
6 of 6