Friday, February 18, 2011

Zenith Infotech Tel Round :
=========================
1. Write a program to set a particular bit in a given number.
2. Program to convert little endian to big endian
3. Difference b/w MACRO and INLNE
4. Disadvantage of INLINE functions.
5. Difference b/w function and INLINE function.
6. What is function pointer
7. Write a syntax for array of 10 pointer, which has taken interget, char, float as arguments and returns interger type.
8. Diff b/w Semaphores and Spin locks, when to use semaphore and when to use spin locks, what is interrupt.
9. what is the diff b/w soft IRQ and work queue.
10. What is major number, how we get major number.
11. How will the kernel detects the devices.
12. How to debug the USB driver.
13. How to find and debug the memory leaks in the kernel.
14. I what to disable a particular interrupt, which API have to use.
15. What is logical address and linear address.
16. What is the purpose of nmap.
17. Communication b/w client and server in TCP sockets
18. Socket system call parameters.
19. Is it possible to use Spin locks for uni processor systems.