Embedded Firmware Engineer
20+ Embedded Firmware Engineer Interview Questions and Answers
Q1. Design the components which are involved in the internal logic circuit of a 7-segment display based on the provided circuit ?
Components involved in the internal logic circuit of a 7-segment display include decoder, driver, and individual LED segments.
Decoder: Converts input signals into the appropriate output signals for each segment.
Driver: Amplifies the output signals from the decoder to drive the LED segments.
Individual LED segments: Represent each of the seven segments in the display.
Example: BCD to 7-segment decoder, transistor driver circuit, LED segments.
Q2. When 2 trains move in opposite directions , what point will they meet at different speeds? And related questions
The trains will meet at a point that is determined by the relative speeds of the trains.
The point where the trains meet is determined by the sum of the distances traveled by each train.
The time taken for the trains to meet is determined by the relative speeds of the trains.
If Train A is traveling at 50 mph and Train B is traveling at 70 mph, they will meet at a point that is closer to Train B's starting point.
Embedded Firmware Engineer Interview Questions and Answers for Freshers
Q3. design specifications for creating a vending machine using a microcontroller, incorporating the display of amounts with two 7-segment displays and including four to five additional operational conditions?
Design a vending machine using a microcontroller with two 7-segment displays and additional operational conditions.
Use a microcontroller to control the vending machine's operations
Incorporate two 7-segment displays to show the amounts
Include four to five additional operational conditions such as low inventory alert, coin validation, product selection, etc.
Q4. Write an assembly language program for reversing a byte for a hexadecimal value ? ex: A3 hexadecimal needs to converted to C5 when reversed .
Assembly language program to reverse a byte for a hexadecimal value.
Load the hexadecimal value into a register
Extract the lower 4 bits and upper 4 bits of the byte
Swap the lower and upper 4 bits
Combine the swapped bits to get the reversed byte
Q5. Write an assembly language program for displaying a square waves for the frequency of 1 Hz and 2 Hz with the 2 ports .
Assembly language program to display square waves for 1 Hz and 2 Hz using 2 ports.
Use assembly language instructions to control the ports for outputting square waves.
Set up a loop to toggle the ports at the desired frequencies to generate the square waves.
Ensure proper timing and synchronization between the two square waves.
Q6. What are the parameters responsible for program crash?
Parameters responsible for program crash
Null pointers
Memory leaks
Stack overflow
Infinite loops
Invalid input
Hardware failure
Share interview questions and help millions of jobseekers 🌟
Q7. Does education help you to earn money ?
Education can help individuals earn money by providing them with valuable skills, knowledge, and opportunities for career advancement.
Education can lead to higher paying job opportunities
Specialized education or training can result in higher salaries
Education can also lead to promotions and career advancement
Higher levels of education are often correlated with higher earning potential
Q8. What is life according to you ?
Life is a journey filled with experiences, challenges, growth, and opportunities for self-discovery.
Life is a precious gift that should be cherished and lived to the fullest
It involves constant learning, adapting, and evolving as individuals
Life is about forming meaningful relationships and connections with others
It includes pursuing passions, setting goals, and overcoming obstacles
Life is a balance of joy and sorrow, success and failure, love and loss
Embedded Firmware Engineer Jobs
Q9. How to integrate and differentiate signals through software embedded c for 8 bit , 16 bit architecture
Integrating and differentiating signals through software embedded C for 8-bit and 16-bit architecture involves utilizing appropriate data types and algorithms.
Use fixed-point arithmetic for 8-bit architecture to maintain precision
Leverage floating-point arithmetic for 16-bit architecture for higher precision
Implement algorithms like finite difference method for differentiation
Utilize digital signal processing techniques for signal integration
Optimize code for efficiency and m...read more
Q10. why yocto is used rather than directly using linux OS
Yocto is used to create custom Linux distributions tailored for specific embedded systems, providing flexibility and efficiency.
Yocto allows for customization of Linux distributions for specific hardware requirements
Enables easy integration of custom software components and drivers
Provides a streamlined and efficient build process for embedded systems
Offers a consistent and reproducible development environment
Facilitates maintenance and updates for embedded devices
Q11. Convert hexadecimal to decimal ?
Hexadecimal to decimal conversion involves multiplying each digit by 16 raised to the power of its position.
Start from the rightmost digit and multiply each digit by 16 raised to the power of its position (0-indexed).
Add the results of each multiplication to get the decimal equivalent.
For example, converting 0x1A to decimal: (1 * 16^1) + (10 * 16^0) = 26.
Q12. Different compilation stages, storage classes, dynamic memory allocation
Compilation stages, storage classes, and dynamic memory allocation are important concepts in embedded firmware engineering.
Compilation stages include preprocessing, compilation, assembly, and linking.
Storage classes determine the scope and lifetime of variables.
Dynamic memory allocation allows for efficient use of memory by allocating and deallocating memory as needed.
Examples of storage classes include auto, static, and extern.
Examples of dynamic memory allocation functions ...read more
Q13. Design a digital circuit to control the tail lights of a car according to some given specifications
Design a digital circuit to control car tail lights based on specifications
Use microcontroller to receive input signals from car's sensors
Implement logic to determine when to turn on/off tail lights (e.g. based on brake pedal or light sensor)
Connect output of microcontroller to control the tail lights
Q14. Write a program for an ATM machine to get minimum no. of notes.
Program to calculate minimum number of notes for ATM withdrawal
Create an array of available note denominations
Sort the array in descending order
Initialize a counter variable to keep track of the number of notes
Iterate through the array and divide the withdrawal amount by each note denomination
Update the counter variable with the quotient
Update the withdrawal amount with the remainder
Repeat the above steps until the withdrawal amount becomes zero
Return the counter variable as ...read more
Q15. How to implement digital filter through software
Digital filters can be implemented through software by using algorithms such as Finite Impulse Response (FIR) or Infinite Impulse Response (IIR).
Choose the appropriate filter type based on the desired frequency response and computational complexity
Implement the filter algorithm in the firmware code using programming languages like C or assembly
Optimize the filter design for efficient memory usage and processing speed
Test the filter implementation using simulation tools or har...read more
Q16. Why SIL is required after Mil??
SIL (Safety Integrity Level) is required after MIL (Military) to ensure that safety-critical systems meet specific safety requirements.
SIL is a measure of the reliability of a system in performing a safety function.
It is used in industries such as automotive, aerospace, and medical devices to ensure safety.
MIL standards focus on military requirements, while SIL standards focus on safety requirements.
For example, in medical devices, SIL levels are used to ensure the safety and...read more
Q17. What is use of volatile keyword
Volatile keyword is used to indicate that a variable's value can be changed unexpectedly.
It is used in embedded systems where hardware can change a variable's value
It tells the compiler not to optimize the variable
It ensures that the variable is always read from memory and not from a cache
Example: a variable that is updated by an interrupt service routine
Q18. Can we pass an array to function.
Yes, an array can be passed to a function in embedded firmware programming.
Arrays can be passed to functions by specifying the array name as the argument.
The function can then access and manipulate the elements of the array.
Example: void printArray(int arr[], int size) { ... }
Example: int main() { int myArray[] = {1, 2, 3}; printArray(myArray, 3); }
Q19. write a function pointer syntax?
Function pointer syntax allows for storing the address of a function in a pointer variable.
Syntax: return_type (*pointer_name)(parameters)
Example: void (*funcPtr)(int) = &someFunction;
Q20. Given a array and find the minimum number of swaps
Find the minimum number of swaps needed to sort an array
Iterate through the array and count the number of swaps needed to sort it
Use a sorting algorithm like bubble sort or selection sort to determine the minimum swaps
Track the indices of the elements in the original array to calculate the swaps needed
Q21. Detail explaination of your poject
Developed firmware for a smart home automation system
Designed and implemented communication protocols for various IoT devices
Developed low-level drivers for sensors and actuators
Optimized power consumption for battery-operated devices
Integrated with cloud services for remote monitoring and control
Q22. Compilation process in c
Compilation process in C involves preprocessing, compiling, assembling, and linking.
Preprocessing: Includes header files, macro expansions, and conditional compilation.
Compiling: Translates source code to assembly code specific to the target architecture.
Assembling: Converts assembly code to machine code in object files.
Linking: Combines object files and libraries to generate an executable file.
Q23. Explain SR and D flip flop
SR flip flop is a latch with two inputs (Set and Reset) while D flip flop has a single input (Data).
SR flip flop has two inputs - Set and Reset, and can be used to store one bit of data.
D flip flop has a single input - Data, and is used to store one bit of data as well.
SR flip flop can have both inputs high, which is an invalid state, while D flip flop always has a valid input state.
D flip flop is edge-triggered, meaning it only changes state on the rising or falling edge of ...read more
Q24. reverse the string?
Reverse a given string
Use a loop to iterate through the characters of the string
Swap the characters from start to end of the string
Continue swapping until reaching the middle of the string
Q25. What is embedded c
Embedded C is a programming language used for developing software for embedded systems.
Embedded C is a subset of the C programming language.
It is optimized for resource-constrained systems with limited memory and processing power.
It allows direct access to hardware and provides low-level control.
Embedded C is used in various industries like automotive, aerospace, consumer electronics, etc.
Example: Writing code to control a microcontroller or designing a real-time operating sy...read more
Interview Questions of Similar Designations
Interview experiences of popular companies
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
Reviews
Interviews
Salaries
Users/Month