50 likes | 188 Views
NET 424: REAL-TIME SYSTEMS ( Practical Part). Tutorial 2 : Real-Time Questions. How a real time system is different from other computer based systems ?.
E N D
NET 424: REAL-TIME SYSTEMS (Practical Part) Tutorial 2 : Real-Time Questions Networks and Communication Department
How a real time system is different from other computer based systems? a real time system is characterized by key features that make it different from traditional computing system: timing characteristic (the response should be delivered in a specific time, not before and not after that time), RTS are based on low level programming languages, RTS enable access to hardware components, RTS are designed for a specific hardware..... Networks and Communication Department
What is the difference between static priority and dynamic priority algorithms? Give example for each. A fixed-priority algorithm assigns the same priority to all the jobs in each task. Example: • Rate-monotonic (RM) algorithm: It assigns priorities to tasks based on their periods: the shorter the period, the higher the priority. Hence, the higher the rate, the higher the priority. Networks and Communication Department
(Cont.) A dynamic-priority algorithm assigns different priorities to the individual jobs in each task. Example: • Earliest-Deadline-First (EDF) algorithm assigns priorities to jobs according to their deadlines. The earlier the deadline, the higher the priority. Networks and Communication Department
Give the applications of real time systems. • real-time application (RTA) is an application programs that functions within a time frame that the user senses as immediate or current. The latency must be less than a defined value, usually measured in seconds. • Examples of RTAs include: • Videoconference applications • VoIP (voice over Internet Protocol) • Online gaming • Some e-commerce transactions • Chatting • IM (instant messaging) Networks and Communication Department