mid1-2007 - King Saud University College of Computers...

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

View Full Document Right Arrow Icon
Page 1 of 3 King Saud University College of Computers sciences and Information Information Technology Department Midterm#1 (1 st semester 1428h/1429h) CAP 332 Student name : ………………………. . Section number :……………………. Student ID : ………………………. . Serial number : ……………………. Q1: List three ways in which execution can switch from user space to kernel space (i.e., three ways in which an OS kernel can get back the CPU from a user processes ). ( 1.5 points ) trap interrupts system calls Q2: Describe three general methods for passing parameters to the operating system . ( 1.5 points ) registers blocks stacks In which state is the . or Waiting , Ready , Running : Processes can be in one of three states : 3 Q process (or thread) for each of the following four cases? ( 2 points ) waiting (i) Waiting for data to be read from a disk. waiting (ii) Waiting for a lock to be released.
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.

This note was uploaded on 12/31/2010 for the course CAP 332 taught by Professor Ala during the Spring '10 term at 한국외국어대학교.

Page1 / 3

mid1-2007 - King Saud University College of Computers...

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