Senior Embedded Engineer

10+ Senior Embedded Engineer Interview Questions and Answers

Updated 27 Aug 2024
search-icon

Q1. What is the difference between a while loop and a do while loop?

Ans.

A while loop checks the condition before executing the code block, while a do while loop executes the code block once before checking the condition.

  • While loop: Condition is checked before entering the loop.

  • Do while loop: Code block is executed at least once before checking the condition.

  • Example: while (condition) { // code block } vs. do { // code block } while (condition);

Q2. Find a number in the string? C program for finding greatest of 3 numbers? RTOs related questions.

Ans.

C program for finding greatest of 3 numbers and finding a number in a string. RTOs related questions.

  • For finding greatest of 3 numbers, use if-else statements and compare each number with the other two.

  • For finding a number in a string, use string manipulation functions like strstr() or atoi().

  • For RTOs related questions, brush up on traffic rules and regulations specific to your region.

Senior Embedded Engineer Interview Questions and Answers for Freshers

illustration image

Q3. What do you know about embedded c programming?

Ans.

Embedded C programming is a specialized skill used in developing software for embedded systems.

  • Embedded C is a variant of the C programming language specifically designed for embedded systems.

  • It is used to write code for microcontrollers, sensors, and other hardware devices.

  • Embedded C programming requires knowledge of low-level hardware interactions and memory management.

  • Example: Writing code to control a robotic arm using a microcontroller.

Q4. Calculate size of variable without library function

Ans.

Calculate size of variable without library function

  • Use the sizeof operator to calculate the size of a variable

  • Multiply the size by the number of elements if it's an array

  • Size of a struct is the sum of sizes of its members

  • Size of a union is the size of its largest member

  • Size of a pointer is platform-dependent

Are these interview questions helpful?

Q5. How the boost converter will work?

Ans.

Boost converter is a type of DC-DC converter that steps up the input voltage to a higher output voltage.

  • Boost converter uses an inductor, a diode, a capacitor, and a switch to increase the voltage level.

  • During the switch on-time, energy is stored in the inductor. During the switch off-time, the energy is transferred to the output.

  • The output voltage is higher than the input voltage due to the energy transfer process.

  • Boost converters are commonly used in applications where a hi...read more

Q6. Why do we use timers and counters?

Ans.

Timers and counters are essential in embedded systems for tasks like scheduling, measuring time intervals, generating waveforms, and counting events.

  • Timers are used for scheduling tasks at specific intervals, generating PWM signals, and measuring time durations.

  • Counters are used for counting external events like pulses, frequency measurement, and capturing input signals.

  • Timers and counters are crucial for real-time applications, communication protocols, and controlling hardwa...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q7. Which microcontrollers are used ?

Ans.

Various microcontrollers are used depending on the project requirements, such as ARM Cortex-M series, PIC, AVR, etc.

  • ARM Cortex-M series

  • PIC

  • AVR

Q8. What is DMA? Context Switching

Ans.

DMA stands for Direct Memory Access, a feature that allows hardware devices to transfer data to/from memory without involving the CPU.

  • DMA is used to offload data transfer tasks from the CPU, improving overall system performance.

  • Context switching is the process of saving and restoring the state of a CPU so that multiple processes can share the same CPU.

  • DMA and context switching are both important concepts in embedded systems design.

  • Example: In a system with a network interface...read more

Senior Embedded Engineer Jobs

Senior Embedded Engineer 6-8 years
Cyient Limited
3.7
Pune
Senior Embedded Engineer 4-8 years
Larsen & Toubro (L&T)
4.0
Mysuru / Mysore
Senior Embedded Engineer - RTOS 6-8 years
ajm softwares
3.9
Pune

Q9. What is pipeline in ARM?

Ans.

Pipeline in ARM is a technique used to increase the performance of the processor by overlapping the execution of multiple instructions.

  • Pipeline allows multiple instructions to be processed simultaneously in different stages of execution.

  • It helps in reducing the overall execution time of a program.

  • ARM processors typically have a 3-stage pipeline, but some newer designs have more stages for better performance.

  • Example: In a 3-stage pipeline, the fetch, decode, and execute stages...read more

Q10. What process and threads?

Ans.

Processes are independent units of execution while threads are lightweight subunits of a process sharing resources.

  • Processes are independent units of execution with their own memory space and resources.

  • Threads are lightweight subunits of a process sharing the same memory space and resources.

  • Processes have their own program counter, registers, and stack while threads share these.

  • Example: A web browser running multiple tabs as processes, each tab having multiple threads for ren...read more

Q11. Explain Interrupt handling in detail

Ans.

Interrupt handling is a mechanism to handle asynchronous events in real-time systems.

  • Interrupts are signals generated by hardware or software to interrupt the normal execution of a program.

  • Interrupts are prioritized and handled by the Interrupt Service Routine (ISR).

  • ISR saves the current state of the processor, executes the interrupt handler code, and restores the saved state.

  • Interrupts can be edge-triggered or level-triggered, and can be handled synchronously or asynchronous...read more

Q12. Explain compilation process in C

Ans.

Compilation process in C involves preprocessing, compiling, assembling, and linking.

  • Preprocessing: Includes header files, macro expansion, and conditional compilation.

  • Compiling: Translates source code into assembly code specific to the target architecture.

  • Assembling: Converts assembly code into machine code in object files.

  • Linking: Combines object files and libraries to generate an executable file.

Q13. What is an RTOS

Ans.

An RTOS (Real-Time Operating System) is a specialized operating system designed to handle real-time applications with strict timing requirements.

  • RTOS is optimized for applications where tasks must be completed within a specified time frame.

  • It provides deterministic behavior, ensuring tasks are executed in a timely manner.

  • Examples of RTOS include FreeRTOS, VxWorks, and QNX.

Q14. Storage classes in C

Ans.

Storage classes in C determine the scope and lifetime of variables.

  • Auto: default storage class for local variables

  • Static: retains value between function calls

  • Extern: used to declare variables in other files

  • Register: stores variables in CPU registers for faster access

Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10.5k Interviews
3.4
 • 70 Interviews
3.5
 • 39 Interviews
4.3
 • 21 Interviews
View all

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Senior Embedded Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter