THEORY EXAMINATION (SEM–VI) 2016-17 REAL TIME SYSTEM
REAL TIME SYSTEM (NEC013R)
Section-wise Solved Answers & Notes
SECTION – A (10 × 2 = 20 Marks)
Very short, direct answers
(a) Embedded system vs Real-Time system
| Embedded System | Real-Time System |
|---|---|
| Dedicated function | Time-critical response |
| Timing may not be strict | Timing deadlines are mandatory |
| Example: Microwave oven | Example: Airbag system |
(b) Important issues in real-time computing
• Meeting deadlines • Predictability
• Scheduling • Resource sharing
• Fault tolerance
(c) Periodic task
A task that executes at regular, fixed intervals.
Example: Sensor data sampling every 10 ms.
(d) Sporadic task
A task that occurs irregularly but has a minimum inter-arrival time.
Example: Emergency interrupt.
(e) Temporal constraints
Time-related constraints such as deadline, response time, and execution time that must be satisfied.
(f) Why task synchronization is required in RTOS?
To avoid race conditions, data inconsistency, and resource conflicts when multiple tasks share resources.
(g) Predictability vs Validation
| Predictability | Validation |
|---|---|
| System behavior is deterministic | System correctness is verified |
| Timing guarantees | Functional correctness |
(h) Heterogeneous processors
A system using different types of processors (CPU, DSP, GPU) for optimized performance.
(i) Local and remote resources
• Local resources: Located on same processor • Remote resources: Accessed over network or bus
(j) Advantages of multihop protocol
• Extended network coverage • Reduced transmission power
• Improved reliability • Better scalability
SECTION – B (Any 5 × 10 = 50 Marks)
(a) Rate Monotonic (RM) scheduling algorithm
RM is a fixed-priority scheduling algorithm where: Shorter period → higher priority
Utilization bound equation:
U≤n(21/n−1)U \le n(2^{1/n}-1)U≤n(21/n−1)
For large n: U≈0.69U \approx 0.69U≈0.69
Example:
Task with period 10 ms has higher priority than task with period 20 ms.
(b) Bin-packing assignment algorithm for EDF
In EDF, tasks are assigned to processors using bin-packing techniques such as:
First Fit Best Fit
Objective: Minimize processors while meeting deadlines.
(c) Issues in real-time computing & examples
Issues: • Timing constraints
• Scheduling • Resource contention
Examples: Flight control system
Medical monitoring system
(d) Fixed vs Dynamic priority scheduling
| Fixed Priority | Dynamic Priority |
|---|---|
| Priority constant | Priority changes |
| RM algorithm | EDF algorithm |
| More predictable | Higher CPU utilization |
(e) Importance of predictability in RTS Predictability ensures deadlines are always met.
Enforcement methods: • Fixed scheduling policies
• Worst-case execution analysis • Resource access protocols
(f) RMFF vs RMST algorithms
| RMFF | RMST |
|---|---|
| First-Fit strategy | Smallest-Task strategy |
| Faster assignment | Better load balancing |
| Less optimal | More efficient |
(g) Functions of RTOS • Task scheduling
• Memory management • Inter-task communication
• Interrupt handling • Time management
(h) Clock & clock synchronization
Clock: Measures time in RTS.
Clock synchronization: Aligns clocks across processors to ensure consistent timing.
SECTION – C (Any 2 × 15 = 30 Marks)
Q3. Fault tolerance & protocol comparison
Fault tolerance Ability of system to continue operation despite faults.
Fault classification:
Temporal: Permanent, transient, intermittent Output: Omission, timing, response faults
Contention-based vs Token-based protocol
| Contention-based | Token-based |
|---|---|
| Nodes compete for access | Token controls access |
| Higher collision | Collision-free |
| Example: CSMA | Example: Token Ring |
Q4. RTOS vs General-purpose OS & VRTX
RTOS vs GPOS
| RTOS | GPOS |
|---|---|
| Deterministic | Best-effort |
| Deadline-driven | Throughput-driven |
| Embedded use | Desktop/server use |
VRTX RTOS
VRTX is a commercial RTOS with: Preemptive scheduling
Fast context switching Semaphore-based synchronization
Used in industrial and avionics systems.
Q5. Structure of real-time system
Components: • Sensors
• Processor • RTOS
• Actuators • Communication network
Working: Sensors capture data
Processor executes tasks via RTOS Actuators respond within deadlines
Related Notes
BASIC ELECTRICAL ENGINEERING
ENGINEERING PHYSICS THEORY EXAMINATION 2024-25
(SEM I) ENGINEERING CHEMISTRY THEORY EXAMINATION...
THEORY EXAMINATION 2024-25 ENGINEERING MATHEMATICS...
(SEM I) THEORY EXAMINATION 2024-25 ENGINEERING CHE...
(SEM I) THEORY EXAMINATION 2024-25 ENVIRONMENT AND...
Need more notes?
Return to the notes store to keep exploring curated study material.
Back to Notes StoreLatest Blog Posts
Best Home Tutors for Class 12 Science in Dwarka, Delhi
Top Universities in Chennai for Postgraduate Courses with Complete Guide
Best Home Tuition for Competitive Exams in Dwarka, Delhi
Best Online Tutors for Maths in Noida 2026
Best Coaching Centers for UPSC in Rajender Place, Delhi 2026
How to Apply for NEET in Gurugram, Haryana for 2026
Admission Process for BTech at NIT Warangal 2026
Best Home Tutors for JEE in Maharashtra 2026
Meet Our Exceptional Teachers
Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication
Explore Tutors In Your Location
Discover expert tutors in popular areas across India
Discover Elite Educational Institutes
Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies