Chapter 1 Flashcards

(25 cards)

1
Q

What defines a system as ‘real-time’?

A

It has a deterministic response to a given event

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an example of a hard real-time system out of the following: cruise control, a pacemaker, a video playback system, and a basic calculator?

A

Pacemaker

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the main advantage of using hardware-based real-time systems?

A

Parallel and instantaneous operations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the primary downside of using custom ASICs in real-time systems?

A

Inflexibility and high cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the key feature of RTOS-based firmware?

A

It introduces a scheduling kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is true about bare-metal firmware:
a) it relies on pre-existing schedulers
b) it always uses vendor-supplied libraries
c) it offers high control over hardware
d) it cannot handle interrupts

A

c) It offers high control over hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What distinguishes a soft real-time system from a hard real-time system?

A

Deadlines are less critical in soft real-time systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Why are RTOSes preferred for constrained devices?

A

They provide a compact real-time kernel.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a firm real-time system’s behaviour when it misses occasional deadlines?

A

It may degrade performance without catastrophic failure.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In a real-time system, which condition most precisely defines system failure?

A

The system produces a correct result after its deadline (i.e. the deadline was missed).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which pair of factors best explains why real-time requirements vary widely across systems?

A

Execution speed and severity of missed deadlines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which statement best characterizes deadline misses in real-time systems?
a) All deadline misses lead to catastrophic system failure
b) Deadline misses are acceptable if results remain correct
c) Deadline misses may be acceptable or catastrophic depending on the system
d) Deadline misses are only problematic in hardware-based systems

A

c) Deadline misses may be acceptable of catasrophic depending on the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

In the context of real-time systems, what does bandwidth refer to?

A

The system’s ability to respond to events and signals.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the primary risk of insufficient system bandwidth in a real-time system?

A

Loss of signal integrity and late responses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What hardware characteristic most directly limits the number of instructions executed per unit time?

A

Clock frequency and cycles per instruction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What factors is least directly responsible for software performance in a real-time system?
a) Algorithm complexity
b) Operating system behavior
c) Multitasking and timing mechanisms
d) ADC sampling voltage range

A

d) ADC sampling voltage range (it may affect accuracy, but not software timing performance)

17
Q

Why is a real-time system design considered challenging?

A

It requires a deep understanding of both hardware and software.

18
Q

Why is real-time system design describe as both a science and an art?

A

Science involves analysis and timing calculations, art involves trade-offs.

19
Q

In the soldering iron example, which component combination directly supports maintaining a constant tip temperature?

A

Temperature sensor, ADC, MCU, and heater.

20
Q

Why do real-time constraints vary widely across different systems?

A

Because timing speed and consequence severity differ.

21
Q

Why is the MCU-controlled soldering iron shown in the slides considered a closed-loop control system?

A

Because the measured tip temperature is fed back to the MCU to adjust the heating power.

22
Q

Why does keeping a real-time system simple help guarantee real-time behaviour?

A

Because simpler systems make timing behviour more predictable.

23
Q

According to the toaster example, what best illustrates the KISS principle in system
design?
a) Adding a display improves usability without affecting reliability
b) Including extra features makes the system more versatile
c) A simple design is acceptable only for non-real-time systems
d) Limiting functionality to the core task improves reliability

A

d) Limiting functionality to the core task improves reliability.

24
Q

What distinguishes a chip-level subsystem from a board-level subsystem?

A

It is contained within a single physical device.

25
What mainly characterizes a system-level subsystem?
It manages the overall behaviour of multiple interconnected elements.