⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cmps 111 homework #1.htm

📁 operating system concepts sixth edition windows XP updat 操作系统课后答案
💻 HTM
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0055)http://www.cs.ucsc.edu/%7Eelm/Classes/111/w03/hw1.shtml -->
<HTML><HEAD><TITLE>CMPS 111: Homework #1</TITLE>
<META http-equiv=content-type content=text/html;charset=iso-8859-1>
<META content="Ethan L. Miller" name=Author>
<META content="MSHTML 6.00.2900.2627" name=GENERATOR></HEAD>
<BODY bgColor=white>
<TABLE cellSpacing=0 cellPadding=2 width=640 border=0>
  <TBODY>
  <TR align=middle>
    <TD align=right bgColor=#ffff66><FONT size=-1><A 
      href="http://www.cs.ucsc.edu/" target=other>Computer Science Dept.</A> 
      <STRONG>|</STRONG> <A href="http://www.soe.ucsc.edu/" target=other>School 
      of Engineering</A> <STRONG>|</STRONG> <A href="http://www.ucsc.edu/" 
      target=other>UC Santa Cruz</A> </FONT></TD></TR>
  <TR align=middle>
    <TD borderColor=#ffffff align=middle bgColor=#ffffcc><FONT size=4><A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/index.shtml" 
      target=_top>Home</A> | <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/syllabus.shtml" 
      target=_top>Syllabus</A> | <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/schedule.shtml" 
      target=_top>Schedule</A> | <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/grades.shtml" 
      target=_top>Grades</A> | <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/feedback.shtml" 
      target=_top>Feedback<BR></A><A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/homework.shtml"><FONT 
      size=3>Homework</FONT></A><FONT size=3>: <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/hw1.shtml">1</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/hw2.shtml">2</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/hw3.shtml">3</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/hw4.shtml">4</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/hw5.shtml">5</A> | <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/projects.shtml">Projects</A>:</FONT></FONT><FONT 
      size=3> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/proj1.shtml">1</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/proj2.shtml">2</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/proj3.shtml">3</A> <A 
      href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/proj4.shtml">4</A>&nbsp;</FONT><FONT 
      size=4>&nbsp; </FONT></TD></TR>
  <TR>
    <TD align=middle>
      <H2>CMPS 111: Introduction to Operating Systems (Winter 
  2003)</H2></TD></TR></TBODY></TABLE>
<H2 align=center>Homework #1</H2>
<P align=left><B>Assigned:</B> 9 January<BR><B>Due:</B> 16 January at 8 AM. Late 
homeworks will not be accepted.</P>
<P>Please read this <A 
href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/homework.shtml#submit">information</A> 
on how to submit homework online. Hard copy of homework will not be 
accepted.</P>
<P>All work on this homework must be your own. Please read (and follow!) the <A 
href="http://www.cs.ucsc.edu/~elm/Classes/111/w03/syllabus.shtml#honesty">academic 
honesty policy</A> for this class.</P>
<OL>
  <LI>What are the two main functions of an operating system? 
  <LI>On early computers, each word of data transferred to or from a device was 
  directly handled by the CPU (<I>i.e.</I>, no DMA). What implications (if any) 
  does this have for multiprogramming? 
  <LI>The basic Intel x86 design was set in the mid 1980's (if not earlier). Why 
  are we still using this design nearly two decades later? 
  <LI>List some differences between personal computer operating systems and 
  mainframe operating systems. Is this difference disappearing? 
  <LI>Which of the following operations should be allowed only in kernel mode? 
  Explain your decision for each one briefly. 
  <OL type=a>
    <LI>Disable all interrupts 
    <LI>Cause a trap 
    <LI>Read the time-of-day clock 
    <LI>Set the time-of-day clock 
    <LI>Read the memory map for the current process </LI></OL>
  <LI>For each of the following system calls, give a condition that causes it to 
  fail: 
  <OL type=a>
    <LI>wait() [ also known as waitpid()] 
    <LI>exec() 
    <LI>unlink() 
    <LI>write() </LI></OL>
  <LI>To a programmer, a system call looks like any other call to a library 
  procedure. Is it important that a programmer know which library procedures 
  result in system calls? Under what circumstances, and why? </LI></OL>
<HR align=left width=640>

<ADDRESS>Last updated 9 Jan 2003 by <A href="http://www.cs.ucsc.edu/~elm/" 
target=_blank>Ethan L. Miller</A> (elm at cs xxx ucsc xxx edu [replace xxx with 
".") </ADDRESS></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -