Homework 2

Homework 2 - CSC301 Homework2 CSC301OperatingSystemI HW2...

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

View Full Document Right Arrow Icon
CSC 301 Homework 2 Velma Teschemaker CSC301 Operating System I HW-2 Due: Sept. 30, 2009 Digital drop box 1.  The services and functions provided by an operating system can be divided into two  main categories. Briefly describe the two categories and discuss how they differ. The two categories the services and functions can be divided into are known as  processes and functionality. Processes allow access to memory locations that are  associated with their address spaces. They prevent corrupted files from being  associated with others users.  Functionality is not supported directly by the underlying  hardware.   2. Describe how you could obtain a statistical profile of the amount of time spent by a  program executing different sections of its code. Discuss the importance of obtaining  such a statistical profile. You could obtain a statistical profile of the amount of time by a program executing  different sectionals of a code by issuing a periodic timer that interrupts and monitors  what instructions are being executed when the interrupts are released. Obtaining a  statistical profile is important being that once obtained, a programmer would then  have the ability to optimize the sections of the code that are taking up most of the CPU  resources. 3.  List five services provided by an operating system that are designed to make it more  convenient for users to use the computer system. In what cases it would be impossible for  user-level programs to provide these services? Explain. The five services that are provided by an operating system that are designed to make it 
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

Homework 2 - CSC301 Homework2 CSC301OperatingSystemI HW2...

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

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