Embedded Interview Questions
Embedded Interview Questions
com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1) Explain what is embedded system in a computer system?
• Hardware
• Processor
• Memory
• Timers
• I/O circuits
• System application specific circuits
• Software
• It ensures the availability of System Memory
• It checks the Processor Speed availability
• The need to limit power lost when running the system continuously
• Real Time Operating System
• It runs a process as per scheduling and do the switching from one process to another
The I/O devices of embedded system are classified into two categories
• Serial
• Parallel
With embedded system, it is possible to replace dozens or even more of hardware logic gates,
input buffers, timing circuits, output drivers, etc. with a relatively cheap microprocessor.
Real-time embedded systems are computer systems that monitor, respond or control an external
environment. This environment is connected to the computer system through actuators, sensors,
and other input-output interfaces.
The microcontroller is a self-contained system with peripherals, memory and a processor that can
be used as embedded system.
Microprocessor is managers of the resources (I/O, memory) which lie outside of its architecture
Microcontroller have I/O, memory, etc. built into it and specifically designed for control
DMA address deals with physical addresses. It is a device which directly drives the data and
address bus during data transfer. So, it is purely physical address.
Interrupt latency is a time taken to return from the interrupt service routine post handling a
specific interrupt. By writing minor ISR routines, interrupt latency can be reduced.
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10) Mention what are buses used for communication in embedded system?
While ISA, EISA, PCI are standard buses for parallel communication used in PCs, computer
network devices, etc.
A watchdog timer is an electronic device or electronic card that execute specific operation after
certain time period if something goes wrong with an electronic system.
13) Explain what is the need for an infinite loop in embedded systems?
Embedded systems require infinite loops for repeatedly processing or monitoring the state of the
program. For instance, the case of a program state continuously being verified for any
exceptional errors that might just happen during run-time such as memory outage or divide by
zero, etc.
14) List out some of the commonly found errors in Embedded Systems?
A semaphore is an abstract datatype or variable that is used for controlling access, by multiple
processes to a common resource in a concurrent system such as multiprogramming operating
system. Semaphores are commonly used for two purposes
Mutexes Semaphores
• Mutex will always have a known owner • While for semaphore you
won’t know which thread
we are blocking on
Recursion function can be used when you are aware of the number of recursive calls is not
excessive. Inline functions property says whenever it will called, it will copy the complete
definition of that function. Recursive function declared as inline creates the burden on the
compilers execution.
18) Explain whether we can use semaphore or mutex or spinlock in interrupt context in Linux
Kernel?
Semaphore or Mutex cannot be used for interrupt context in Linux Kernel. While spinlocks can be
used for locking in interrupt context.
Project
Test Management Business Analyst Ethical Hacking PMP
Management
Software
Jenkins Agile Testing RPA JUnit
Engineering
https://www.guru99.com/
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------