Embedded Linux Interview Questions

65 embedded linux interview questions shared by candidates

first question was how to count number of set bits. Second question was how to synchronize writter processes to a shared data with a consumer process. The second interview was frontal and after self introductory the assignment wa to design and implement a memory manager with init, alloc and free operations in c/c++
avatar

Linux Embedded Developer

Interviewed at ASOCS

2.7
Feb 19, 2023

first question was how to count number of set bits. Second question was how to synchronize writter processes to a shared data with a consumer process. The second interview was frontal and after self introductory the assignment wa to design and implement a memory manager with init, alloc and free operations in c/c++

Explain userspace applications. What are the different Interprocess Communication (IPC) techniques? How does message passing work in IPC? Can you explain shared memory and its use in IPC? What is a semaphore and how does it work in IPC?
avatar

Embedded Linux Engineer

Interviewed at MosChip

3.9
Nov 7, 2024

Explain userspace applications. What are the different Interprocess Communication (IPC) techniques? How does message passing work in IPC? Can you explain shared memory and its use in IPC? What is a semaphore and how does it work in IPC?

A. Test Embedded C 1. Is C case sensitive language? Yes/No 2. Complete function below for swapping two values given by pointers. void SwapValues(unsigned int *pVal1, unsigned int *pVal2) { assert(pVal1 != NULL); assert(pVal2 != NULL); } 3. You have following code, what will be value of "b"? int a[10] = {1,2,3,4,5,6,7,8,9,10} int *b = *(&a[3] + 2); 4. Write macro which will return minimum of two given numbers. 5. You have value in "a" stored as big endian, write code to change its value to little endian. 6. Is the following function interrupt service routine? unsigned int isr_timer0(int value){ printf("Output: %d\n", value); return value + 10; } 6. Given function which fill array with natural number sequence. Does the function returns number of written items? unsigned int * fillNumber(unsigned int *pBuffer, unsigned int n) { unsigned int i; for(i = 0; i < n; n++) { pBuffer[i] = i + 1; } return &i; } B. Interview Introduce yourself. How you will debug multi-thread application. Do you have any experiences with linux kernel side development? What kind of ARM platforms do you know? What is the difference of standard kernel and RTOS kernel of Linux? How do you change priority of some process? What type of logic analyzer will you use? What are the difference between logic analyzer and oscilloscope? What types of soft-cores for FPGA do you know? What it TPM? (Trusted Platform Module.) What are you experiences with Linux security? How you will store passwords on some system?
Jun 24, 2015

A. Test Embedded C 1. Is C case sensitive language? Yes/No 2. Complete function below for swapping two values given by pointers. void SwapValues(unsigned int *pVal1, unsigned int *pVal2) { assert(pVal1 != NULL); assert(pVal2 != NULL); } 3. You have following code, what will be value of "b"? int a[10] = {1,2,3,4,5,6,7,8,9,10} int *b = *(&a[3] + 2); 4. Write macro which will return minimum of two given numbers. 5. You have value in "a" stored as big endian, write code to change its value to little endian. 6. Is the following function interrupt service routine? unsigned int isr_timer0(int value){ printf("Output: %d\n", value); return value + 10; } 6. Given function which fill array with natural number sequence. Does the function returns number of written items? unsigned int * fillNumber(unsigned int *pBuffer, unsigned int n) { unsigned int i; for(i = 0; i < n; n++) { pBuffer[i] = i + 1; } return &i; } B. Interview Introduce yourself. How you will debug multi-thread application. Do you have any experiences with linux kernel side development? What kind of ARM platforms do you know? What is the difference of standard kernel and RTOS kernel of Linux? How do you change priority of some process? What type of logic analyzer will you use? What are the difference between logic analyzer and oscilloscope? What types of soft-cores for FPGA do you know? What it TPM? (Trusted Platform Module.) What are you experiences with Linux security? How you will store passwords on some system?

The coding question is more of a math problem than an embedded linux problem and too long for short interview. It has very little or no application in embedded linux. This is a red flag to me because for a few reasons. One is the interviewer is not a very experienced embedded linux engineer. Another is nobody inside the company reviews the questions to make sure they are embedded linux questions. Another is top engineers would not work there. I just lost my interest after this interview.
avatar

Embedded Linux Engineer

Interviewed at NAUTO

3.2
Feb 8, 2018

The coding question is more of a math problem than an embedded linux problem and too long for short interview. It has very little or no application in embedded linux. This is a red flag to me because for a few reasons. One is the interviewer is not a very experienced embedded linux engineer. Another is nobody inside the company reviews the questions to make sure they are embedded linux questions. Another is top engineers would not work there. I just lost my interest after this interview.

Viewing 21 - 30 interview questions

Glassdoor has 65 interview questions and reports from Embedded linux interviews. Prepare for your interview. Get hired. Love your job.