Only one developer asked coding question related to strings, to detect palindrome. Test lead asked questions on syntax, semantics of C-code, git-squash, static code analysis and run-time analysis.
Linux Interview Questions
1,888 linux interview questions shared by candidates
What is IPC? What are the various schemes available? The term IPC (Inter-Process Communication) describes various ways by which different process running on some operating system communicate between each other. Various schemes available are as follows: Pipes: One-way communication scheme through which different process can communicate. The problem is that the two processes should have a common ancestor (parent-child relationship). However this problem was fixed with the introduction of named-pipes (FIFO). Message Queues : Message queues can be used between related and unrelated processes running on a machine. Shared Memory: This is the fastest of all IPC schemes. The memory to be shared is mapped into the address space of the processes (that are sharing). The speed achieved is attributed to the fact that there is no kernel involvement. But this scheme needs synchronization. Various forms of synchronisation are mutexes, condition-variables, read-write locks, record-locks, and semaphores.
Questions were mostly about C/C++ e.g. pointers, Memory Management, Operating Systems, and OOPs in C++ such as virtual functions.
Asked me to describe my project
Compare and contrast an array and a linked list. Which operates faster in a loop? Why?
Whats is Stack overflow attack??...then he gave me a scenario where there was a open source code at a server and you have your piece of code at that server. You as a client are allowed to invoke a method which takes in a array as a parameter which is not checked for overflow validation. I had to induce a buffer overflow attack and make the method to pass control to my piece of code in the server.
How do you check if 2 buffers overlap?
Differance between Raid3 and Raid 6
Tell me about yourself
how can you find out a physical and virtual machine in cmdline? how will you apply patch on rhel machines and how to avoid unwanted patch files when using yum? any idea on veritas / redhat cluster?
Viewing 151 - 160 interview questions