Multiple Choice
- Which of the following is the most important distinguishing feature of a real-time system?
- very fast hardware and response times
- mission critical application
- temporal correctness
- Which of the following are most likely to be hard real-time systems?
- weapons delivery system, library of congress database, automatic teller machine
- weapons delivery system, nuclear power plant controller, seat belt deployment system
- automated weed killing system, nuclear power plant controller, pasta sauce bottling factory control
- Real-time systems engineering is most likely to incorporate which of the following?
- determination of response time requirements and determining hardware and software strategies for meeting those requirements
- selection of hardware and configuration of off-the-shelf operating systems products
- formal derivation of mathematical models for the schedule
- Which of the following scheduling strategies is the most likely scheduling discipline to be used when “fairness” is the main requirement?
- round-robin
- cyclic executive
- rate-monotonic
Cyclic executive is not fair because one task can be much longer than another, hogging CPU time. Rate-monotonic is not fair because it is preemptive. Round-robin is based on equal sharing of processor time.
- Which of the following scheduling strategies does not require interrupts?
- round-robin
- cyclic executive
- rate-monotonic
- Rate-monotonic scheduling is used for all but the following?
- determining the theoretical best case scenario for CPU utilization
- providing some confidence that deadlines can or cannot be met
- for determining how the interrupt priorities should be assigned
- True or False: It is important to rely only on language constructs for intertask synchronization and communication because they are the most reliable and predictable.
- True
- False
Programming languages cannot be relied upon to provide safe synchronization mechanisms, even when advertised as such. It is better for the real-time systems engineer to carefully study the underlying implementation of these mechanisms for each compiler and environment and consider building these mechanisms from scratch if necessary.
- True or False: The best programming languages for real-time are those that relieve the software engineer from having to understand the core mechanisms of process scheduling and intertask synchronization and communication.
- True
- False
It is generally inadvisable to let the compiler handle these things without “supervision” by the engineer.
- True or False: Testing real-time systems is no different than testing any other type of system.
- True
- False
- Which of the following is not a challenge that is specific to real-time systems engineer?
- automatic determination of code execution time is generally not possible at compile time
- estimation of costs to complete and schedule is extremely difficult
- hardware mechanisms that improve average case performance can adversely impact worst case performance
Schedule and cost estimation is difficult for any kind of system. The other two problems are of special concern to real-time systems engineers.
https://courses.edx.org/courses/course-v1:IEEEx+RTSIx+1T2016/courseware/69441abcf7404bddb1bc57d337f912bd/b8b4fc22e4b64ce495d812a6ed3f0e4a/
No comments:
Post a Comment