Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews New Artificial Intelligence Interviews:Advanced Embedded SystemsAI Fuzzy LogicAI GeneralAI Knowledge RepresentationAI LanguagesAI RecognitionArtificial Intelligence GamesArtificial Intelligence Language ProcessingArtificial Intelligence Neural NetworksArtificial Intelligence RoboticsArtificial Intelligence ToolsVirtual AssistantVirtual Reality
Copyright © 2018. All Rights Reserved
Advanced Embedded Systems Interview Question:
Explain me what is the need for an infinite loop in Embedded systems?
Submitted by: Muhammad☛ 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(;;);
{
//Code
}
☛ 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.,
☛ For e.g. Customer care Telephone systems where in a pre-recorded audio file is played in case the dialer is put on hold..
☛ Also circuits being responsible for indicating that a particular component is active/alive during its operation by means of LED's.
Submitted by: Muhammad
Example:
While(Boolean True) OR for(;;);
{
//Code
}
☛ 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.,
☛ For e.g. Customer care Telephone systems where in a pre-recorded audio file is played in case the dialer is put on hold..
☛ Also circuits being responsible for indicating that a particular component is active/alive during its operation by means of LED's.
Submitted by: Muhammad
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.