Software Engineering Questions and Answers – Embedded Software

This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Embedded Software”.

1. Which of the following is a category of a stimuli?
a) Periodic stimuli
b) Software stimuli
c) Hardware stimuli
d) Management stimuli
View Answer

Answer: a
Explanation: Periodic stimuli occur at predictable time intervals. For example, the system may examine a sensor every 50 milliseconds and take action depending on that sensor value.

2. Which of the following activities may be included in a real-time software design process?
a) Platform selection
b) Timing analysis
c) Process design
d) All of the mentioned
View Answer

Answer: d
Explanation: All these can be implemented.

3. Which of the following is not a real-time architectural pattern
a) Observe and React
b) Environmental Control
c) Embedded System
d) Process Pipeline
View Answer

Answer: c
Explanation: Embedded systems’ patterns are process-oriented rather than object- or component-oriented .
advertisement
advertisement

4. RTOS stands for
a) real-life operating system
b) real-time operating system
c) real-time operating software
d) real-life operating software
View Answer

Answer: b
Explanation: Embedded applications are built on top of a real-time operating system (RTOS).

5. The times by which stimuli must be processed and some response produced by the system is known as
a) Compile time
b) Frequency
c) Deadlines
d) Execution time
View Answer

Answer: c
Explanation: If the system does not meet a deadline then, it results in a system failure; in a soft real-time system, it results in degraded system service .
Note: Join free Sanfoundry classes at Telegram or Youtube

6. The switch to backup power must be completed within a deadline of
a) 50 ms
b) 55 ms
c) 70 ms
d) 100 ms
View Answer

Answer: a
Explanation: The time required to power failure stimuli is 50 millisecond.

7. An example of a system that may use a process pipeline is a _________
a) High-speed data acquisition system
b) Failure of a power supply in an embedded system
c) Both High-speed data acquisition system AND Failure of a power supply in an embedded system
d) None of the mentioned
View Answer

Answer: a
Explanation: Data acquisition systems collect data from sensors for subsequent processing and analysis. These systems are used in situations where the sensors are collecting a lot of data from the system’s environment and it isn’t possible or necessary to process that data in real time.
advertisement

8. Periodic occur irregularly and unpredictably and are usually signaled using the computer’s interrupt mechanism.
a) True
b) False
View Answer

Answer: b
Explanation: This is the case for Aperiodic stimuli

9. If you detect power failure by monitoring a voltage level, you have to make more than one observation to detect that the voltage is dropping.
a) True
b) False
View Answer

Answer: a
Explanation: If you run the process 250 times per second, this means that it runs every 4 ms and you may require up to two periods to detect the voltage drop.
advertisement

10. The average execution time of the power monitor process should be less than
a) 1ms
b) 10ms
c) 100ms
d) none of the mentioned
View Answer

Answer: a
Explanation: General embedded software property.

Sanfoundry Global Education & Learning Series – Software Engineering.

Here’s the list of Best Books in Software Engineering.

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.