Embedded Systems Questions and Answers – Prediction of Execution Times

This set of Embedded Systems Multiple Choice Questions & Answers (MCQs) focuses on “Prediction of Execution Times”.

1. Identify the standard software components that can be reused?
a) application manager
b) operating system
c) application software
d) memory
View Answer

Answer: b
Explanation: There are certain software components that can be reused in an embedded system design. These are the operating systems, real-time databases and some other forms of middleware.

2. What does WCTE stand for?
a) wait case execution time
b) wait case encoder time
c) worst case execution time
d) worst code execution time
View Answer

Answer: c
Explanation: The WCTE is the worst case execution time which is an upper bound on the execution times of task. It can be computed for certain programs like while loops, programs without recursion, iteration count etc.

3. For which of the following WCET can be computed?
a) C program
b) assembly language
c) VHDL
d) program without recursion
View Answer

Answer: d
Explanation: The WCET computing is a difficult task for assembly language and for computing WCTE for any high-level language without the knowledge of the generated assembly code is impossible.
advertisement
advertisement

4. The WCET of which component can be computed if the task is mapped to hardware?
a) hardware
b) task
c) both task and hardware
d) application manager
View Answer

Answer: a
Explanation: The worst case execution time of the hardware can be computed if the task is mapped to the hardware which in turn requires the synthesis of the hardware.

5. Which estimation approach is used by Jha and Dutt for hardware?
a) accurate cost and performance value
b) estimated cost and performance value
c) performance value
d) accurate cost
View Answer

Answer: b
Explanation: There are different estimation techniques used. One such is the estimated cost and performance value which is proposed by Jha and Dutt for hardware. The accurate cost and performance value is proposed by Jain et al for software.

6. Which estimate approach is more precise?
a) estimated cost and performance value
b) accurate cost and performance value
c) performance value and execution time
d) estimated cost
View Answer

Answer: b
Explanation: The accurate cost and performance value is possible if interfaces to software synthesis tools and hardware synthesis tools exist and is more precise than any other methods.

7. Which estimate approach takes more time to consume?
a) accurate value
b) estimated value
c) accurate cost and performance value
d) estimated cost and performance value
View Answer

Answer: c
Explanation: The accurate cost and the performance value method is time-consuming but the other estimating approaches are less time consuming.
advertisement

8. Which estimation technique can be used if interfaces to software synthesis tools and hardware synthesis tools exist?
a) performance value
b) estimated cost
c) estimated cost and performance value
d) accurate cost and performance value
View Answer

Answer: d
Explanation: The accurate cost and performance value is possible if interfaces to software synthesis tools and hardware synthesis tools exist.

9. Which of the following is the base for scheduling algorithm?
a) WCET
b) time
c) execution time
d) address accessing time
View Answer

Answer: a
Explanation: The base for scheduling algorithm is the WCET, worst case execution time which is a bound on the execution time of tasks. Such computing is undecidable in the general case, so it is decidable for certain programs only such as programs without recursion, iteration count, while loops etc.
advertisement

Sanfoundry Global Education & Learning Series – Embedded System.

To practice all areas of Embedded System, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.