Showing posts with label homework. Show all posts
Showing posts with label homework. Show all posts

Monday, January 19, 2015

OS This Week

This week, we will proceed to Chapter 5 "Input/Output." It is expected that we will cover first three sections of the chapter. These sections are your reading assignments.

The student who has not finished the Homework 1 needs to demonstrate that the program works this week (the last chance; no more extension)

  • In addition to the best-fit, the first-fit algorithm is also implemented and correctly working
  • the statistical information is collected and it should reflect the difference of allocation algorithms

We will review the problems of Exercises 8 and 9. Make hard copies of your own work and bring them to the class so that you will understand whether you have solved the problems correctly.

Monday, December 29, 2014

OS HW1 Debug Input Files

Two debug input files (hw1-in-db1 and hw1-in-db2) and the file describing these input files (hw1-debug-input-desc) have been added to the homework directory (home/course/os14f6/HW/). If you have any question, please send email to the instructor. More input files may be added later. If it happens, we will report it on this board.

Thursday, December 18, 2014

OS Homework 1

As discussed in the class this week, the program specifications and deadline of the homework 1 have been changed as follows:

  • d (deallocate) command takes an argument in the debug mode. The argument represents the memory address (in the allocation unit, which is 1KB), and the command deallocates allocated segment whose includes the address (i.e. for the b <= a <= e, where b and e are the beginning and end addresses of the segment and a is the argument given to the d command)
  • Input files for testing in the debug mode will be provided, with information of what items to be tested with each file.
  • The program should be revised according to the above change. The revised program should be demonstrated to the instructor on 1/7 (the first class in 2015). The deadline is extended accoardingly.

Thursday, December 4, 2014

OS Class Schedule

  • As it was announced in the class, there will be no OS class next week due to the business trip of the instructor.
  • December 17 will be the last class of this year. We will cover the rest of Chapter 3 (Section 3.5.4 to the end). We will also proceed to Chapter 4 "File Systems." Since we will have no class next week, please spend some time for reading the rest of Chapter 3 and also Chapter 4. These sections are your reading assignments.
  • Exercise problems on 12/17 should cover Sections 3.4 to the end.
  • As we have discussed, the deadline of the homework 1 is on 12/17. Those who have worked on the homework first demonstrate their programs to the instructor at the beginning of the exercise class at the lab. Then submit their source code (submission instruction will be provided then). Your program should
    • demonstrate that if works as it is expected in the debug mode (i.e.64KB with displaying the memory map after every command)
    • work in the normal mode and show the differences between the allocation algorithms (e.g. first-fit versus best-fit) or the configuration parameters (the free list classification in the quick-fit) in the statistics displayed at the end of the program execution.
    • You will earn up to 5\% extra credit (extra = in addition to the 100% of exams and exercises points) with this homework.

Wednesday, November 26, 2014

OS Homework 1

A homework problem has been posted at the Exercise page . This is an extra credit assignment. Please work on this problem until next week and show the (intermediate) result to the instructor at the class. The problem specification may be updated for clarification or correction. If you have question (before the class next week), please write email to the instructor.

Friday, November 8, 2013

OS Homework 1

It seemed that some students needed more time to solve the problems in Exercise 4. You can work on them as a homework.

  • Write your answers in a pdf file "hw1.pdf" .
  • Use the submission script hw-submission in the course directory. (Use hw-test for checking as you did with ex-test).
  • The submission deadline is Nov 13, 0859.
  • If the same problems are in both ex5.pdf and hw1.pdf, we will grade the answers in hw1.pdf.

Thursday, October 11, 2012

OS Homework

For those who could not answer well enough on the Exercise problem this week, you can work on the same problems as homework. Please use the submission scripts hw1-submission and hw1-test as well as the template file hw1-tmpl.txt in the course directory. The deadline is by the end of Monday (10/15).

Tuesday, January 26, 2010

OS Homework 2 posted

The problem for Homework 2 has been posted at the Exercise Page . The submission deadline is February 2, at 12 noon.

Friday, December 18, 2009

Homework for OS students

Homework problems, which have to be turned in at the beginning of the first class next year have been posted at the Exercise Page .