{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}


Spring08_Homework1PartA_Solutions - Homework1...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Homework 1 ICS-143, Spring 2008 * Start Early. * Do not hesitate to ask questions. * If you make any assumptions, state them and be brief in your answers. * Hand in your homework to the distribution center before the following due date/time. Part A (77 points): Due 4/23/2008, 5:00pm Questions 1[Chapter 1, 40 points] 1a.  Give one sample application for soft real-time systems and one for hard real-time  systems. (5 points) Solution: Soft real-time: Multimedia streaming, e.g., video on demand. Hard real-time: Embedded medical devices, e.g., heart pacemakers, 1b.  State one essential property of the following types of operating systems: (6 points) 1) Time sharing 2) Real Time Solution: Timesharing: multiprogramming through time slicing Real-time: Timeliness (meeting required deadlines) 1c.  Which of the following operations are privileged? (4 points) 1) Generating an interrupt 2) Accessing network card buffer 3) Invoking a system call 4) Setting up the timer Solution: 1, 2, and 4.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
1d.  (Page 35, Question 1, Bic) Give examples of semantic gaps that must be bridged by  software, including the OSs at the following levels: CPU (instruction) level, main memory  level, secondary storage level, I/O device level. (5 points) Solution: CPU: In an application, you assign a variable, in the CPU, it moves data between registers Main Memory: When declare a new variable on the heap with 'new', you don't worry about  which page it is allocated on, or if there is enough memory in RAM for your object.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}