CSCI 340 - Operating Systems

Lab and Homework Assignments


******************************************************************************
** WEEK 15 ********************************************************************
******************************************************************************
Take Quiz 8 before 11pm Sunday, May 18th.
Submit Final Lab (Chat2) before midnight Sunday.

******************************************************************************
** WEEK 13 ********************************************************************
******************************************************************************

Exercises 7: 1,2,4,5,6,7,8,11/12. Due Wed.May7th.

See P7 lab specs
Exercises 6b: 5,6,9,10,15,24. Due Wed.29th.


******************************************************************************
** WEEK 11 ********************************************************************
******************************************************************************

P2 *will NOT be collected*

P7 will be our last programming assignment, and will likely involve sockets.
It will be posted next week.

NO assignment for this week/weekend, other than to complete P6 by Saturday (19th).


******************************************************************************
** WEEK 10 ********************************************************************
******************************************************************************

Chapter 6a - Exercises (1,2,3,4,7,8) hardcopy in class Wed., Apr.16th

P6 - Matrix Multiplication using Threads (p.149)
due by MIDNIGHT Saturday, April 19th
BEYOND AUTHOR'S SPECS:
======================
1) Your program must READ DIMENSIONS and VALUES from file: "input.dat"
2) File will consist of FIVE LINES, each line starting with a TAG and
each line ending with the conventional end-of-line character ('\n')
a)The TAGS are from the set {M,N,K,A,B}
b)You may assume that M,N,K lines come before A or B, but otherwise in no particular order. c)The file tokens are SPACE DELIMITED
d)The A and B matrix values are provided in ROW-MAJOR Order
3) The OUTPUT MATRIX ('C') should be written to file: "output.dat"
, in ROW-MAJOR Order, starting with Row1 at top of file.
4) AS ALWAYS --- include sufficient documentation, makefile, readme,
and remember to check file permissions.



******************************************************************************
** WEEK 7 ********************************************************************
******************************************************************************

Chapter 5 - Exercises (1,2,4,5,6,7,9,13) hardcopy in class Mon., Mar.24th
(5.2 - provide detailed scenarios;
5.4 - 4 gant charts & 2 tables of results;
5.9 - consider the set of algorithms to be {FCFS,SJF,LIFO,RR,Priority), in part b, replce '<'s with '>'s

REMINDERS: P5 is due by MIDNIGHT Friday, March 14th
MIDTERM is on Wednesday, March 26th (1hr50min)


******************************************************************************
** WEEK 6 ********************************************************************
******************************************************************************

Chapter 4 - Exercises (1,2,3,4,5,6,7) hardcopy in class Mon., Mar.10th


** P4 LAB ** - Exercises (#4.9, using Pthreads) electronic, with readme, Mon.10am
(work independently on this one)

** P5 LAB ** - SHELL & HISTORY PROJECT from Ch.3
Friday, March 14th, midnight - electronic; source, readme, makefile
(you are required to work in pairs, but you must each submit your
own solution. the solutions may vary depending on the level of collaboration).


******************************************************************************
** WEEK 5 ********************************************************************
******************************************************************************

Chapter 3 - Exercises (1,2,3,4,8) hardcopy in class Wed.,Feb.27th

** P3 LAB ** - Exercises (#3.6, #3.10) electronic, with readme, Fri.,Feb.29th

** P2 LAB ** - Project from Chapter2 (linux kernel enhancement), duedate TBA
   * turnin e-copy of: syscall and application source code, readme,
     and scriptfile demonstrating (a) the logfile PRE-application call,
     invocation of application, and (c) logfile POST app.call.
   * be prepared to demonstrate in class ... TBA


******************************************************************************
** WEEK 4 ********************************************************************
******************************************************************************

QUIZ1 & QUIZ2 - chapters 1,2 - due on WileyPlus - 11pm Friday, Feb.22nd

** P1 LAB ** - Exercise 2.18 electronic, with readme and trace file, Fri.,Feb.22nd

Chapter 2 - Exercises (1,2,3,5,6,7,8,9,12) hardcopy in class Mon.,Feb.20th


******************************************************************************
** WEEK 3 ********************************************************************
******************************************************************************

Chapter 1 - Exercises (2,3,5,6,10,11,13) hardcopy in class Feb.6th

** AND ** Exercises (1,4,7,9,14,15,16,17,18)

*****************************************************************************

If you have comments or suggestions, email me at renner@ecst.csuchico.edu