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 DocumentRight 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. Secondary Storage: When an application writes to a file, it doesn't worry about if there is 
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.

This note was uploaded on 06/18/2009 for the course CSE 104 taught by Professor Franklin,s during the Spring '08 term at UC Irvine.

Page1 / 5

Spring08_Homework1PartA_Solutions - Homework1...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online