InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Is The Difference Between Hardware Design And Software Design? |
|
Answer» •Hardware design is designed with the COLLABORATION of interconnected parallel components that inherits the properties of each other. Whereas, Software design is designed with sequential components, that are BASED on objects and threads. •Hardware design is designed with the collaboration of interconnected parallel components that inherits the properties of each other. Whereas, Software design is designed with sequential components, that are based on objects and threads. |
|
| 2. |
What Is The Need For Having Multibyte Data Input And Output Buffers In Case Of Device Ports? |
|
Answer» •It’s normally the case that some devices transfer the output either in a BURSTY or a sequential manner and also during input entry. If we take the example of keyboards, all the data ENTERED is stored in a buffer and GIVEN at a time or one CHARACTER at a time. •It’s normally the case that some devices transfer the output either in a bursty or a sequential manner and also during input entry. If we take the example of keyboards, all the data entered is stored in a buffer and given at a time or one character at a time. |
|
| 3. |
What Are The Commonly Found Errors In Embedded Systems? |
|
Answer» •Damage of MEMORY devices due to transient current and STATIC discharges. •Damage of memory devices due to transient current and static discharges. |
|
| 4. |
Why Is Java Mostly Used In Embedded Systems? |
|
Answer» •JAVA was mainly designed and conceptualised for code that can work on different platforms without any hassles and also for being secure enough so as to not HARM or corrupt other modules of code. •Java was mainly designed and conceptualised for code that can work on different platforms without any hassles and also for being secure enough so as to not harm or corrupt other modules of code. |
|
| 5. |
If You Buy Some Rtos, What Are The Features You Look For In? |
|
Answer» •Deterministic operating system having guaranteed worst-case interrupt latency and context-switch times. •Deterministic operating system having guaranteed worst-case interrupt latency and context-switch times. |
|
| 6. |
How To Create A Child Process In Linux? |
|
Answer» Prototype of the function used to create a child process is pid_t fork(void); Significance of watchdog timer in Embedded Systems. Prototype of the function used to create a child process is pid_t fork(void); Significance of watchdog timer in Embedded Systems. |
|
| 7. |
Explain Interrupt Latency And How Can We Decrease It? |
|
Answer» 1.Interrupt latency BASICALLY refers to the time span an interrupt is generated and it being SERVICED by an appropriate routine defined, usually the interrupt handler. •ISRs being simple and short. 1.Interrupt latency basically refers to the time span an interrupt is generated and it being serviced by an appropriate routine defined, usually the interrupt handler. •ISRs being simple and short. |
|
| 8. |
What Could Be The Reasons For A System To Have Gone Blank And How Would You Debug It? |
|
Answer» Possible reasons could be: Possible reasons could be: |
|
| 9. |
How Are Macros Different From Inline Functions? |
|
Answer» •Macros are normally used whenever a set of instructions/tasks have to be repeatedly performed. They are small PROGRAMS to carryout some predefined actions. •Macros are normally used whenever a set of instructions/tasks have to be repeatedly performed. They are small programs to carryout some predefined actions. |
|
| 10. |
What Is Endianness Of A System And How Do Different Systems Communicate With Each Other? |
|
Answer» •Endianness basically refers to the ordering of the bytes within words or larger bytes of data treated as a single entity. •Endianness basically refers to the ordering of the bytes within words or larger bytes of data treated as a single entity. |
|
| 11. |
What Is The Need For Dmac In Es? |
|
Answer» •Direct memory ACCESS is MAINLY USED to overcome the disadvantages of interrupt and progam controlled I/O. •Direct memory access is mainly used to overcome the disadvantages of interrupt and progam controlled I/O. |
|
| 12. |
Why Do We Need Virtual Device Drivers When We Have Physical Device Drivers? |
|
Answer» Device drivers are basically a set of modules/routines so as to handle a device for which a direct way of communication is not possible through the user's application program and these can be thought of as an interface thus keeping the system small providing for minimalistic of additions of code, if any. Physical device drivers can’t perform all the logical operations needed in a system in cases like IPC, SIGNALS and so on... The main reason for having virtual device drivers is to mimic the behaviour of certain hardware devices without it ACTUALLY being present and these could be attributed to the high cost of the devices or the unavailability of such devices. These basically create an illusion for the USERS as if they are using the actual hardware and enable them to CARRYOUT their simulation results. Examples could be the use of virtual drivers in CASE of Network simulators,also the support of virtual device drivers in case a user runs an additional OS in a virtual box kind of a software. Device drivers are basically a set of modules/routines so as to handle a device for which a direct way of communication is not possible through the user's application program and these can be thought of as an interface thus keeping the system small providing for minimalistic of additions of code, if any. Physical device drivers can’t perform all the logical operations needed in a system in cases like IPC, Signals and so on... The main reason for having virtual device drivers is to mimic the behaviour of certain hardware devices without it actually being present and these could be attributed to the high cost of the devices or the unavailability of such devices. These basically create an illusion for the users as if they are using the actual hardware and enable them to carryout their simulation results. Examples could be the use of virtual drivers in case of Network simulators,also the support of virtual device drivers in case a user runs an additional OS in a virtual box kind of a software. |
|
| 13. |
A Vast Majority Of High Performance Embedded Systems Today Use Risc Architecture Why? |
|
Answer» •According to the instruction sets used, computers are normally classified into RISC and CISC. RISC STANDS for 'Reduced Instruction Set Computing' . The design PHILOSOPHY of RISC architecture is such that only one instruction is performed on each machine cycle thus taking very less time and speeding up when compared to their CISC counterparts. •According to the instruction sets used, computers are normally classified into RISC and CISC. RISC stands for 'Reduced Instruction Set Computing' . The design philosophy of RISC architecture is such that only one instruction is performed on each machine cycle thus taking very less time and speeding up when compared to their CISC counterparts. |
|
| 14. |
What Is The Need For An Infinite Loop In Embedded Systems? |
|
Answer» Infinite Loops are those program constructs where in there is no break statement so as to get out of the loop, it just keeps looping over the statements within the block DEFINED. Example: While(Boolean True) OR for(;;); Embedded systems NEED infinite loops for repeatedly processing/monitoring the STATE of the program. One example could be the case of a program state continuously being checked for any exceptional errors that might just occur during run time such as memory outage or divide by zero etc., Infinite Loops are those program constructs where in there is no break statement so as to get out of the loop, it just keeps looping over the statements within the block defined. Example: While(Boolean True) OR for(;;); Embedded systems need infinite loops for repeatedly processing/monitoring the state of the program. One example could be the case of a program state continuously being checked for any exceptional errors that might just occur during run time such as memory outage or divide by zero etc., |
|
| 15. |
When One Must Use Recursion Function? Mention What Happens When Recursion Functions Are Declared Inline? |
|
Answer» 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. 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. |
|
| 16. |
Explain What Is Semaphore? |
|
Answer» 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 • To share a common memory space 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 • To share a common memory space |
|
| 17. |
Explain What Is The Need For An Infinite Loop In Embedded Systems? |
|
Answer» 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. 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. |
|
| 18. |
Explain What Is A Watchdog Timer? |
|
Answer» 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. 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. |
|
| 19. |
List Out Various Uses Of Timers In Embedded System? |
|
Answer» Timers in embedded system are used in MULTIPLE ways • Real TIME Clock (RTC) for the system Timers in embedded system are used in multiple ways • Real Time Clock (RTC) for the system |
|
| 20. |
Mention What Are Buses Used For Communication In Embedded System? |
|
Answer» For embedded system, the BUSES used for communication INCLUDES • I2C: It is used for communication between multiple ICs While ISA, EISA, PCI are standard buses for parallel communication used in PCs, computer network devices, etc. For embedded system, the buses used for communication includes • I2C: It is used for communication between multiple ICs While ISA, EISA, PCI are standard buses for parallel communication used in PCs, computer network devices, etc. |
|
| 21. |
Explain What Is Interrupt Latency? How Can You Reduce It? |
|
Answer» 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. 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. |
|
| 22. |
What Does Dma Address Will Deal With? |
|
Answer» 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. 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. |
|
| 23. |
Mention What Is The Difference Between Microprocessor And Microcontroller? |
|
Answer» 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. 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. |
|
| 24. |
Explain What Is Microcontroller? |
|
Answer» The MICROCONTROLLER is a self-contained SYSTEM with PERIPHERALS, memory and a processor that can be USED as embedded system. The microcontroller is a self-contained system with peripherals, memory and a processor that can be used as embedded system. |
|
| 25. |
Why Embedded System Is Useful? |
|
Answer» 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. 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. |
|
| 26. |
Mention What Are The Essential Components Of Embedded System? |
|
Answer» Essential components of embedded system includes Essential components of embedded system includes |
|
| 27. |
Explain What Is Embedded System In A Computer System? |
|
Answer» An EMBEDDED SYSTEM is a computer system that is part of a larger system or machine. It is a system with a dedicated function within a larger ELECTRICAL or mechanical system. An embedded system is a computer system that is part of a larger system or machine. It is a system with a dedicated function within a larger electrical or mechanical system. |
|