Assignment_1

3
ELEC 566: Embedded Operating Systems Assignment 1 Part 1: Real Time OS 1) Identify the following environments as either hard or soft real time. a. Thermostat in a household. b. Control system for a nuclear power plant. c. Fuel economy system in an automobile. d. Landing system in a jet airliner. 2) Discuss ways in which the priority inversion problem could be addressed in a realtime system. Also discuss whether the solutions could be implemented within the context of a proportional share scheduler. Part 2: Operating Systems 1) What are the three main purposes of an operating system? 2) What are the main differences between operating systems for mainframe computers and personal computers?

Transcript of Assignment_1

Page 1: Assignment_1

ELEC 566: Embedded Operating Systems

Assignment 1

Part 1: Real Time OS

1) Identify the following environments as either hard or soft real time.a. Thermostat in a household.b. Control system for a nuclear power plant.c. Fuel economy system in an automobile.d. Landing system in a jet airliner.

2) Discuss ways in which the priority inversion problem could be addressed in a realtime system. Also discuss whether the solutions could be implemented within the context of a proportional share scheduler.

Part 2: Operating Systems

1) What are the three main purposes of an operating system?

2) What are the main differences between operating systems for mainframe computers and personal computers?

3) List the four steps that are necessary to run a program on a completely dedicated machine—a computer that is running only that program.

4) In a multiprogramming and time-sharing environment, several users share the system simultaneously. This situation can result in various security problems.

a. What are two such problems? b. Can we ensure the same degree of security in a time shared machine as in a dedicated machine? Explain your answer.

Page 2: Assignment_1

5) Under what circumstances would a user be better off using a timesharing system rather than a PC or single-user workstation?

6) Discuss, with examples, how the problem of maintaining coherence of cached data manifests itself in the following processing environments:a. Single-processor systemsb. Multiprocessor systemsc. Distributed systems

7) Define the essential properties of the following types of operating systems:a. Batchb. Interactivec. Time sharingd. Real timee. Networkf. Parallelg. Distributedh. Clusteredi. Handheld