THEORY EXAMINATION (SEM–VI) 2016-17 REAL TIME SYSTEM

B.Tech Engineering 0 downloads
₹29.00

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 SystemReal-Time System
Dedicated functionTime-critical response
Timing may not be strictTiming deadlines are mandatory
Example: Microwave ovenExample: 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

PredictabilityValidation
System behavior is deterministicSystem correctness is verified
Timing guaranteesFunctional 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 PriorityDynamic Priority
Priority constantPriority changes
RM algorithmEDF algorithm
More predictableHigher 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

RMFFRMST
First-Fit strategySmallest-Task strategy
Faster assignmentBetter load balancing
Less optimalMore 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-basedToken-based
Nodes compete for accessToken controls access
Higher collisionCollision-free
Example: CSMAExample: Token Ring

Q4. RTOS vs General-purpose OS & VRTX

RTOS vs GPOS

RTOSGPOS
DeterministicBest-effort
Deadline-drivenThroughput-driven
Embedded useDesktop/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

File Size
57.66 KB
Uploader
SuGanta International
⭐ Elite Educators Network

Meet Our Exceptional Teachers

Discover passionate educators who inspire, motivate, and transform learning experiences with their expertise and dedication

KISHAN KUMAR DUBEY

KISHAN KUMAR DUBEY

Sant Ravidas Nagar Bhadohi, Uttar Pradesh , Babusarai Market , 221314
5 Years
Years
₹10000+
Monthly
₹201-300
Per Hour

This is Kishan Kumar Dubey. I have done my schooling from CBSE, graduation from CSJMU, post graduati...

Swethavyas bakka

Swethavyas bakka

Hyderabad, Telangana , 500044
10 Years
Years
₹10000+
Monthly
₹501-600
Per Hour

I have 10+ years of experience in teaching maths physics and chemistry for 10th 11th 12th and interm...

Vijaya Lakshmi

Vijaya Lakshmi

Hyderabad, Telangana , New Nallakunta , 500044
30+ Years
Years
₹9001-10000
Monthly
₹501-600
Per Hour

I am an experienced teacher ,worked with many reputed institutions Mount Carmel Convent , Chandrapu...

Shifna sherin F

Shifna sherin F

Gudalur, Tamilnadu , Gudalur , 643212
5 Years
Years
₹6001-7000
Monthly
₹401-500
Per Hour

Hi, I’m Shifna Sherin! I believe that every student has the potential to excel in Math with the righ...

Divyank Gautam

Divyank Gautam

Pune, Maharashtra , Kothrud , 411052
3 Years
Years
Not Specified
Monthly
Not Specified
Per Hour

An IIT graduate having 8 years of experience teaching Maths. Passionate to understand student proble...

Explore Tutors In Your Location

Discover expert tutors in popular areas across India

Coding for Kids Near Sector 108 Gurugram (Dwarka Expressway) – Build Future-Ready Skills Early Sector 108, Gurugram
Geography Classes Near Sector 92 Gurugram – Build Strong Concepts, Map Skills & Exam Confidence Gurugram
Guitar Classes Near Sarita Vihar – Learn Guitar from Expert Trainers in South Delhi Sarita Vihar, Delhi
German Language Classes Near Sector 118 Noida – Learn German with Expert Trainers Noida
Drawing & Sketching Classes Near Sector 67 Gurugram – Nurture Creativity & Artistic Skills Sector 67, Gurugram
Tally / Accounting Software Course Near Sector 64 Gurugram – Build a Strong Career in Accounts & Finance Sector 64, Gurugram
Meditation Coaching Near Sohna Road – Discover Peace, Focus, and Mental Balance Sohna Road, Gurugram
Guitar Classes Near By Hauz Khas Learn Guitar with Expert Guidance & Turn Your Passion into a Powerful Skill Hauz Khas, Delhi
Music Theory & Composition Near DLF Cyber City – Master the Language of Music DLF Cyber City, Gurugram
🇯🇵 Japanese Language Classes Near Golf Course Extension Road – Complete Guide to Learning Japanese Golf Course Ext Road, Gurugram
Maths Coaching Near Sector 88 Gurugram – Build Strong Concepts, Improve Scores, and Gain Confidence Sector 88, Gurugram
Real Estate Consulting Near By Dwarka Mor Professional Property Guidance for Buying, Selling & Investment Decisions Dwarka Mor, Delhi
Singing / Vocal Training Near Sector 18 Market Area Noida – Learn Music with Professional Vocal Trainers Noida Sector 18, Noida
Meditation Coaching Near Sector 126 Noida – A Complete Guide to Mental Wellness and Inner Peace Sector 126, Noida
Coding Classes for Kids Near By Kirti Nagar – Build Future-Ready Skills Early Kirti Nagar, Delhi
Graphic Designing Classes Near Noida Sector 99 – Learn Creative Design and Build a Successful Career Noida
Photography Basics Classes Near Sector 82 Gurugram – Learn, Click & Create H Block Sector 82, Gurugram
Vedic Maths Classes Near Sector 99A Dwarka Expressway, Gurugram – Boost Speed, Accuracy & Mental Calculation Skills Sector 99A, Gurugram
Guitar Classes Near Central Noida Sector 5 – Learn Guitar with Professional Trainers B Block Sector 5, Noida
Spoken English Classes Near Sector 117 Noida – Improve Fluency, Confidence and Communication Skills Noida
⭐ Premium Institute Network

Discover Elite Educational Institutes

Connect with top-tier educational institutions offering world-class learning experiences, expert faculty, and innovative teaching methodologies

Réussi Academy of languages

sugandha mishra

Réussi Academy of languages
Madhya pradesh, Indore, G...

Details

Coaching Center
Private
Est. 2021-Present

Sugandha Mishra is the Founder Director of Réussi Academy of Languages, a premie...

IGS Institute

Pranav Shivhare

IGS Institute
Uttar Pradesh, Noida, Sec...

Details

Coaching Center
Private
Est. 2011-2020

Institute For Government Services

Krishna home tutor

Krishna Home tutor

Krishna home tutor
New Delhi, New Delhi, 110...

Details

School
Private
Est. 2001-2010

Krishna home tutor provide tutors for all subjects & classes since 2001

Edustunt Tuition Centre

Lakhwinder Singh

Edustunt Tuition Centre
Punjab, Hoshiarpur, 14453...

Details

Coaching Center
Private
Est. 2021-Present
Great success tuition & tutor

Ginni Sahdev

Great success tuition & tutor
Delhi, Delhi, Raja park,...

Details

Coaching Center
Private
Est. 2011-2020