Assignment-1

Assignment-1 - CSCI 5103(Fall 2010 Assignment 1 Part A 100...

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

View Full Document Right Arrow Icon
CSCI 5103 (Fall 2010) Assignment 1 Part A ( 100 points) Due September 15, 2010 This part of the assignment must be done individually . Problem 1 (20 points): Which of the following instructions should be allowed only in the privileged (kernel) mode? a) Disable all interrupts. b) Read the time-of-the-day clock. c) Set the time-of-the day clock. d) Change the base-bound register values e) Set a timer. f) Turn off timer interrupt. g) Read from kernel memory. h) Write to kernel memory. i) Fetch an instruction from kernel memory j) Switch from user to monitor mode. Problem 2 (15 points): What are the key differences between traps, system calls, exceptions, and interrupts? Problem 3 (15 points): What is the difference between hyperthreading and multi-core CPUs? Problem 4 (15 points): Clearly identify the differences between the following variations of the exec function: execl, execv, execle, execve, execlp, execvp. What happens in case of execlp and execvp if the specified file in the first argument is not an executable file? Problem 5 (15 points): What is the primary use of the “mount” mechanism provided by file systems? Problem 6 (20 points): Identify at least three hardware level mechanisms that are necessary to protect an operating system kernel from malicious or erroneous user programs.
Background image of page 1

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

View Full DocumentRight Arrow Icon
CSCI 5103 -- Fall 2010 Assignment 1 -- Part B (100 points) Due September 22, 2010 This part of the assignment can be done individually or in a group of at most 2 students . Objective:
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 03/06/2012 for the course CSCI 5103 taught by Professor Staff during the Fall '08 term at Minnesota.

Page1 / 4

Assignment-1 - CSCI 5103(Fall 2010 Assignment 1 Part A 100...

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